kopia lustrzana https://github.com/stlink-org/stlink
3c6d6293dd
The diff was as easy as adding a new select option for 10.9 version in install.sh, and a little patch fixing com.apple.kpi.libkern version string. Don't forget to install latest libusb, i.e. libusbx in homebrew! |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
osx.tar.gz |
README
from: marco.cassinerio@gmail.com to: texane@gmail.com Hi, i managed to get the stlink v1 working under os x and i would like to share the solution so maybe you can add it in your package. The problem is that os x claims the device as scsi and libusb won't be able to connect to it. I've created what is called a codeless driver which claims the device and has a higher priority then the default apple mass storage driver, so the device can be accessed through libusb. I tested this codeless driver under OS X 10.6.8 and 10.7.2. I assume it works with any 10.6.x and 10.7.x version as well. Attached to this mail you'll find the osx folder with the source code of the driver, both drivers (for 10.6.x and 10.7.x), an install.sh script and the modified Makefile, i only added a line at the end which invoke the install.sh. First, unpack the osx.tar.gz contents: tar xzvf osx.tar.gz Then, install the driver using: sudo make osx_stlink_shield no reboot required.