-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[bsp][ESP32] add spi custom configuration function and enhance muti object initliz… #9643
Conversation
…ation and setting
esp32原来的bsp只能ble,wifi功能二选一,我这里分两个ci文件做测试,我看stm就是这个逻辑,但他们不是yaml文件并且写法有些不同。我不清楚ci写的对不对。下面是stm的ci代码: # scons: --strict
CONFIG_PKG_USING_AT_DEVICE=y
# Quectel M26/MC20
CONFIG_AT_DEVICE_USING_M26=y
CONFIG_AT_DEVICE_M26_INIT_ASYN=y
# Quectel EC20
CONFIG_AT_DEVICE_USING_EC20=y
CONFIG_AT_DEVICE_EC20_INIT_ASYN=y
# Espressif ESP32
CONFIG_AT_DEVICE_USING_ESP32=y
CONFIG_AT_DEVICE_ESP32_INIT_ASYN=y |
改下后缀为yml |
=n不用特别添加 |
后缀.attachconfig.yml全部要匹配 |
formatting工具貌似不能格式化endline空行? |
请使用验证过的config放到yml文件中,这个PR只需要放下面这个配置即可。其他的请验证过再放。
确保yml中的配置是期望的配置。 yml只要放一个即可,确保名字不重复。yaml文件请删除。 |
还请签署下CLA,谢谢 |
请统一放到一个文件中 .ci/attachconfig/ci.attachconfig.yml |
目前bsp的ble驱动与wifi驱动有冲突,我想分别进行组件测试,如果放到一一个文件里的话需要修改bsp的workflow,考虑后期维护方便还是分开放比较好? |
根据 #5941 (comment) 发现开启ble编译有问题,需要添加空的app_main函数 |
@@ -0,0 +1,6 @@ | |||
scons.args: &scons | |||
scons_arg: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个soncs.args没用到可以删了。
scons.args: &scons | ||
scons_arg: | ||
- '--strict' | ||
devices.ble: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个放到ci.attachconfig.yml文件内。
- '--strict' | ||
devices.wifi: | ||
kconfig: | ||
- CONFIG_BSP_USING_WIFI=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个放到ci.attachconfig.yml内
感谢贡献 |
…bject initliz… (RT-Thread#9643) * add spi custom configuration function and enhance muti object initlization and setting * update changelog * submit ci files * fix ci file * update * formatting * delete yaml files * fix ble ci file * fix undefined reference to app_main error * update
…ation and setting
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
#5941
你的解决方案是什么 (what is your solution)
improve spi driver
请提供验证的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