Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ALL_BSP_COMPILE.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
"stm32/stm32f103-fire-arbitrary",
"stm32/stm32f103-gizwits-gokitv21",
"stm32/stm32f103-hw100k-ibox",
"stm32/stm32f103-keysking-learning",
"stm32/stm32f103-onenet-nbiot",
"stm32/stm32f103-yf-ufun",
"stm32/stm32f103-ys-f1pro",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# scons: --strict
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些配置是你常用的配置吗?还是拷贝其他bsp的?
这里可以采用yml的方式保存,.attach的方式文件太多。
yml方式保存的配置是bsp常用的一些配置。具体参考rt-spark

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些配置是你常用的配置吗?还是拷贝其他bsp的? 这里可以采用yml的方式保存,.attach的方式文件太多。 yml方式保存的配置是bsp常用的一些配置。具体参考rt-spark

是的,这份bsp是基于bluepill的bsp改的,这是原bsp的配置,目前我这份bsp作为第一个版本只支持串口和gpio,所以没去管理这些配置。这个需要从一开始就做吗(我以为是等功能齐全之后再选择性开启的),如果是的话那我根据rt-spark的研究一下

此外,stm32f1xx_it.c这个文件别的bsp都是保留的,我这份没开中断所以是空的,但后面肯定是会用到的,是不是可以保留

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stm32f1xx_it.c main.h和it.h这个用不到的,删了吧。没有bsp用到这个文件,其他bsp只是保留了一下,有ioc文件就可以生成了,删除之后你看CI能不能编译过就可以了。
只支持串口和gpio,你也可以考虑用yml存放,配置可以不用很多,有一两个自己常用的配置即可。把*.attach文件改为yml文件。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

开中断也是用不到的。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stm32f1xx_it.c main.h和it.h这个用不到的,删了吧。没有bsp用到这个文件,其他bsp只是保留了一下,有ioc文件就可以生成了,删除之后你看CI能不能编译过就可以了。 只支持串口和gpio,你也可以考虑用yml存放,配置可以不用很多,有一两个自己常用的配置即可。把*.attach文件改为yml文件。

您好,我根据论坛文档和rt-spark的yml写了一份yml,请问yml选项需要添加 - '--strict'强制检查吗

CONFIG_RT_USING_NANO=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# scons: --strict
CONFIG_BSP_USING_ARDUINO=y
Loading