-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[bsp]bluepill readme补充flash描述,整理attachconfig为yml #10396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📌 Code Review Assignment🏷️ Tag: bsp_stm32Path: Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-06-16 15:30 UTC)
📝 Review Instructions
|
|
建议所有凡是资源不足以满足标准版的bsp都统一默认修改为nano版本,通过env可一键开启nano版本,并默认支持finsh组件,bsp更多是对rt-thread移植的参考设计,不一定都得上标准版 |
请问默认开启nano的话,要上传.config吗?还是说像我在yml对nano那样配置就行,让用户自己开启 |
.config和rtconfig.h都需要上传,另外再使用scons --target=xxx同步一下mdk或iar,此外请给出修改后的运行截图 |
请将提交信息通过rebase压缩成一个commit |
这个是从修改nano开始压缩吗 |
|
你好,我有一个问题:nano版本下device不可用,那么finsh对应的串口是通过hal库驱动吗?这种情况下是不是要在board.c 添加初始化 |
可以看一下这个目录下的文件: 这里其实是使用的RT_CONSOLE_DEVICE_NAME去作为nano的串口设备,但其实并不使用驱动框架和uart的设备驱动,也不需要执行任何初始化,主线支持一键开启nano,只需要确保使用cubemx生成对应的串口初始化代码就可以了,作者修改完成之后请附上控制台终端运行成功的截图 |
|
我这里调用的是拉取的packages里面的启动文件,不是hal库提供的呀?: |
不建议这个板子主动开启nano version,用户有需求自己手动配置。这个板子有一些配置是按照标准版配置的 @kurisaW |
如果不知道怎么revert的话 我来处理一下就行 辛苦了 折腾了一下 |
最后一个commit我修改了yml,我把这个revert一下重新弄吧 |
谢谢您 |
This reverts commit dd7a5f2.
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
之前提交过一份相关pr,不过由于64kb太小导致程序容易超过限制close了。前天有管理员回复,可以在readme里增加提醒。

此外,顺便整理了attachconfig为yml。
#10258 (comment)
你的解决方案是什么 (what is your solution)
请提供验证的bsp和config (provide the config and bsp)
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up