概述
目前主流的STM32開(kāi)發(fā)環(huán)境是ARM公司的KEIL軟件, 由于KEIL對(duì)于STM32大部分型號(hào)是收費(fèi)的, 使用需要破解, 存在版權(quán)問(wèn)題. 并且使用KEIL編譯大型工程, 編譯太慢了, 編譯耗時(shí)長(zhǎng). 因此本系列博客使用的開(kāi)發(fā)環(huán)境將全部使用免費(fèi)的軟件工具.
軟件工具
本系列博客將使用以下軟件工具進(jìn)行開(kāi)發(fā):
- STM32CubeIDE 1.2.0 --- 建立工程、代碼編輯、編譯、調(diào)試
- STM32CubeProg / CoFlash --- 下載程序
- Git Bash / TortoiseGit / GitHub Desktop --- 版本控制工具
備注: 其中 TortoiseGit 工具沒(méi)有桌面圖標(biāo), 它是基于右鍵菜單的工具.

開(kāi)發(fā)工具
軟件下載鏈接:
- STM32CubeIDE:
https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/stm32cubeide.html - STM32CubeProg:
https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog.html - CoFlash:
官網(wǎng) http://www.coocox.org/ 掛了, 請(qǐng)另行在第三方站點(diǎn)下載. - Git Bash:
https://git-scm.com/ - TortoiseGit:
https://tortoisegit.org - GitHub Desktop:
https://desktop.github.com/
硬件平臺(tái)
本系列博客使用到硬件平臺(tái)為:
- STM32F103RCT6 最小系統(tǒng)板
F103RC 原理圖: https://github.com/maziot-stm32/STM32F103RC.Resource

F103
- ST-LINK/V2

stlink
SDK 軟件包
本系列博客使用 ST 官方提供的 STM32CubeF1 軟件包上進(jìn)行二次開(kāi)發(fā).

STM32CubeF1
下載鏈接:
參考文檔
- 《FreeRTOS 內(nèi)核實(shí)現(xiàn)與應(yīng)用開(kāi)發(fā)實(shí)戰(zhàn)—基于STM32》
- 《零死角玩轉(zhuǎn)STM32—F103指南者》
- 《Cortex M3 權(quán)威指南》
代碼開(kāi)源組織
組織名: maziot-stm32
鏈接: https://github.com/maziot-stm32