安裝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的包
============================================================
新建工程和配置