1. 基于STM32CubeIDE搭建开发环境 --- 概述

概述

目前主流的STM32开发环境是ARM公司的KEIL软件, 由于KEIL对于STM32大部分型号是收费的, 使用需要破解, 存在版权问题. 并且使用KEIL编译大型工程, 编译太慢了, 编译耗时长. 因此本系列博客使用的开发环境将全部使用免费的软件工具.

软件工具

本系列博客将使用以下软件工具进行开发:

  1. STM32CubeIDE 1.2.0 --- 建立工程、代码编辑、编译、调试
  2. STM32CubeProg / CoFlash --- 下载程序
  3. Git Bash / TortoiseGit / GitHub Desktop --- 版本控制工具

备注: 其中 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
  • CoFlash:
    官网 http://www.coocox.org/ 挂了, 请另行在第三方站点下载.
  • Git Bash:
    https://git-scm.com/
  • TortoiseGit:
    https://tortoisegit.org
  • GitHub Desktop:
    https://desktop.github.com/

硬件平台

本系列博客使用到硬件平台为:

  1. STM32F103RCT6 最小系统板
    F103RC 原理图: https://github.com/maziot-stm32/STM32F103RC.Resource
F103
  1. ST-LINK/V2
stlink

SDK 软件包

本系列博客使用 ST 官方提供的 STM32CubeF1 软件包上进行二次开发.

STM32CubeF1

下载链接:

https://www.stmicroelectronics.com.cn/content/st_com/zh/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubef1.html

参考文档

  1. 《FreeRTOS 内核实现与应用开发实战—基于STM32》
  2. 《零死角玩转STM32—F103指南者》
  3. 《Cortex M3 权威指南》

代码开源组织

组织名: maziot-stm32
链接: https://github.com/maziot-stm32

你可能感兴趣的:(1. 基于STM32CubeIDE搭建开发环境 --- 概述)