Skip to content

Commit

Permalink
doc: applications: Update Machine Learning description of multi-image…
Browse files Browse the repository at this point in the history
… build

The description was outdated after introduction of sysbuild. Updating
the text to reflect the current status of the build system.

Signed-off-by: Michał Grochala <[email protected]>
  • Loading branch information
grochu committed Dec 18, 2024
1 parent f3ac9cf commit e23331a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions applications/machine_learning/app_desc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,15 @@ For more information, see the :ref:`nrf_machine_learning_configuration` page.
Multi-image builds
------------------

The Thingy:53 and the nRF5340 DK use multi-image build with the following child images:
The Thingy:53 and the nRF5340 DK use :ref:`zephyr:sysbuild` to perform multi-image build with the following additional images:

* MCUboot bootloader
* Bluetooth HCI RPMsg
* IPC Radio

You can define the application-specific configuration for the mentioned child images in the board-specific directory in the :file:`applications/machine_learning/configuration/` directory.
The Kconfig configuration file should be located in subdirectory :file:`child_image/<child_image_name>` and its name should match the application Kconfig file name, and it should contain the build type if necessary.
For example, the :file:`applications/machine_learning/configuration/thingy53_nrf5340_cpuapp/child_image/hci_ipc/prj.conf` file defines configuration of Bluetooth HCI RPMsg for the ``debug`` build type on ``thingy53_nrf5340_cpuapp`` board, while the :file:`applications/machine_learning/configuration/thingy53_nrf5340_cpuapp/child_image/hci_ipc/prj_release.conf` file defines configuration of Bluetooth HCI RPMsg for the ``release`` build type.
See :ref:`ug_multi_image` for detailed information about multi-image builds and child image configuration.
You can define the application-specific configuration for the mentioned images in the board-specific directory in the :file:`applications/machine_learning/sysbuild/` directory.
The Kconfig configuration file should be located in subdirectory :file:`sysbuild/<image_name>/boards/<configuration_file>` and its name should match the application Kconfig file name, and it should contain the build type if necessary.
For example, the :file:`applications/machine_learning/sysbuild/ipc_radio/boards/thingy53_nrf5340_cpunet.conf` file defines configuration of IPC Radio for the ``debug`` build type for ``thingy53_nrf5340_cpunet`` build target, while the :file:`applications/machine_learning/sysbuild/ipc_radio/boards/thingy53_nrf5340_cpunet_release.conf` file defines configuration of IPC Radio for the ``release`` build type.
See :ref:`zephyr:sysbuild` for detailed information about using sysbuild for building multiple images with desired configurations.

.. _nrf_machine_learning_app_requirements_build_types:
.. _nrf_machine_learning_app_configuration_build_types:
Expand Down

0 comments on commit e23331a

Please sign in to comment.