Code Monkey home page Code Monkey logo

stutils's People

Contributors

ldandersen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stutils's Issues

Cocoapods integration

Nice profile picture Mr. Neo :)

Thanks for open sourcing the wonderful suite of tools STUtils. Could you do the community one more favor by adding a Podspec file to your repo so that it can be integrated into Cocoapods? Currently integrating STUtils into projects is messy because we have to clone and add the sources in manually and there is the risk of missing future updates.

Cocoapods solves all this in a really easy way.

Compilation errors

Apart from what @florentmorin already fixed in his pull request, I still get the following errors during compilation:

  1. No known class method for selector 'tableCellEditableTextColor'
  2. Implicit declaration of function 'STLocalizedString' is invalid in C99
  3. No visible @interface for 'NSString' declares the selector 'isEmailAddress'
  4. Use of undeclared identifier 'STDefaultNavBarHeight'

I also couldn't find where these are defined. Doing a grep -rn "tableCellEditableTextColor" * returns only the line where it's used. The same applies to others.

Please, would you mind checking if you didn't miss a file during your commits?

FWIW, I generally enable some compiler warnings, and it revealed some warnings regarding implicit conversions and signedness comparisons. If you're willing to take a look, I can push my changes and send you a pull request.
I also introduced some macros to make ARC projects import your code and build seamlessly.

Thank you.

Get this ARC enabled?

I know it's easy to set the files in the Build Phase to not use ARC, but are there any plans to make this ARC enabled in the future?

Thanks,
Mike

Problem with connect more than one usb device

Hi,

I have a problem with connect with more than one usb device, could you help?

$ lsusb |grep ST-LINK
Bus 002 Device 111: ID 0483:3748 SGS Thomson Microelectronics ST-LINK/V2
Bus 002 Device 112: ID 0483:3748 SGS Thomson Microelectronics ST-LINK/V2
$ ls -l /dev/ |grep usb
lrwxrwxrwx 1 root root 15 Oct 2 16:05 stlinkv2_1 -> bus/usb/002/111
lrwxrwxrwx 1 root root 15 Oct 2 16:07 stlinkv2_2 -> bus/usb/002/112
crw------- 1 root root 252, 0 Oct 1 16:36 usbmon0
crw------- 1 root root 252, 1 Oct 1 16:36 usbmon1
crw------- 1 root root 252, 2 Oct 1 16:36 usbmon2

Then I try to start st-utils:

$./st-util -d /dev/stlinkv2_1
2012-10-02T16:14:24 INFO src/stlink-common.c: Loading device parameters....
2012-10-02T16:14:24 INFO src/stlink-common.c: Device connected is: F2 device, id 0x20016411
2012-10-02T16:14:24 INFO src/stlink-common.c: SRAM size: 0x20000 bytes (128 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 131072 bytes
Chip ID is 00000411, Core ID is 2ba01477.
KARL - should read back as 0x03, not 60 02 00 00
init watchpoints
Listening at *:4242...
^C
$ ./st-util -d /dev/stlinkv2_2
2012-10-02T16:14:33 INFO src/stlink-common.c: Loading device parameters....
2012-10-02T16:14:33 INFO src/stlink-common.c: Device connected is: F2 device, id 0x20016411
2012-10-02T16:14:33 INFO src/stlink-common.c: SRAM size: 0x20000 bytes (128 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 131072 bytes
Chip ID is 00000411, Core ID is 2ba01477.
KARL - should read back as 0x03, not 60 02 00 00
init watchpoints
Listening at *:4242...
^C

They just try to connect the same device, it seems the device option doesn't work.

BRs
//Aaron Sun.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.