4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-20 21:37:22 +08:00

Merge pull request #4978 from yangjie11/memheap

【增加】cubemx 生成代码时的注意事项
This commit is contained in:
Bernard Xiong 2021-08-29 22:39:10 +08:00 committed by GitHub
commit d5ca202602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -117,6 +117,10 @@ BSP 的制作过程分为如下五个步骤:
![生成对应的配置代码](./figures/CubeMX_4.png)
注意:在生成代码时,不要勾选以下选项(即:不让其生成单独的 .c/.h 驱动文件,直接全部更新到 rt-thread 要使用的 stm32xxx_hal_msp.c 文件中)
![generate-code](figures/generate-code.png)
最终 CubeMX 生成的工程目录结构如下图所示:
![CubeMX 图7](./figures/CubeMX_5.png)

View File

@ -69,6 +69,9 @@
- 部分驱动如果没有适配 BSP 所属的 STM32 系列,请等待 RT-Thread 团队更新。
- 驱动文件对 STM32 系列的支持情况可以查看 [STM32系列驱动介绍文档](STM32系列驱动介绍文档.md)。
- 对于驱动文件或文档说明,有任何建议或者意见,欢迎反馈到 [RT_Thread GitHub](https://github.com/RT-Thread/rt-thread) 网站或 [RT-Thread 官方论坛](https://www.rt-thread.org/qa/forum.php)。
- 在生成代码时,不要勾选以下选项(即:不让其生成单独的 .c/.h 驱动文件,直接全部更新到 rt-thread 要使用的 stm32xxx_hal_msp.c 文件中)
![generate-code](figures/generate-code.png)
## 5. 附录

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB