Beautify + El Capitan confirmation
[fw/stlink] / stlinkv1_macosx_driver / README
index adf3cca870f42918d4cec9bf0f1bc724fad32e40..b789d243a69007d6d14576a9fbb3e3f2131d1ac1 100644 (file)
@@ -17,9 +17,30 @@ Attached to this mail you'll find the osx folder with the source code of the dri
 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.
\ No newline at end of file
+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.