From: Nikolay Date: Fri, 8 Apr 2016 00:16:59 +0000 (+0300) Subject: renaming the README file to README.md X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=438eafffd51bc90ec433a95db8edfdd2be137e0d;p=fw%2Fstlink renaming the README file to README.md --- diff --git a/stlinkv1_macosx_driver/README b/stlinkv1_macosx_driver/README deleted file mode 100644 index b789d24..0000000 --- a/stlinkv1_macosx_driver/README +++ /dev/null @@ -1,46 +0,0 @@ -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: -```bash -tar xzvf osx.tar.gz -``` - -Then, install the driver using: -```bash -sudo make osx_stlink_shield -``` - -no reboot required. - -P.S. If error `OS X version not supported` occurs. For the latest versions of Mac OS X you may need to change the `osx/install.sh` as follows: -```bash -< ISOSXLION=$(sw_vers -productVersion) ---- -> ISOSXLION=$(sw_vers -productVersion | sed -e 's:.[[:digit:]]*$::') -``` - -FOR OS X 10.10 Yosemite you must force the system to load unsigned kernelextensions - -```bash -sudo nvram boot-args="kext-dev-mode=1“ -``` - -reboot the system! - -(Update from another user) FOR OS X 10.11 El Capitan: the Yosemite kext works for my 10.11.4. diff --git a/stlinkv1_macosx_driver/README.md b/stlinkv1_macosx_driver/README.md new file mode 100644 index 0000000..b789d24 --- /dev/null +++ b/stlinkv1_macosx_driver/README.md @@ -0,0 +1,46 @@ +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: +```bash +tar xzvf osx.tar.gz +``` + +Then, install the driver using: +```bash +sudo make osx_stlink_shield +``` + +no reboot required. + +P.S. If error `OS X version not supported` occurs. For the latest versions of Mac OS X you may need to change the `osx/install.sh` as follows: +```bash +< ISOSXLION=$(sw_vers -productVersion) +--- +> ISOSXLION=$(sw_vers -productVersion | sed -e 's:.[[:digit:]]*$::') +``` + +FOR OS X 10.10 Yosemite you must force the system to load unsigned kernelextensions + +```bash +sudo nvram boot-args="kext-dev-mode=1“ +``` + +reboot the system! + +(Update from another user) FOR OS X 10.11 El Capitan: the Yosemite kext works for my 10.11.4.