-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Building failing in arm cortex-m0 #11167
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
Comments
Reproduced.
|
Fixed. Not sure what kind of consequences this fix has though, it might be breaking things ...
EDIT: This fix is no good. |
The root cause and solution options are described in 1765276#diff-ef6459503728d8b77ea93b33e8de0117 Personally I think that porting to C is the best long-term solution. Not sure what to do short-term ... |
Put _isr_wrapper and _IntExit in the same file to ensure that they are placed close together. When they are placed too far away from each other the 'b' instruction in _isr_wrapper will not reach _IntExit on Cortex-M0 platforms. See zephyrproject-rtos#11167 for details. Signed-off-by: Sebastian Bøe <[email protected]>
Yeah, it override the link register, one change that works is save lr register into other register and restore it in _IntExit. But my re-organize these sections make more sense to me. |
Building is failing when
CONFIG_NO_OPTIMIZATIONS
is enabled. This is the output for./samples/hello_world/
with bbc-microbit as target.The text was updated successfully, but these errors were encountered: