You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
大家好,
我是RT-Thread的新手,目前正在学习使用RT-Thread进行STM32H723的开发。在尝试过程中遇到了一些问题:
最初使用CubeMX生成项目,但发现兼容性较差无法直接使用
下载RT-Thread Studio后,发现芯片支持列表中尚未包含H723系列
因此决定为自己的STM32H723ZGT6开发板制作BSP支持包
经过初步了解,我发现仓库中对STM32H7系列的支持相对有限,且相关代码似乎有较长时间没有更新。目前BSP项目正在进行中,但在阅读官方文档后仍有一些疑问:
H7系列库文件缺失
在libraries目录下只有L1系列的相关文件
不清楚H7系列的外设库应该如何添加和配置
板载外设驱动配置
不确定板载外设的驱动配置代码应该存放在什么位置比较合适
发现当前libraries中对STM32外设的支持选项有限,缺少我需要的配置选项
Kconfig配置问题
Kconfig是否有统一的格式规范?
外设宏定义的命名规则是什么?
特定外设是否有指定的宏名称标准?
SConstruct配置差异
我最初参考仓库现有项目"stm32h723-st-nucleo"进行修改,后与"stm32h7xx"模板对比
发现官方H7xx模板与仓库中现有的h723 BSP项目有多处不同,尤其是SConstruct文件
但在文档中没有找到更详细的说明,现在不清楚应该如果为我的项目做修改
MDK5生成问题
完成基础配置后,执行scons --target=mdk5出现错误:
(.venv) PS F:\rt-thread-master\bsp\stm32\stm32h723-lxb-disco> scons --target=mdk5
scons: Reading SConscript files ...
UV4.exe is not available, please check your keil installation
Keil5 project is generating...
Keil Version: MDK Professional 5.42/ARM Compiler 5.06 update 7 (build 960)/armcc [4d365d]
Keil-MDK project has generated successfully!
后续我尝使用keil编译project.uvprojx出现报错(也许是scons失败的原因?我还不够了解SCons的原理)
linking...
.\build\keil\Obj\rt-thread.axf: Error: L6218E: Undefined symbol Image$$RW_IRAM2$$ZI$$Limit (referred from drv_common.o).
在制作过程中,我发现有些地方与官方教程文档存在不一致,加之我对GitHub仓库管理也是新手,这些因素都带来了不小的阻力,希望可以在这里得到解答。
Beta Was this translation helpful? Give feedback.
All reactions