安装st-link
出自 http://macappstore.org/stlink/
About the App
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
.html
----------------------------------------git
----------------------------------------github
也就是说brew能够直接安装 fine!web
个人发开环境:macos
ALIENTEK 阿波罗 STM32F429 开发板ruby
macbook pro :macos mojaveapp
ST-LINK/V2curl
---------------------------------------工具
成功
解压到/usr/local/ 添加环境变量 /usr/local/arm/gcc-arm-none-eabi-5_4-2016q3/bin
测试编译工具链-->
安装vsCode
https://code.visualstudio.com/
安装stm32Cube
https://my.st.com/content/my_st_com/zh/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages.html?querycriteria=productId=LN1897
个人是stmf4的就下载f4的包
============================================================
新建工程和配置