-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(boards): allow use of blackpill_f401cc #2159
feat(boards): allow use of blackpill_f401cc #2159
Conversation
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.
Fully agreed. Just a couple comments.
app/boards/blackpill_f401cc.conf
Outdated
CONFIG_UART_CONSOLE=n | ||
CONFIG_UART_INTERRUPT_DRIVEN=n | ||
CONFIG_ZMK_USB=y | ||
CONFIG_ZMK_BLE=n |
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.
This is probably superfluous? If preset in the others I would suggest removing them.
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.
This is probably superfluous? If preset in the others I would suggest removing them.
You're right; CONFIG_ZMK_BLE=n
isn't necessary on any of the BlackPill configurations.
|
||
blackpill_i2c: &i2c1 {}; | ||
blackpill_spi: &spi1 {}; | ||
blackpill_serial: &usart1 {}; |
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.
Are these peripherals already set up properly in the base board definition I assume?
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.
Are these peripherals already set up properly in the base board definition I assume?
Yes.
e051df9
to
ba7b923
Compare
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.
Thanks!
Zephyr's
blackpill_f401ce
andblackpill_f411ce
board definitions were enabled for use in ZMK in 70aa4fa. I can think of no good reason why all three should not be available options, particularly as a lot of clones tend to use F401CC.