-
Notifications
You must be signed in to change notification settings - Fork 1.5k
arch: Remove default value for BOARD_LOOPSPERMSEC #17011
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?
Changes from all commits
8aebcab
86e2093
de33162
e7a458e
8b503b2
f6599dc
928bfc7
5f5226c
88a6d8a
ade17b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ CONFIG_ARCH_CHIP="stm32wl5" | |
| CONFIG_ARCH_CHIP_STM32WL55JC_CPU1=y | ||
| CONFIG_ARCH_CHIP_STM32WL5=y | ||
| CONFIG_BOARD_LATE_INITIALIZE=y | ||
| CONFIG_BOARD_LOOPSPERMSEC=0 | ||
|
Contributor
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. I still think it's better to make CONFIG_BOARD_LOOPSPERMSEC default to zero and warning or error in the source code, instead explicitly set it to zero in defconfig.
Contributor
Author
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. No, because then it allows users to forget to add a proper value when they add a new config/board. The few places where I added zero to the defconfig is only a workaround for boards where no one owns them up come up with a real value. Otherwise this would break CI
Contributor
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. you can warning/error in source code anyway. both are equal.
Contributor
Author
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. But if I add an error in the source code it's more work; an undefined symbol automatically causes an error
Contributor
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. you already add the check in code: |
||
| CONFIG_BUILTIN=y | ||
| CONFIG_DRIVERS_VIDEO=y | ||
| CONFIG_EXAMPLES_FB=y | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.