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

Bluetooth: Mesh: Add sysbuild support to Light DFU overlay #18

Conversation

ludvigsj
Copy link

This does the following:

  • Add sysbuild_dfu.conf to enable the bootloader when building with DFU support.
  • Replace overlay-dfu.conf with prj_dfu.conf, to enable use of FILE_SUFFIX to specify all required config for the DFU configuration

nordicjm and others added 24 commits May 14, 2024 12:39
Changes from fatal error to warning level when issues with
sysbuild multi image configuration is detected so that builds
can be fixed

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds support for using the nrf9161dk target board

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
It is necessary to erase progress for both streams before test
execution.
Remove the bootloader from sysbuild as the bootloader is not required by
the test.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
Adds the external flash functionality from child/parent image
partition manager

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Reduces the number of slots if the current image is MCUboot as
this configuration is no longer stored in the application in
sysbuild

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds sysbuild configurations to samples, applications and tests
which replaces child/parent image builds

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds bluetooth mesh DFU metadata output support to app_update.zip

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Enables wifi by default in sysbuild for this board

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Excludes partition manager for all nrf54h20dk board targets

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds support for outputting matter factory data using sysbuild

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Enables factory data output for sysbuild builds

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Renames the test to avoid a conflict with an MCUboot sysbuild
cmake file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Switches to using SoCs instead of boards, this allows any nrf5340
or nrf91x-based board to make use of things like network core
images and secure boot

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds initial support for loading nRF700x patches from QSPI

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds initial sysbuild options for partition layout

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Fixes an inconsistency with sysbuild's partition manager not
escaping variables that child/parent image would

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Updates find-my and zephyr to include sysbuild support

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds a deprecation warning that describes that child/parent image
has been replaced with sysbuild and when the feature will be
removed entirely

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Changes from the deprecated build type to file suffix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Changes from the deprecated build type to file suffix

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds support for generating an update zip file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Fixes b0 signing to only apple for the application core image and
uses s0_image as the name for the image that resides in the
first slot

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Use ncs-build image based on ubuntu 22.04. It contains gcc 11 needed for
twister tests on native simulator.

Signed-off-by: Jan Gałda <jan.galda@nordicsemi.no>
This does the following:

 * Add sysbuild_dfu.conf to enable the bootloader when building with DFU
   support.
 * Replace overlay-dfu.conf with prj_dfu.conf, to enable use of
   FILE_SUFFIX to specify all required config for the DFU configuration

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
@alxelax
Copy link

alxelax commented May 14, 2024

Probably it is better to use snippets instead of duplication configuration options in *.conf files

@nordicjm nordicjm force-pushed the sbappspt7 branch 4 times, most recently from c8ba190 to a635286 Compare May 14, 2024 16:19
@nordicjm nordicjm force-pushed the sbappspt7 branch 19 times, most recently from 382af92 to d06564c Compare May 22, 2024 07:19
@nordicjm nordicjm force-pushed the sbappspt7 branch 3 times, most recently from 9f0e058 to 8d63014 Compare May 22, 2024 12:30
@ludvigsj
Copy link
Author

Closing this since this was cherry picked and squashed into the sysbuild PR

@ludvigsj ludvigsj closed this May 31, 2024
@ludvigsj ludvigsj deleted the develop/NCSDK-26388_sysbuild_mesh_light_sample_DFU branch May 31, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants