-
Notifications
You must be signed in to change notification settings - Fork 674
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
Fix nordic boards #1984
Fix nordic boards #1984
Conversation
Fixes building MCUboot for this board Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Fixes building MCUboot for this board Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Fixes building MCUboot for this board Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Not doubting this fixes the issue of these 3 boards, but it doesn't seem like it resolves the root issue. If the bootloader is failing to compile because USB requires multithreading, doesn't that mean either MCUboot shouldn't be disabling multithreading OR the board shouldn't always be enabling USB? |
That's the same as if you duplicated any board for any sample in the whole of zephyr that has an overlay and you didn't copy the overlay. If you duplicate a board and want to run a sample that worked on the original board, you need to copy the overlay. The bug here was that there boards should have had overlays to begin with which this PR addresses.
The USB only refers to thingy53 since the rest are GPIO/SPI NOR drivers, and for thingy53 the configuration was added originally then it was removed and moved to ncs: The original addition was wrong because it never worked in zephyr anyway and should have contained the overlay in this PR. |
Agreed.
IMO this comes down to which situation we prefer:
I am just making the argument that already exists on the option: Lines 745 to 748 in 9ae634f
We are not in the first situation. We are instead sure that hardware does NOT work, as evidenced by the issue existing. |
The actual issue is that some drivers need semaphore/mutexes which thus need multithreading, some can use them optionally if the option is enabled, and some don't use it at all. Drivers started selecting things instead of depending upon them, so the question really should be why do drivers that require multithreading not select it? |
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.
Change looks find, but there should be a release note stub.
Adds a note that building for these boards has been fixed Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Fixes zephyrproject-rtos/zephyr#73301