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

Use the value of nuttx CONFIG_ARMV7M_STACKCHECK to configure PX4 build #4572

Merged
merged 1 commit into from May 19, 2016

Conversation

davids5
Copy link
Member

@davids5 davids5 commented May 19, 2016

Since there is a register (R10) that must be preserved for the hardware stack checking to work. Both builds: Nuttx and the Flight code must be built with consistent instrumentation flags.

This PR use the value of CONFIG_ARMV7M_STACKCHECK from the board's defconfig to set the Flight code's instrumentation flags.

@davids5 davids5 mentioned this pull request May 19, 2016
@davids5 davids5 merged commit 7d31518 into nuttx_v3 May 19, 2016
@@ -523,6 +532,17 @@ function(px4_os_add_flags)

set(added_exe_linker_flags) # none currently


Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dagar I did not see this section here on master from your hand merge

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I have no idea how that happened. It was definitely working in my branch, but I didn't test it after it went into master.

davids5 pushed a commit that referenced this pull request May 20, 2016
@davids5 davids5 deleted the nuttx_v3_stack_check_from_nuttx branch May 25, 2016 11:12
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.

None yet

2 participants