-
Notifications
You must be signed in to change notification settings - Fork 2.1k
boards/olimexino-stm32f3: add board definition #21806
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
base: master
Are you sure you want to change the base?
Conversation
562c48f to
9507f43
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.
Some style comments.
| /* This board provides an LSE */ | ||
| #ifndef CONFIG_BOARD_HAS_LSE | ||
| # define CONFIG_BOARD_HAS_LSE 1 | ||
| #endif | ||
|
|
||
| /* This board provides an HSE */ | ||
| #ifndef CONFIG_BOARD_HAS_HSE | ||
| # define CONFIG_BOARD_HAS_HSE 1 | ||
| #endif |
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.
Not sure these defines need an #ifndef block tbh. That's not something you would actually change?
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.
It would at least be possible to disabled the use of the external crystals.
Other than reproducing an issue that only triggers on boards without external crystals when having only this board at hand, I do not have a use case.
This matches what other boards do, though. It might be better to keep it consistent for now and have this discussion for all boards.
|
Perhaps you can (temporarily) change the |
63b2f82 to
8e960c6
Compare
This reduces false positives for included but not directly used headers.
This USB peripheral seems to not be clocked when entering IDLE, at least on STM32F3. Given that an increase of power consumption in the order of 10s of mA is usually of little concern when powered via USB, this just disables the idle power state for all STM32 MCUs when USB is in use to rather err on the side of additional power draw, rather than broken USB.
8e960c6 to
145fd81
Compare
| /* Block STOP/STANDBY */ | ||
| pm_block(STM32_PM_STOP); | ||
| pm_block(STM32_PM_STANDBY); | ||
| pm_block(STM32_PM_IDLE); |
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.
maybe update comment?
Contribution description
tests/periph/timerwith the Olimexino-STM32F3 when usingstdio_usb_cdc_acmTesting procedure
tests/basic/defaultruns with USB and both LEDs and the BOOT button work with thesaulshell commandtests/periph/timerpasses, confirming the timer config is correctIssues/PRs references
None