stlink: [macOS] ST-Link-v1 driver issues / libusb problems
Unable to build driver on macOS Sierra 10.12.3
Output:
OS X version not supported.
make: *** [osx_stlink_shield] Error 1
Expected/description:
Tried building with Yosemite and El Capitan configurations as in driver readme, none seem to work.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 23 (9 by maintainers)
Commits related to this issue
- [doc] macOS ST-Link-v1 detection Added documentation on how to solve a failed detection of the ST-Link-v1 programmer in macOS v10.11 and later. (Closes #574, #587) — committed to stlink-org/stlink by Nightwalker-87 4 years ago
- [doc] macOS ST-Link-v1 detection Added documentation on how to solve a failed detection of the ST-Link-v1 programmer in macOS v10.11 and later. (Closes #574, #587) — committed to grevaillot/stlink by Nightwalker-87 4 years ago
I’m seems OK with OS X 10.13.6.
I’ve done
csrutil disablein recovery mode, booted back to normal.I took 10.10 kext and moved it to
/System/Library/Extensions.When I load it I see everything’s okay:
$ sudo kextload -v /System/Library/Extensions/stlink_shield10_10.kextAnd then
$ sudo touch /System/Library/ExtensionsAnd then got this below (you must rebuild
st-linkyourself, my build version is1.4.0-47-gae717b9):$ ./build/Release/src/gdbserver/st-util -1some extra tests:
$ ./build/Release/st-flash write XXX.bin 0x8000000and my st-link is v1:
$ lsusbHi @amok its not a problem to discus here which probably could cause the problem.