概述
目前主流的STM32開發(fā)環(huán)境是ARM公司的KEIL軟件,由于KEIL對于STM32大部分型號是收費的写隶,使用需要破解衣式,存在版權(quán)問題。并且使用KEIL編譯大型工程渤愁,編譯太慢牵祟,編譯耗時長。因此本系列博客使用的開發(fā)環(huán)境將全部使用免費的軟件工具抖格。
軟件工具
本系列博客將使用以下軟件工具進行開發(fā):
- STM32CubeIDE --- 建立工程诺苹、代碼編輯、編譯他挎、調(diào)試筝尾、下載
- STM32CubeProg --- 單獨的下載程序
- Git Bash / TortoiseGit --- 版本控制工具
備注:其中 TortoiseGit 工具沒有桌面圖標,它是基于右鍵菜單的工具办桨。
軟件下載鏈接:
- 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 - Git Bash:
https://git-scm.com - TortoiseGit:
https://tortoisegit.org
硬件平臺
本系列博客使用到硬件平臺為:
- STM32F030C8 卡片開發(fā)板
原理圖:https://gitee.com/maziot-stm32/schematic/tree/master/maziot-c1
- ST-LINK/V2
SDK 軟件包
本系列博客使用 ST 官方提供的 STM32CubeF0 軟件包上進行二次開發(fā)筹淫。
下載鏈接:
參考文檔
- 《零死角玩轉(zhuǎn)STM32—F103指南者》
- 《Cortex M3 權(quán)威指南》
代碼開源組織
敏捷開發(fā)
組織名: maziot-stm32
鏈接: https://gitee.com/maziot-stm32
測試代碼
組織名: maziot-stm32-test
鏈接: https://gitee.com/maziot-stm32-test