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

arch/arm/src/imxrt/imxrt_start.c: Clear CONTROL register at start to … #222

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

jlaitine
Copy link

…make sure we use MSP as the stack pointer

When entering the function from an external bootloader, the CPU could be using PSP. But the following code expects MSP to be in use.

Summary

Fixes booting to PX4 from px4 bootloader

…make sure we use MSP as the stack pointer

When entering the function from an external bootloader, the CPU could be using PSP. But the following
code expects MSP to be in use.

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine requested a review from pussuw February 13, 2024 12:32
@jlaitine jlaitine merged commit a3b7b2d into master Feb 13, 2024
6 of 7 checks passed
@jlaitine jlaitine deleted the fix_imxrt_start_stack_pointer_usage branch February 13, 2024 15:11
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