Fix OS X's version detecting
authororangeudav <orangeudav@gmail.com>
Sun, 25 May 2014 21:36:59 +0000 (01:36 +0400)
committerorangeudav <orangeudav@gmail.com>
Sun, 25 May 2014 21:36:59 +0000 (01:36 +0400)
stlinkv1_macosx_driver/README

index adf3cca870f42918d4cec9bf0f1bc724fad32e40..7b47f410fd3866aa68a3fd93c599ef1fd022fb79 100644 (file)
@@ -22,4 +22,11 @@ tar xzvf osx.tar.gz
 Then, install the driver using:
 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:
+```
+< ISOSXLION=$(sw_vers -productVersion)
+---
+> ISOSXLION=$(sw_vers -productVersion | sed -e 's:.[[:digit:]]*$::')
+```