From 6751f9ba33c2465be9c2df8fcd2703189ba4fd52 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 09:13:13 +0800 Subject: [PATCH 1/7] [bsp][stm32] rename stm32/stm32f091-nucleo to stm32/stm32f091-st-nucleo --- .../.config | 0 .../.gitignore | 0 .../Kconfig | 0 .../README.md | 2 +- .../SConscript | 0 .../SConstruct | 0 .../applications/SConscript | 0 .../applications/main.c | 0 .../board/CubeMX_Config/.mxproject | 0 .../board/CubeMX_Config/CubeMX_Config.ioc | 0 .../board/CubeMX_Config/Inc/main.h | 0 .../board/CubeMX_Config/Inc/stm32f0xx_hal_conf.h | 0 .../board/CubeMX_Config/Inc/stm32f0xx_it.h | 0 .../board/CubeMX_Config/Src/main.c | 0 .../board/CubeMX_Config/Src/stm32f0xx_hal_msp.c | 0 .../board/CubeMX_Config/Src/stm32f0xx_it.c | 0 .../board/CubeMX_Config/Src/system_stm32f1xx.c | 0 .../board/Kconfig | 0 .../board/SConscript | 0 .../board/board.c | 0 .../board/board.h | 0 .../board/linker_scripts/link.icf | 0 .../board/linker_scripts/link.lds | 0 .../board/linker_scripts/link.sct | 0 .../board/ports/fal_cfg.h | 0 .../figures/board.jpg | Bin .../project.ewd | 0 .../project.ewp | 0 .../project.eww | 0 .../project.uvopt | 0 .../project.uvoptx | 0 .../project.uvprojx | 0 .../rtconfig.h | 0 .../rtconfig.py | 0 .../template.ewd | 0 .../template.ewp | 0 .../template.eww | 0 .../template.uvgui.zylx | 0 .../template.uvoptx | 0 .../template.uvprojx | 0 40 files changed, 1 insertion(+), 1 deletion(-) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/.config (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/.gitignore (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/Kconfig (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/README.md (95%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/SConscript (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/SConstruct (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/applications/SConscript (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/applications/main.c (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/.mxproject (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/CubeMX_Config.ioc (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Inc/main.h (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Inc/stm32f0xx_hal_conf.h (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Inc/stm32f0xx_it.h (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Src/main.c (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Src/stm32f0xx_hal_msp.c (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Src/stm32f0xx_it.c (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/CubeMX_Config/Src/system_stm32f1xx.c (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/Kconfig (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/SConscript (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/board.c (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/board.h (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/linker_scripts/link.icf (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/linker_scripts/link.lds (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/linker_scripts/link.sct (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/board/ports/fal_cfg.h (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/figures/board.jpg (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/project.ewd (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/project.ewp (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/project.eww (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/project.uvopt (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/project.uvoptx (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/project.uvprojx (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/rtconfig.h (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/rtconfig.py (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/template.ewd (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/template.ewp (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/template.eww (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/template.uvgui.zylx (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/template.uvoptx (100%) rename bsp/stm32/{stm32f091-nucleo => stm32f091-st-nucleo}/template.uvprojx (100%) diff --git a/bsp/stm32/stm32f091-nucleo/.config b/bsp/stm32/stm32f091-st-nucleo/.config similarity index 100% rename from bsp/stm32/stm32f091-nucleo/.config rename to bsp/stm32/stm32f091-st-nucleo/.config diff --git a/bsp/stm32/stm32f091-nucleo/.gitignore b/bsp/stm32/stm32f091-st-nucleo/.gitignore similarity index 100% rename from bsp/stm32/stm32f091-nucleo/.gitignore rename to bsp/stm32/stm32f091-st-nucleo/.gitignore diff --git a/bsp/stm32/stm32f091-nucleo/Kconfig b/bsp/stm32/stm32f091-st-nucleo/Kconfig similarity index 100% rename from bsp/stm32/stm32f091-nucleo/Kconfig rename to bsp/stm32/stm32f091-st-nucleo/Kconfig diff --git a/bsp/stm32/stm32f091-nucleo/README.md b/bsp/stm32/stm32f091-st-nucleo/README.md similarity index 95% rename from bsp/stm32/stm32f091-nucleo/README.md rename to bsp/stm32/stm32f091-st-nucleo/README.md index f84788b6f2..397dcfb9e7 100644 --- a/bsp/stm32/stm32f091-nucleo/README.md +++ b/bsp/stm32/stm32f091-st-nucleo/README.md @@ -103,7 +103,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f091-nucleo/SConscript b/bsp/stm32/stm32f091-st-nucleo/SConscript similarity index 100% rename from bsp/stm32/stm32f091-nucleo/SConscript rename to bsp/stm32/stm32f091-st-nucleo/SConscript diff --git a/bsp/stm32/stm32f091-nucleo/SConstruct b/bsp/stm32/stm32f091-st-nucleo/SConstruct similarity index 100% rename from bsp/stm32/stm32f091-nucleo/SConstruct rename to bsp/stm32/stm32f091-st-nucleo/SConstruct diff --git a/bsp/stm32/stm32f091-nucleo/applications/SConscript b/bsp/stm32/stm32f091-st-nucleo/applications/SConscript similarity index 100% rename from bsp/stm32/stm32f091-nucleo/applications/SConscript rename to bsp/stm32/stm32f091-st-nucleo/applications/SConscript diff --git a/bsp/stm32/stm32f091-nucleo/applications/main.c b/bsp/stm32/stm32f091-st-nucleo/applications/main.c similarity index 100% rename from bsp/stm32/stm32f091-nucleo/applications/main.c rename to bsp/stm32/stm32f091-st-nucleo/applications/main.c diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/.mxproject b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/.mxproject similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/.mxproject rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/.mxproject diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/CubeMX_Config.ioc b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/CubeMX_Config.ioc similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/CubeMX_Config.ioc rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/CubeMX_Config.ioc diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Inc/main.h b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Inc/main.h similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Inc/main.h rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Inc/main.h diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Inc/stm32f0xx_hal_conf.h b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Inc/stm32f0xx_hal_conf.h similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Inc/stm32f0xx_hal_conf.h rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Inc/stm32f0xx_hal_conf.h diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Inc/stm32f0xx_it.h b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Inc/stm32f0xx_it.h similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Inc/stm32f0xx_it.h rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Inc/stm32f0xx_it.h diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/main.c b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/main.c similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/main.c rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/main.c diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/stm32f0xx_hal_msp.c b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/stm32f0xx_hal_msp.c similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/stm32f0xx_hal_msp.c rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/stm32f0xx_hal_msp.c diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/stm32f0xx_it.c b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/stm32f0xx_it.c similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/stm32f0xx_it.c rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/stm32f0xx_it.c diff --git a/bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/system_stm32f1xx.c b/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/system_stm32f1xx.c similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/CubeMX_Config/Src/system_stm32f1xx.c rename to bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/system_stm32f1xx.c diff --git a/bsp/stm32/stm32f091-nucleo/board/Kconfig b/bsp/stm32/stm32f091-st-nucleo/board/Kconfig similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/Kconfig rename to bsp/stm32/stm32f091-st-nucleo/board/Kconfig diff --git a/bsp/stm32/stm32f091-nucleo/board/SConscript b/bsp/stm32/stm32f091-st-nucleo/board/SConscript similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/SConscript rename to bsp/stm32/stm32f091-st-nucleo/board/SConscript diff --git a/bsp/stm32/stm32f091-nucleo/board/board.c b/bsp/stm32/stm32f091-st-nucleo/board/board.c similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/board.c rename to bsp/stm32/stm32f091-st-nucleo/board/board.c diff --git a/bsp/stm32/stm32f091-nucleo/board/board.h b/bsp/stm32/stm32f091-st-nucleo/board/board.h similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/board.h rename to bsp/stm32/stm32f091-st-nucleo/board/board.h diff --git a/bsp/stm32/stm32f091-nucleo/board/linker_scripts/link.icf b/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.icf similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/linker_scripts/link.icf rename to bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.icf diff --git a/bsp/stm32/stm32f091-nucleo/board/linker_scripts/link.lds b/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/linker_scripts/link.lds rename to bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.lds diff --git a/bsp/stm32/stm32f091-nucleo/board/linker_scripts/link.sct b/bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.sct similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/linker_scripts/link.sct rename to bsp/stm32/stm32f091-st-nucleo/board/linker_scripts/link.sct diff --git a/bsp/stm32/stm32f091-nucleo/board/ports/fal_cfg.h b/bsp/stm32/stm32f091-st-nucleo/board/ports/fal_cfg.h similarity index 100% rename from bsp/stm32/stm32f091-nucleo/board/ports/fal_cfg.h rename to bsp/stm32/stm32f091-st-nucleo/board/ports/fal_cfg.h diff --git a/bsp/stm32/stm32f091-nucleo/figures/board.jpg b/bsp/stm32/stm32f091-st-nucleo/figures/board.jpg similarity index 100% rename from bsp/stm32/stm32f091-nucleo/figures/board.jpg rename to bsp/stm32/stm32f091-st-nucleo/figures/board.jpg diff --git a/bsp/stm32/stm32f091-nucleo/project.ewd b/bsp/stm32/stm32f091-st-nucleo/project.ewd similarity index 100% rename from bsp/stm32/stm32f091-nucleo/project.ewd rename to bsp/stm32/stm32f091-st-nucleo/project.ewd diff --git a/bsp/stm32/stm32f091-nucleo/project.ewp b/bsp/stm32/stm32f091-st-nucleo/project.ewp similarity index 100% rename from bsp/stm32/stm32f091-nucleo/project.ewp rename to bsp/stm32/stm32f091-st-nucleo/project.ewp diff --git a/bsp/stm32/stm32f091-nucleo/project.eww b/bsp/stm32/stm32f091-st-nucleo/project.eww similarity index 100% rename from bsp/stm32/stm32f091-nucleo/project.eww rename to bsp/stm32/stm32f091-st-nucleo/project.eww diff --git a/bsp/stm32/stm32f091-nucleo/project.uvopt b/bsp/stm32/stm32f091-st-nucleo/project.uvopt similarity index 100% rename from bsp/stm32/stm32f091-nucleo/project.uvopt rename to bsp/stm32/stm32f091-st-nucleo/project.uvopt diff --git a/bsp/stm32/stm32f091-nucleo/project.uvoptx b/bsp/stm32/stm32f091-st-nucleo/project.uvoptx similarity index 100% rename from bsp/stm32/stm32f091-nucleo/project.uvoptx rename to bsp/stm32/stm32f091-st-nucleo/project.uvoptx diff --git a/bsp/stm32/stm32f091-nucleo/project.uvprojx b/bsp/stm32/stm32f091-st-nucleo/project.uvprojx similarity index 100% rename from bsp/stm32/stm32f091-nucleo/project.uvprojx rename to bsp/stm32/stm32f091-st-nucleo/project.uvprojx diff --git a/bsp/stm32/stm32f091-nucleo/rtconfig.h b/bsp/stm32/stm32f091-st-nucleo/rtconfig.h similarity index 100% rename from bsp/stm32/stm32f091-nucleo/rtconfig.h rename to bsp/stm32/stm32f091-st-nucleo/rtconfig.h diff --git a/bsp/stm32/stm32f091-nucleo/rtconfig.py b/bsp/stm32/stm32f091-st-nucleo/rtconfig.py similarity index 100% rename from bsp/stm32/stm32f091-nucleo/rtconfig.py rename to bsp/stm32/stm32f091-st-nucleo/rtconfig.py diff --git a/bsp/stm32/stm32f091-nucleo/template.ewd b/bsp/stm32/stm32f091-st-nucleo/template.ewd similarity index 100% rename from bsp/stm32/stm32f091-nucleo/template.ewd rename to bsp/stm32/stm32f091-st-nucleo/template.ewd diff --git a/bsp/stm32/stm32f091-nucleo/template.ewp b/bsp/stm32/stm32f091-st-nucleo/template.ewp similarity index 100% rename from bsp/stm32/stm32f091-nucleo/template.ewp rename to bsp/stm32/stm32f091-st-nucleo/template.ewp diff --git a/bsp/stm32/stm32f091-nucleo/template.eww b/bsp/stm32/stm32f091-st-nucleo/template.eww similarity index 100% rename from bsp/stm32/stm32f091-nucleo/template.eww rename to bsp/stm32/stm32f091-st-nucleo/template.eww diff --git a/bsp/stm32/stm32f091-nucleo/template.uvgui.zylx b/bsp/stm32/stm32f091-st-nucleo/template.uvgui.zylx similarity index 100% rename from bsp/stm32/stm32f091-nucleo/template.uvgui.zylx rename to bsp/stm32/stm32f091-st-nucleo/template.uvgui.zylx diff --git a/bsp/stm32/stm32f091-nucleo/template.uvoptx b/bsp/stm32/stm32f091-st-nucleo/template.uvoptx similarity index 100% rename from bsp/stm32/stm32f091-nucleo/template.uvoptx rename to bsp/stm32/stm32f091-st-nucleo/template.uvoptx diff --git a/bsp/stm32/stm32f091-nucleo/template.uvprojx b/bsp/stm32/stm32f091-st-nucleo/template.uvprojx similarity index 100% rename from bsp/stm32/stm32f091-nucleo/template.uvprojx rename to bsp/stm32/stm32f091-st-nucleo/template.uvprojx From d4ab2d71cfd52f96ff5619df2f2392856a589453 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 09:15:45 +0800 Subject: [PATCH 2/7] =?UTF-8?q?[bsp][stm32]=20update=20STM32=E7=B3=BB?= =?UTF-8?q?=E5=88=97BSP=E5=88=B6=E4=BD=9C=E6=95=99=E7=A8=8B.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/docs/STM32系列BSP制作教程.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32/docs/STM32系列BSP制作教程.md b/bsp/stm32/docs/STM32系列BSP制作教程.md index c326193f54..535aaf55af 100644 --- a/bsp/stm32/docs/STM32系列BSP制作教程.md +++ b/bsp/stm32/docs/STM32系列BSP制作教程.md @@ -32,7 +32,7 @@ BSP 框架结构如下图所示: - 掌握 stm32 系列 BSP 的使用方法 - BSP 的使用方法可以参考《BSP 进阶使用指南》, 外设驱动的添加方法可以参考《stm32 系列外设驱动添加指南》。 + 了解 BSP 的使用方法,可以阅读 [BSP 说明文档](../README.md) 中使用教程表格内的文档。了解外设驱动的添加方法可以参考《外设驱动添加指南》。 - 了解 scons 工程构建方法 @@ -105,7 +105,7 @@ BSP 的制作过程分为如下五个步骤: 配置系统时钟、外设引脚等,步骤如下图所示: -1. 打开外部时钟、设置下载方式、打开串口外设: +1. 打开外部时钟、设置下载方式、打开串口外设(注意只需要选择串口外设引脚即可,无需配置其他参数): ![配置芯片引脚](./figures/CubeMX_1.png) From b5fb04fdf67ed55dd0fcbd2e03abf3ac96d211ca Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 09:17:29 +0800 Subject: [PATCH 3/7] [bsp][stm32] update README.md --- bsp/stm32/README.md | 2 +- bsp/stm32/libraries/templates/stm32f0xx/README.md | 2 +- bsp/stm32/libraries/templates/stm32f10x/README.md | 2 +- bsp/stm32/libraries/templates/stm32f4xx/README.md | 2 +- bsp/stm32/libraries/templates/stm32f7xx/README.md | 2 +- bsp/stm32/libraries/templates/stm32l4xx/README.md | 2 +- bsp/stm32/stm32f103-atk-nano/README.md | 2 +- bsp/stm32/stm32f103-fire-arbitrary/README.md | 2 +- bsp/stm32/stm32f407-atk-explorer/README.md | 2 +- bsp/stm32/stm32f407-st-discovery/README.md | 2 +- bsp/stm32/stm32f429-armfly-v6/README.md | 2 +- bsp/stm32/stm32f429-atk-apollo/README.md | 2 +- bsp/stm32/stm32f429-fire-challenger/README.md | 2 +- bsp/stm32/stm32f767-atk-apollo/README.md | 2 +- bsp/stm32/stm32f767-fire-challenger/README.md | 2 +- bsp/stm32/stm32l475-atk-pandora/README.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/bsp/stm32/README.md b/bsp/stm32/README.md index 32c4f4c055..ae556de094 100644 --- a/bsp/stm32/README.md +++ b/bsp/stm32/README.md @@ -5,7 +5,7 @@ STM32 系列 BSP 目前支持情况如下表所示: | BSP 文件夹名称 | 开发板名称 | |:------------------------- |:-------------------------- | | **F0 系列** | | -| [stm32f091-nucleo](stm32f091-nucleo/) | ST 官方 stm32f091-nucleo 开发板 | +| [stm32f091-st-nucleo](stm32f091-st-nucleo/) | ST 官方 stm32f091-nucleo 开发板 | | **F1 系列** | | | [stm32f103-atk-nano](stm32f103-atk-nano/) | 正点原子 F103 NANO 开发板 | | [stm32f103-fire-arbitrary](stm32f103-fire-arbitrary/) | 野火 F103 霸道开发板 | diff --git a/bsp/stm32/libraries/templates/stm32f0xx/README.md b/bsp/stm32/libraries/templates/stm32f0xx/README.md index e7d97509ef..a803a8c89d 100644 --- a/bsp/stm32/libraries/templates/stm32f0xx/README.md +++ b/bsp/stm32/libraries/templates/stm32f0xx/README.md @@ -110,7 +110,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/libraries/templates/stm32f10x/README.md b/bsp/stm32/libraries/templates/stm32f10x/README.md index e7d97509ef..a803a8c89d 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/README.md +++ b/bsp/stm32/libraries/templates/stm32f10x/README.md @@ -110,7 +110,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/libraries/templates/stm32f4xx/README.md b/bsp/stm32/libraries/templates/stm32f4xx/README.md index 8026a8f499..59fb59d3dd 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/README.md +++ b/bsp/stm32/libraries/templates/stm32f4xx/README.md @@ -111,7 +111,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/libraries/templates/stm32f7xx/README.md b/bsp/stm32/libraries/templates/stm32f7xx/README.md index 8026a8f499..59fb59d3dd 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/README.md +++ b/bsp/stm32/libraries/templates/stm32f7xx/README.md @@ -111,7 +111,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/libraries/templates/stm32l4xx/README.md b/bsp/stm32/libraries/templates/stm32l4xx/README.md index e7d97509ef..a803a8c89d 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/README.md +++ b/bsp/stm32/libraries/templates/stm32l4xx/README.md @@ -110,7 +110,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f103-atk-nano/README.md b/bsp/stm32/stm32f103-atk-nano/README.md index 031fe5dcd1..e3cac7bd62 100644 --- a/bsp/stm32/stm32f103-atk-nano/README.md +++ b/bsp/stm32/stm32f103-atk-nano/README.md @@ -108,7 +108,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f103-fire-arbitrary/README.md b/bsp/stm32/stm32f103-fire-arbitrary/README.md index dfd7e03647..1818da16f1 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/README.md +++ b/bsp/stm32/stm32f103-fire-arbitrary/README.md @@ -116,7 +116,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f407-atk-explorer/README.md b/bsp/stm32/stm32f407-atk-explorer/README.md index 79ff1252fe..d7c3d20852 100644 --- a/bsp/stm32/stm32f407-atk-explorer/README.md +++ b/bsp/stm32/stm32f407-atk-explorer/README.md @@ -117,7 +117,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f407-st-discovery/README.md b/bsp/stm32/stm32f407-st-discovery/README.md index bf9e86a2aa..17ba790784 100644 --- a/bsp/stm32/stm32f407-st-discovery/README.md +++ b/bsp/stm32/stm32f407-st-discovery/README.md @@ -93,7 +93,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f429-armfly-v6/README.md b/bsp/stm32/stm32f429-armfly-v6/README.md index 99efeb3698..6c3fa945ca 100644 --- a/bsp/stm32/stm32f429-armfly-v6/README.md +++ b/bsp/stm32/stm32f429-armfly-v6/README.md @@ -116,7 +116,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f429-atk-apollo/README.md b/bsp/stm32/stm32f429-atk-apollo/README.md index 190d0f9889..318dd39144 100644 --- a/bsp/stm32/stm32f429-atk-apollo/README.md +++ b/bsp/stm32/stm32f429-atk-apollo/README.md @@ -118,7 +118,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f429-fire-challenger/README.md b/bsp/stm32/stm32f429-fire-challenger/README.md index 2990db625d..9e7497d2fe 100644 --- a/bsp/stm32/stm32f429-fire-challenger/README.md +++ b/bsp/stm32/stm32f429-fire-challenger/README.md @@ -117,7 +117,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f767-atk-apollo/README.md b/bsp/stm32/stm32f767-atk-apollo/README.md index 143f3de4ee..dc2080fc95 100644 --- a/bsp/stm32/stm32f767-atk-apollo/README.md +++ b/bsp/stm32/stm32f767-atk-apollo/README.md @@ -117,7 +117,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32f767-fire-challenger/README.md b/bsp/stm32/stm32f767-fire-challenger/README.md index 0aa2ebc3b1..0298bb3fe7 100644 --- a/bsp/stm32/stm32f767-fire-challenger/README.md +++ b/bsp/stm32/stm32f767-fire-challenger/README.md @@ -117,7 +117,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 diff --git a/bsp/stm32/stm32l475-atk-pandora/README.md b/bsp/stm32/stm32l475-atk-pandora/README.md index 70a28eda25..f21e891ed2 100644 --- a/bsp/stm32/stm32l475-atk-pandora/README.md +++ b/bsp/stm32/stm32l475-atk-pandora/README.md @@ -129,7 +129,7 @@ msh > 4. 输入`scons --target=mdk4/mdk5/iar` 命令重新生成工程。 -本章节更多详细的介绍请参考 [BSP 进阶使用指南](../docs/BSP进阶使用指南.md)。 +本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。 ## 注意事项 From 77fd04b945cf51476d63836bd1baf5d86fc2e7e7 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 09:18:00 +0800 Subject: [PATCH 4/7] [bsp][stm32] update wdt driver --- bsp/stm32/libraries/HAL_Drivers/drv_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c b/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c index e7c22e55ab..e937896703 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c +++ b/bsp/stm32/libraries/HAL_Drivers/drv_wdt.c @@ -48,7 +48,7 @@ static rt_err_t wdt_control(rt_watchdog_t *wdt, int cmd, void *arg) break; /* set watchdog timeout */ case RT_DEVICE_CTRL_WDT_SET_TIMEOUT: - hiwdg.Init.Reload = (rt_uint32_t)arg; + hiwdg.Init.Reload = *((rt_uint32_t*)arg); if (HAL_IWDG_Init(&hiwdg) != HAL_OK) { LOG_E("wdg set timeout failed."); From cabd71f5685b5c3e1ea6e84a0be7736f1da9f8c1 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 10:22:19 +0800 Subject: [PATCH 5/7] [bsp][stm32] add bsp make video web link --- bsp/stm32/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32/README.md b/bsp/stm32/README.md index ae556de094..1a4a9d18e5 100644 --- a/bsp/stm32/README.md +++ b/bsp/stm32/README.md @@ -28,5 +28,5 @@ STM32 系列 BSP 目前支持情况如下表所示: | [外设驱动使用教程](docs/STM32系列BSP外设驱动使用教程.md) | 讲解 BSP 上更多外设驱动的使用方法 | | [外设驱动介绍与应用](docs/STM32系列驱动介绍.md) | 讲解 STM32 系列 BSP 驱动的支持情况,以及如何利用驱动框架开发应用程序 | | **BSP 制作与提交** | **简介** | -| [BSP 制作教程](docs/STM32系列BSP制作教程.md) | 讲解 STM32 系列 BSP 的制作方法,以及在制作 BSP 和提交 BSP 时应当遵守的规范 | +| [BSP 制作教程](docs/STM32系列BSP制作教程.md) | 讲解 STM32 系列 BSP 的制作方法,以及在制作 BSP 和提交 BSP 时应当遵守的规范,视频教程请观看 :[《RT-Thread STM32 系列 BSP 制作视频教程》](https://url.cn/5qqxJMU?sf=uri) | | [外设驱动添加指南](docs/STM32系列外设驱动添加指南.md) | 讲解 BSP 添加更多设备驱动的方法 | From aaf8fe5b1d82c5c216965cf8c6964854fa9a276a Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 11:04:27 +0800 Subject: [PATCH 6/7] [bsp][stm32] doc style --- bsp/stm32/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32/README.md b/bsp/stm32/README.md index 1a4a9d18e5..a79e692510 100644 --- a/bsp/stm32/README.md +++ b/bsp/stm32/README.md @@ -8,7 +8,7 @@ STM32 系列 BSP 目前支持情况如下表所示: | [stm32f091-st-nucleo](stm32f091-st-nucleo/) | ST 官方 stm32f091-nucleo 开发板 | | **F1 系列** | | | [stm32f103-atk-nano](stm32f103-atk-nano/) | 正点原子 F103 NANO 开发板 | -| [stm32f103-fire-arbitrary](stm32f103-fire-arbitrary/) | 野火 F103 霸道开发板 | +| [stm32f103-fire-arbitrary](stm32f103-fire-arbitrary/) | 野火 F103 霸道开发板 | | **F4 系列** | | | [stm32f407-st-discovery](stm32f407-st-discovery/) | ST 官方 stm32f407-discovery 开发板 | | [stm32f407-atk-explorer](stm32f407-atk-explorer/) | 正点原子 F407 探索者开发板 | From 43d88940dfea4a72f02453d6f8fdb1f51a007495 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Thu, 3 Jan 2019 13:41:55 +0800 Subject: [PATCH 7/7] [bsp][stm32] change dir name stm32f091-nucleo to stm32f091-st-nucleo --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f24f47ca3a..1c16bf683d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,7 @@ env: - RTT_BSP='stm32l475-iot-disco' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32l476-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - - RTT_BSP='stm32/stm32f091-nucleo' RTT_TOOL_CHAIN='sourcery-arm' + - RTT_BSP='stm32/stm32f091-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32f103-atk-nano' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32f103-fire-arbitrary' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='stm32/stm32f407-atk-explorer' RTT_TOOL_CHAIN='sourcery-arm'