-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
samples: ssf_client: support sysbuild and remove sdfw_update service from sample #17239
Conversation
anhmolt
commented
Sep 9, 2024
- app+rad multi image build
- remove call to sdfw_update service
- Clean up sample.yaml and log by default on default serial
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 5c3e01425727bb950c45d25cb841f026d540f743 more detailssdk-nrf:
Github labels
List of changed files detected by CI (17)
Outputs:ToolchainVersion: add720b6d9 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
de72335
to
a064f67
Compare
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
a064f67
to
fa53678
Compare
multi-image build is child/parent image, this should say sysbuild |
Thanks! Have updated the title. |
config RADIO_IMAGE_BOARD | ||
string "The board used for cpurad target" | ||
depends on BUILD_ALSO_FOR_RADIO_CORE | ||
default "nrf54h20dk/nrf54h20/cpurad" if BOARD_NRF54H20DK_NRF54H20_CPUAPP | ||
default "nrf9280pdk/nrf9280/cpurad" if BOARD_NRF9280PDK_NRF9280_CPUAPP |
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.
Rework to work as the sysbuild Kconfig files do i.e. rename to *_BOARD_TARGET_CPUCLUSTER
, reference SOC_*
Kconfigs and only have the CPU cluster here then work out the board to use properly in cmake - see https://github.com/nrfconnect/sdk-nrf/blob/main/sysbuild/Kconfig.netcore#L15 and https://github.com/nrfconnect/sdk-nrf/blob/main/sysbuild/netcore.cmake
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.
Thanks. I have updated to work out the radio board target in cmake.
Enable logging by default. Signed-off-by: Andreas Moltumyr <[email protected]>
Remove deprecated sdfw_update service request from the sample. Signed-off-by: Andreas Moltumyr <[email protected]>
Use CONFIG_BOARD_TARGET instead of CONFIG_BOARD in the sample log message and echo string. Signed-off-by: Andreas Moltumyr <[email protected]>
Build additional radio image when building for application CPU and CONFIG_SB_ALSO_FOR_RADIO_CORE is set. Signed-off-by: Andreas Moltumyr <[email protected]>
fa53678
to
5c3e014
Compare
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig" | ||
|
||
config BUILD_ALSO_FOR_RADIO_CORE | ||
bool "Build also for the radio CPU" |
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.
this should have depends on for what needs it and default y
extra_args: | ||
SB_CONFIG_BUILD_ALSO_FOR_RADIO_CORE=y |
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.
and this should not be present
string(REPLACE "/" ";" split_board_qualifiers "${BOARD_QUALIFIERS}") | ||
list(GET split_board_qualifiers 1 target_soc) | ||
list(GET split_board_qualifiers 2 target_cpucluster) | ||
set(board_target_radiocore "${BOARD}/${target_soc}/${SB_CONFIG_RADIO_BOARD_TARGET_CPUCLUSTER}") | ||
set(target_soc) | ||
set(target_cpucluster) |
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.
this goes in the if() part below
This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time. |