rt-thread-official/bsp/stm32
liYangYang 1eec660b12
[spi]添加rt_spi_bus_attach_device_cspin 函数 (#6916)
这个函数实现了原先的挂载功能,并且调用pin框架,初始化cs引脚,是一个功能相对完善的挂载函数。用户也能更简单的使用。
该函数取代rt_spi_bus_attach_device,后续rt_spi_bus_attach_device会被逐渐淘汰掉。新的BSP以及软件包应当使用rt_spi_bus_attach_device_cspin新函数。

STM32L475潘多拉测试通过。
2023-02-11 22:14:54 -05:00
..
docs update documentation (#5674) 2022-03-14 21:18:14 +08:00
libraries [spi]添加rt_spi_bus_attach_device_cspin 函数 (#6916) 2023-02-11 22:14:54 -05:00
stm32f072-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f091-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-100ask-mini modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-100ask-pro [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f103-atk-nano [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f103-atk-warshipv3 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-blue-pill modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-dofly-M3S [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f103-dofly-lyc8 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-fire-arbitrary [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f103-gizwits-gokitv21 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-hw100k-ibox [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f103-onenet-nbiot modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-yf-ufun modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f103-ys-f1pro modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f107-uc-eval modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f207-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f302-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f401-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f405-smdz-breadfruit modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f407-armfly-v5 [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f407-atk-explorer rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
stm32f407-robomaster-c modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f407-st-discovery modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f410-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f411-atk-nano [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f411-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f411-weact-blackpill modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f412-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f413-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f427-robomaster-a modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f429-armfly-v6 [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f429-atk-apollo [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f429-fire-challenger [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32f429-st-disco modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f446-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f469-st-disco [stm32][qspi] qspi attach 函数问题解决方案 (#6867) 2023-01-18 22:04:45 -05:00
stm32f746-st-disco [stm32][qspi] qspi attach 函数问题解决方案 (#6867) 2023-01-18 22:04:45 -05:00
stm32f746-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f767-atk-apollo [stm32][qspi] qspi attach 函数问题解决方案 (#6867) 2023-01-18 22:04:45 -05:00
stm32f767-fire-challenger-v1 [stm32][qspi] qspi attach 函数问题解决方案 (#6867) 2023-01-18 22:04:45 -05:00
stm32f767-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32f769-st-disco modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32g070-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32g071-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32g431-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32g474-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32h743-armfly-v7 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32h743-atk-apollo rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
stm32h743-openmv-h7plus rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
stm32h743-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32h747-st-discovery modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32h750-armfly-h7-tool modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32h750-artpi rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
stm32h750-weact-ministm32h7xx [stm32][qspi] qspi attach 函数问题解决方案 (#6867) 2023-01-18 22:04:45 -05:00
stm32l4r5-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l4r9-st-eval modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l4r9-st-sensortile-box modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l010-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l053-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l412-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l431-BearPi [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32l432-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l433-ali-startkit modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l433-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l452-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l475-atk-pandora [stm32][qspi] qspi attach 函数问题解决方案 (#6867) 2023-01-18 22:04:45 -05:00
stm32l475-st-discovery modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l476-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l496-ali-developer [stm32][spi] spi attach函数问题解决方案 (#6864) 2023-01-18 00:27:08 -05:00
stm32l496-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32l552-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32mp157a-st-discovery rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
stm32mp157a-st-ev1 rt_device_write/read return data type as rt_ssize_t 2023-02-07 21:43:57 -05:00
stm32u575-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32wb55-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32wl55-st-nucleo modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
stm32wle5-yizhilian-lm401 [bsp/stm32wle5-yizhilian-lm401]修复scons --dist缺失大量文件 2023-01-17 21:32:43 -05:00
stm32wle5-yizhilian-lm402 [bsp/stm32wle5-yizhilian-lm402]修复scons --dist缺失大量文件 2023-01-17 21:32:43 -05:00
tools [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -05:00
README.md [bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068) 2022-06-14 14:17:22 +08:00

README.md

STM32 BSP 说明

STM32 系列 BSP 目前支持情况如下表所示:

BSP 文件夹名称 开发板名称
F0 系列
stm32f072-st-nucleo ST 官方 STM32F072-nucleo 开发板
stm32f091-st-nucleo ST 官方 STM32F091-nucleo 开发板
F1 系列
stm32f103-100ask-mini 百问网F103 Mini开发板
stm32f103-100ask-pro 百问网F103 Pro开发板
stm32f103-atk-nano 正点原子 F103 NANO 开发板
stm32f103-atk-warshipv3 正点原子 F103 战舰V3 开发板
stm32f103-blue-pill STM32F103C8T6蓝色最小系统板
stm32f103-dofly-lyc8 德飞莱 STM32F103 开发板
stm32f103-dofly-M3S 德飞莱 STM32F103 开发板
stm32f103-fire-arbitrary 野火 F103 霸道开发板
stm32f103-gizwits-gokitv21 GoKit V2.1开发板
stm32f103-hw100k-ibox 硬件十万个为什么 STM32F103 iBox 开发板
stm32f103-onenet-nbiot STM32F103 OneNET NB-IoT 开发板
stm32f103-yf-ufun STM32F103 yf-ufun 开发板
stm32f107-uc-eval uC/Eval STM32F107 评估板(中国版)
F2 系列
stm32f207-st-nucleo ST 官方 STM32F207-nucleo 开发板
F4 系列
stm32f401-st-nucleo ST 官方 STM32F401 Nucleo-64 开发板
stm32f405-smdz-breadfruit 三木电子 SM1432F405 开发板
stm32f407-atk-explorer 正点原子 F407 探索者开发板
stm32f407-robomaster-c 大疆公司 RoboMaster C型开发板
stm32f407-st-discovery ST 官方 STM32F407-discovery 开发板
stm32f410-st-nucleo ST 官方 STM32F410-Nucleo-64 开发板
stm32f411-atk-nano 正点原子 F411 NANO 开发板
stm32f411-st-nucleo ST 官方 STM32F411-Nucleo-64 开发板
stm32f411-weact-MiniF4 F401/F411最小系统开发板Black Pill
stm32f412-st-nucleo ST 官方 STM32F412-Nucleo-144 开发板
stm32f413-st-nucleo ST 官方 STM32F413-Nucleo-144 开发板
stm32f427-robomaster-a 大疆公司 RoboMaster A型开发板
stm32f429-armfly-v6 安富莱 F429-v6 开发板
stm32f429-atk-apollo 正点原子 F429 阿波罗开发板
stm32f429-fire-challenger 野火 F429 挑战者开发板
stm32f429-st-disco ST 官方 STM32F429-discovery 开发板
stm32f446-st-nucleo ST 官方 STM32F446-nucleo 开发板
stm32f469-st-disco ST 官方 STM32F469-discovery 开发板
F7 系列
stm32f746-st-disco ST 官方 STM32F746-discovery 开发板
stm32f767-atk-apollo 正点原子 F767 阿波罗开发板
stm32f767-fire-challenger-v1 野火 F767-V1 挑战者开发板
stm32f767-st-nucleo ST 官方 STM32F767-nucleo 开发板
stm32f769-st-disco ST 官方 STM32f769-discovery 开发板
G0 系列
stm32g070-st-nucleo ST 官方 STM32G070-nucleo 开发板
stm32g071-st-nucleo ST 官方 STM32G071-nucleo 开发板
G4 系列
stm32g431-st-nucleo ST 官方 STM32G431-nucleo 开发板
H7 系列
stm32h743-atk-apollo 正点原子 h743 阿波罗开发板
stm32h743-st-nucleo ST 官方 STM32H743-nucleo 开发板
stm32h747-st-discovery ST 官方 STM32H747I-discovery 开发板
stm32h750-armfly-h7-tool 安富莱 STM32H750 Tool 开发板
L0 系列
stm32l010-st-nucleo ST 官方 STM32L010-nucleo 开发板
stm32l053-st-nucleo ST 官方 STM32L053-nucleo 开发板
L4 系列
stm32l4r5-st-nucleo ST 官方 STM32L4R5-Nucleo 开发板
stm32l4r9-st-eval ST 官方 STM32L4R9I-EVAL 开发板
stm32l412-st-nucleo ST 官方 STM32L412-Nucleo 开发板
stm32l431-BearPi STM32L431 小熊派 开发板
stm32l432-st-nucleo ST 官方 STM32L432-Nucleo 开发板
stm32l433-st-nucleo ST 官方 STM32L433-Nucleo 开发板
stm32l452-st-nucleo ST 官方 STM32L452-Nucleo 开发板
stm32l475-atk-pandora 正点原子 L475 潘多拉 IoT 开发板
stm32l475-st-discovery ST 官方 stm32l475-discovery 开发板
stm32l476-st-nucleo ST 官方 STM32L476-Nucleo 开发板
stm32l433-ali-startkit 诺行 STM32L433 Ali Start Kit 开发板
stm32l496-ali-developer 诺行 STM32L496 Ali Developer Kit 开发板
stm32l496-st-nucleo ST 官方 STM32L496-Nucleo 开发板
L5 系列
stm32l552-st-nucleo ST 官方 STM32L552-Nucleo 开发板
U5 系列
stm32u575-st-nucleo ST 官方 STM32U575ZI-Nucleo 开发板
MP1 系列
stm32mp157a-st-discovery ST 官方 STM32MP157A-DK1 开发板
stm32mp157a-st-ev1 ST 官方 STM32MP157A-EV1 开发板
WB 系列
stm32wb55-st-nucleo ST 官方 STM32WB55-Nucleo 开发板
stm32wl55-st-nucleo ST 官方 STM32WL55-Nucleo 开发板

可以通过阅读相应 BSP 下的 README 来快速上手,如果想要使用 BSP 更多功能可参考 docs 文件夹下提供的说明文档,如下表所示:

BSP 使用教程 简介
外设驱动使用教程 讲解 BSP 上更多外设驱动的使用方法
外设驱动介绍与应用 讲解 STM32 系列 BSP 驱动的支持情况,以及如何利用驱动框架开发应用程序
BSP 制作与提交 简介
BSP 制作教程 讲解 STM32 系列 BSP 的制作方法,以及在制作 BSP 和提交 BSP 时应当遵守的规范,视频教程请观看 《RT-Thread STM32 系列 BSP 制作视频教程》
外设驱动添加指南 讲解 BSP 添加更多设备驱动的方法