-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[bsp]stm32f103-keysking 驱动:uart、pwm、pulse encoder #10330
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
3b23b29
[bsp]stm32f103keysking:add uart3
QianJiu05 0a03782
[bsp]stm32f103-keysking pwm驱动
QianJiu05 825140b
[bsp]stm32f103-keysking pulse encoder设备驱动
QianJiu05 d57c201
[bsp]前三个commit的mdk5和iar工程
QianJiu05 a3b17cc
[bsp]修复action报错:原文件多include了main.h,已删除并重新生成工程
QianJiu05 f1c7de0
修改.config关闭pwm
QianJiu05 f266d18
[bsp]stm32f103-keysking 修改config,只开启finsh和gpio
QianJiu05 cc9e18c
[bsp]关闭config的PWM和Encoder(通过select开启的关闭不会默认取消)
QianJiu05 3bcf6d4
删除.config文件
QianJiu05 613206c
.config 未修改版本
QianJiu05 ad3b580
修改ci yml
QianJiu05 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,12 +5,18 @@ system.use_nano: | |
| <<: *scons | ||
| kconfig: | ||
| CONFIG_RT_USING_NANO=y | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| devices.gpio: | ||
| devices.uart: | ||
| <<: *scons | ||
| kconfig: | ||
| - CONFIG_BSP_USING_GPIO=y | ||
| devices.uart: | ||
| - CONFIG_BSP_USING_UART=y | ||
| - CONFIG_USING_SERIAL=y | ||
| devices.servo: | ||
| <<: *scons | ||
| kconfig: | ||
| - CONFIG_BSP_USING_UART=y | ||
| - CONFIG_USING_SERIAL=y | ||
| - CONFIG_BSP_USING_SERVO=y | ||
| devices.pulse_encoder: | ||
| <<: *scons | ||
| kconfig: | ||
| - CONFIG_BSP_USING_PULSE_ENCODER=y | ||
| - CONFIG_BSP_USING_PULSE_ENCODER1=y | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
bsp/stm32/stm32f103-keysking-learning/board/CubeMX_Config/.mxproject
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

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.
配置名呢?
Uh oh!
There was an error while loading. Please reload this page.
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.
这个完整内容是:
system.use_nano:
<<: *scons
kconfig:
CONFIG_RT_USING_NANO=y
是开启use_nano的

效果如下:
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.
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.
本地有试过:
scons --attach=system.use_nano 生效吗?
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.
本地试虽然显示成功但是其实没成功,我之前看success了以为没问题了。请问是只有devices开头的命令才会生效吗,我刚才试了一下定义其他类也是失败的
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.
用这个吧,或者不是必须测的就去掉吧。其他bsp已经测过nano了