-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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: basic: add multitarget_hello_world #69652
samples: basic: add multitarget_hello_world #69652
Conversation
Add a new "hello world" sample that boots on multiple cores. This sample can be used to see if Zephyr boots successfully with _minimal_ configuration on SoCs with multiple cores. The following configurations are provided for now: - nRF5340 DK: cpuapp+cpunet - nRF54H20 PDK: cpuapp+cpurad, cpuapp+cpuppr, cpuapp+cpuppr(ram) Note that because of a quoting bug somewhere in the build system, SB_CONFIG_REMOTE_BOARD is specified in .conf files (see the sysbuild/ directory). This should be fixed in the near future. Upstream PR: zephyrproject-rtos/zephyr#69652 Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com> (cherry picked from commit d1b3b3ad11878c99abf8501537c4704661573f84)
0c793e3
to
57e04ba
Compare
57e04ba
to
be00980
Compare
be00980
to
46a92d9
Compare
46a92d9
to
b14ae38
Compare
b14ae38
to
2afb636
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.
LGTM, although I wonder if it would be better to add a multitarget option to regular hello_world
instead.
|
||
Run a hello world sample on multiple board targets | ||
|
||
Overview |
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.
I think the overview should mention somewhere that the main use case for this sample is when the remote core/target needs to be booted by the primary one.
Otherwise, someone may ask: why not just build hello_world
twice?
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.
I think that's one of the usecases, but there may be e.g. a board with 2 independent socs.
samples/basic/multitarget_hello_world/remote/boards/nrf54h20pdk_nrf54h20_cpuppr_ram.conf
Outdated
Show resolved
Hide resolved
last push: created a new category |
4299703
to
f975788
Compare
f975788
to
ea9c7cb
Compare
@kartben please take another look |
This creates a new category of samples that demonstrate certain features of sysbuild. "application development" was a very generic name. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Add a new "hello world" sample that can be built for multiple board targets. This sample can be used to see if Zephyr boots successfully with _minimal_ configuration on SoCs with multiple cores, or boards with multiple SoCs. The following configurations are provided for now: - nRF5340 DK: cpuapp+cpunet - nRF54H20 DK: cpuapp+cpurad, cpuapp+cpuppr, cpuapp+cpuppr(xip) Note that because of a quoting bug somewhere in the build system, SB_CONFIG_REMOTE_BOARD is specified in .conf files (see the sysbuild/ directory). This should be fixed in the near future. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
dcd6fc6
ea9c7cb
to
dcd6fc6
Compare
Add a new "hello world" sample that can be built for multiple board
targets. This sample can be used to see if Zephyr boots successfully
with minimal configuration on SoCs with multiple cores, or boards with
multiple SoCs.
The following configurations are provided for now:
Note that because of a quoting bug somewhere in the build system, SB_CONFIG_REMOTE_BOARD is specified in .conf files (see the sysbuild/ directory). This should be fixed in the near future.