-
Notifications
You must be signed in to change notification settings - Fork 13
Program SoftDevice with application image (none MCUboot board variants) #326
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
base: main
Are you sure you want to change the base?
Conversation
Now selects the SoftDevice Kconfig for all board targets rather than just the MCUboot board variants Signed-off-by: Jamie McCrae <[email protected]>
Selects the Kconfig in target images indicating what SoftDevice is selected Signed-off-by: Jamie McCrae <[email protected]>
Remove a duplicate custom command dependency item. Signed-off-by: Andreas Moltumyr <[email protected]>
You can find the documentation preview for this PR here. |
Allow apache 2.0 license for this forked file Signed-off-by: Andreas Moltumyr <[email protected]>
Add a new Kconfig option CONFIG_PROGRAM_SOFTDEVICE_WITH_APP. When enabled, the SoftDevice hex will be programmed together with the application image. This only applies to the none MCUboot board variants. For the MCUboot board variants, the SoftDevice is already programmed together with the MCUboot bootloader. Signed-off-by: Andreas Moltumyr <[email protected]>
95dcd4c
to
f26022f
Compare
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.
do this properly with a dedicated image, use zephyrproject-rtos/zephyr#94796 to see how to create and flash a fake image which isn't actually a zephyr project
set_target_properties(runners_yaml_props_target PROPERTIES "hex_file" | ||
"${ZEPHYR_BINARY_DIR}/${KERNEL_NAME}_softdevice_merged.hex" | ||
) | ||
set(BYPRODUCT_KERNEL_APP_SD_HEX_NAME | ||
"${ZEPHYR_BINARY_DIR}/${KERNEL_NAME}_softdevice_merged.hex" | ||
CACHE FILEPATH "Application with SoftDevice hex file" FORCE | ||
) |
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.
we don't need another merged file like this no
Alright. I agree that sounds better. Thanks! |
Add a new Kconfig option
CONFIG_PROGRAM_SOFTDEVICE_WITH_APP
. When enabled, the SoftDevice hex will be programmed together with the application image. This only applies to the none MCUboot board variants.depends on #324