安装st-link
出自 http://macappstore.org/stlink/
About the App
- App name: stlink
- App description: stm32 discovery line Linux programmer
- App website: https://github.com/texane/stlink
Install the App
- Press
Command+Space
and type Terminal and press enter/return key. - Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac\'s user password to continue. When you type the password, it won\'t be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish. - Run:
brew install stlink
Done! You can now use stlink
.
----------------------------------------
----------------------------------------
也就是说brew可以直接安装 fine!
我的发开环境:
ALIENTEK 阿波罗 STM32F429 开发板
macbook pro :macos mojave
ST-LINK/V2
---------------------------------------