Skip to content
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

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

lesshonor
Copy link
Contributor

Zephyr's blackpill_f401ce and blackpill_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.

Copy link
Contributor

@petejohanson petejohanson left a 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.

CONFIG_UART_CONSOLE=n
CONFIG_UART_INTERRUPT_DRIVEN=n
CONFIG_ZMK_USB=y
CONFIG_ZMK_BLE=n
Copy link
Contributor

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.

Copy link
Contributor Author

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 {};
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

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

Thanks!

@petejohanson petejohanson merged commit 40adb38 into zmkfirmware:main Feb 11, 2024
12 checks passed
@lesshonor lesshonor deleted the boards/blackpill-f401cc branch June 22, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants