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

boards: nxp: Add Serial Recovery button alias #79374

Conversation

butok
Copy link
Contributor

@butok butok commented Oct 3, 2024

Fixes MCUBoot Serial Recovery compilation error "Serial recovery/USB DFU button must be declared in device tree as 'mcuboot_button0'"

Fixes MCUBoot Serial Recovery compilation error
"Serial recovery/USB DFU button must be declared
in device tree as 'mcuboot_button0'"

Signed-off-by: Andrej Butok <[email protected]>
@@ -18,6 +18,7 @@
sw1 = &user_button_2;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &user_button_3;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just curious, how did you decide which button to use.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just curious, how did you decide which button to use.

All these boards have at least one button and it is sw0.

Copy link
Member

@henrikbrixandersen henrikbrixandersen Oct 11, 2024

Choose a reason for hiding this comment

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

Choosing the wrong button can cause this feature to not work at all. See e.g. #79715

Were these configurations tested?

@fabiobaltieri fabiobaltieri merged commit 4511662 into zephyrproject-rtos:main Oct 7, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants