Home
last modified time | relevance | path

Searched +full:sysbuild +full:- +full:cmake (Results 1 – 25 of 73) sorted by relevance

123

/Zephyr-latest/tests/cmake/zephyr_get/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
6 # Script mode initialization (re-run)
8 list(APPEND CMAKE_MODULE_PATH "${ZEPHYR_BASE}/cmake/modules")
11 # Project mode initialization (main CMake invocation)
17 if(SYSBUILD)
24 # - run_suite(<test-1> [<test-2> ...])
27 # at the end, either here or in sysbuild.cmake.
37 if(NOT SYSBUILD)
47 # - assert_equal(<variable> <expected-value>)
49 # - assert_equal(<variable>
[all …]
Dtestcase.yaml2 tags: cmake
7 sysbuild: false
8 buildsystem.extensions.zephyr_get.sysbuild:
9 sysbuild: true
11 - TESTCASE_VARIABLE="sysbuild.main"
12 - zephyr_get_2nd_TESTCASE_VARIABLE="sysbuild.2nd"
/Zephyr-latest/doc/build/sysbuild/
Dindex.rst3 Sysbuild (System build)
6 Sysbuild is a higher-level build system that can be used to combine multiple
7 other build systems together. It is a higher-level layer that combines one
11 For example, you can use sysbuild to build a Zephyr application together
15 Sysbuild works by configuring and building at least a Zephyr application and, optionally, as many
19 Like Zephyr's :ref:`build system <build_overview>`, sysbuild is written in
20 CMake and uses :ref:`Kconfig <kconfig>`.
27 Single-image build
28 When sysbuild is used to create and manage just one Zephyr application's
31 Multi-image build
[all …]
/Zephyr-latest/cmake/modules/
Droot.cmake1 # SPDX-License-Identifier: Apache-2.0
3 # Copyright (c) 2021-2023, Nordic Semiconductor ASA
7 # This CMake module will convert all relative paths in existing ROOT lists to
11 # - ARCH_ROOT: CMake list of arch roots containing arch implementations
12 # - SOC_ROOT: CMake list of SoC roots containing SoC implementations
13 # - BOARD_ROOT: CMake list of board roots containing board and shield implementations
14 # - MODULE_EXT_ROOT: CMake list of module external roots containing module glue code
15 # - SCA_ROOT: CMake list of SCA roots containing static code analysis integration code
25 # Merge in variables from other sources (e.g. sysbuild)
26 zephyr_get(MODULE_EXT_ROOT MERGE SYSBUILD GLOBAL)
[all …]
Dbasic_settings.cmake1 # SPDX-License-Identifier: Apache-2.0
8 # - sysbuild defined configuration settings
10 # Details for sysbuild settings:
12 # Sysbuild is a higher level build system used by Zephyr.
13 # Sysbuild allows users to build multiple samples for a given system.
15 # For this to work, sysbuild manages other Zephyr CMake build systems by setting
17 # This CMake modules loads the sysbuild cache variables as target properties on
24 if(SYSBUILD)
26 file(STRINGS "${SYSBUILD_CACHE}" sysbuild_cache_strings ENCODING UTF-8)
28 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
[all …]
Dconfiguration_files.cmake1 # SPDX-License-Identifier: Apache-2.0
11 # The following variables will be defined when this CMake module completes:
13 # - CONF_FILE: List of Kconfig fragments
14 # - EXTRA_CONF_FILE: List of additional Kconfig fragments
15 # - DTC_OVERLAY_FILE: List of devicetree overlay files
16 # - EXTRA_DTC_OVERLAY_FILE List of additional devicetree overlay files
17 # - DTS_EXTRA_CPPFLAGS List of additional devicetree preprocessor defines
18 # - APPLICATION_CONFIG_DIR: Root folder for application configuration
20 # If any of the above variables are already set when this CMake module is
24 # use only and may be removed, renamed, or re-purposed without prior notice.
[all …]
/Zephyr-latest/share/sysbuild/cmake/modules/
Dsysbuild_root.cmake1 # SPDX-License-Identifier: Apache-2.0
5 # Convert Zephyr roots to absolute paths to be used by sysbuild.
7 # This CMake module will convert all relative paths in existing ROOT lists to
11 # - ARCH_ROOT: CMake list of arch roots containing arch implementations
12 # - SOC_ROOT: CMake list of SoC roots containing SoC implementations
13 # - BOARD_ROOT: CMake list of board roots containing board and shield implementations
14 # - MODULE_EXT_ROOT: CMake list of module external roots containing module glue code
15 # - SCA_ROOT: CMake list of SCA roots containing static code analysis integration code
21 # Converted paths are placed in the CMake cache so that they are propagated
44 # Sysbuild must ensure any locally defined variables in sysbuild/CMakeLists.txt
[all …]
Dsysbuild_kconfig.cmake3 # SPDX-License-Identifier: Apache-2.0
25 # Sysbuild must add a locally defined APPLICATION_CONFIG_DIR in sysbuild/CMakeLists.txt
28 "Sysbuild adjusted APPLICATION_CONFIG_DIR" FORCE
45 # sysbuild.conf is an optional file, because sysbuild is an opt-in feature.
46 …zephyr_file(CONF_FILES ${APPLICATION_CONFIG_DIR} KCONF SB_CONF_FILE NAMES "sysbuild.conf" SUFFIX $…
69 SYSbuild configuration settings specified in an alternate .conf file using this parameter. \
70 These settings will override the settings in the application’s SYSBuild config file or its \
76 # Not adding it to CMake cache ensures that a later created sysbuild.conf
83 "Unable to lookup sysbuild.conf or other related sysbuild configuration files. "
99 # Unset shield configuration files if set to prevent including in sysbuild
[all …]
Dsysbuild_extensions.cmake1 # Copyright (c) 2021-2023 Nordic Semiconductor
3 # SPDX-License-Identifier: Apache-2.0
11 # All CMake cache variables are stored in a custom target which is identified by
23 file(STRINGS "${LOAD_CACHE_BINARY_DIR}/CMakeCache.txt" cache_strings ENCODING UTF-8)
25 # Using a regex for matching whole 'VAR_NAME:TYPE=VALUE' will strip semi-colons
29 # This method ensures that both quoted values and ;-separated list stays intact.
33 string(SUBSTRING "${str}" ${variable_identifier_length} -1 variable_value)
47 # sysbuild_get(<variable> IMAGE <image> [VAR <image-variable>] <KCONFIG|CACHE>)
70 # <variable>: variable used for returning CMake cache value. Also used as lookup
73 # VAR: name of the CMake cache variable name to lookup.
[all …]
Dsysbuild_default.cmake3 # SPDX-License-Identifier: Apache-2.0
6 # Sysbuild default list of CMake modules to include in a regular sysbuild session.
Dsysbuild_images.cmake3 # SPDX-License-Identifier: Apache-2.0
5 # This module is responsible for including images into sysbuild and to call
12 # This is where all Zephyr applications are added to the multi-image build.
13 sysbuild_add_subdirectory(${sysbuild_toplevel_SOURCE_DIR}/images sysbuild/images)
26 include(${sysbuild_toplevel_SOURCE_DIR}/cmake/domains.cmake)
Dsysbuild_snippets.cmake3 # SPDX-License-Identifier: Apache-2.0
10 set(SNIPPET_PYTHON_EXTRA_ARGS --sysbuild)
12 include(${ZEPHYR_BASE}/cmake/modules/snippets.cmake)
/Zephyr-latest/share/sysbuild/
DCMakeLists.txt1 # Copyright (c) 2021-2023 Nordic Semiconductor
3 # SPDX-License-Identifier: Apache-2.0
12 # If APP_DIR is a relative path, then CMake will adjust to absolute path based
15 set(Sysbuild_DIR ${CMAKE_CURRENT_LIST_DIR}/../sysbuild-package/cmake)
23 if(EXISTS ${APP_DIR}/sysbuild/CMakeLists.txt)
24 add_subdirectory(${APP_DIR}/sysbuild _sysbuild)
29 build_info(sysbuild VALUE true)
30 build_info(application source-dir VALUE ${CMAKE_CURRENT_SOURCE_DIR})
/Zephyr-latest/doc/develop/
Dmodules.rst7 order to avoid reinventing the wheel and to reuse as much well-established,
14 modules, an external project is required to have its own life-cycle outside
29 - Debugger integration
30 - Silicon vendor Hardware Abstraction Layers (HALs)
31 - Cryptography libraries
32 - File Systems
33 - Inter-Process Communication (IPC) libraries
36 references to optional :ref:`binary blobs <bin-blobs>`.
41 .. _modules-vs-projects:
47 <west-workspace>`. In fact, modules :ref:`do not require west
[all …]
/Zephyr-latest/doc/develop/west/
Dbuild-flash-debug.rst1 .. _west-build-flash-debug:
6 Zephyr provides several :ref:`west extension commands <west-extensions>` for
11 commands, see :ref:`flash-and-debug-support` in the board porting guide.
13 .. Add a per-page contents at the top of the page. This page is nested
21 .. _west-building:
26 .. tip:: Run ``west build -h`` for a quick overview.
29 use :ref:`west config <west-config-cmd>` to configure its behavior.
33 - If there is a Zephyr build directory named :file:`build` in your current
34 working directory, it is incrementally re-compiled. The same is true if you
37 - Otherwise, if you run ``west build`` from a Zephyr application's source
[all …]
/Zephyr-latest/share/sysbuild/image_configurations/
DALL_image_default.cmake3 # SPDX-License-Identifier: Apache-2.0
5 # This sysbuild CMake file sets the sysbuild controlled settings as properties
/Zephyr-latest/share/sysbuild-package/cmake/
DSysbuildConfigVersion.cmake1 # SPDX-License-Identifier: Apache-2.0
3 include(${CMAKE_CURRENT_LIST_DIR}/../../zephyr-package/cmake/ZephyrConfigVersion.cmake)
4 list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../../sysbuild/cmake/modules)
/Zephyr-latest/tests/boot/mcuboot_data_sharing/
DCMakeLists.txt4 # SPDX-License-Identifier: Apache-2.0
11 if(NOT (DEFINED SYSBUILD))
12 message(FATAL_ERROR "This test must be built with sysbuild.")
26 include(${ZEPHYR_BASE}/cmake/modules/version.cmake)
/Zephyr-latest/scripts/
Dsnippets.py5 # SPDX-License-Identifier: Apache-2.0
11 Output CMake variables:
13 - SNIPPET_NAMES: CMake list of discovered snippet names
14 - SNIPPET_FOUND_{snippet}: one per discovered snippet
51 def process_data(self, pathobj: Path, snippet_data: dict, sysbuild: bool):
65 if (sysbuild is True and variable[0:3] == 'SB_') or \
66 (sysbuild is False and variable[0:3] != 'SB_'):
73 if (sysbuild is True and variable[0:3] == 'SB_') or \
74 (sysbuild is False and variable[0:3] != 'SB_'):
96 '''Helper class for printing a Snippets's semantics to a .cmake
[all …]
/Zephyr-latest/doc/build/signing/
Dindex.rst1 .. _build-signing:
6 Binaries can be optionally signed as part of a build automatically using CMake code, there is
8 latter is documented on :ref:`west-sign`.
19 :zephyr:code-sample:`hello_world` application for chain-loading by MCUboot. Run these commands
22 .. code-block:: console
24 west build -b YOUR_BOARD zephyr/samples/hello_world --sysbuild -d build-hello-signed -- \
25 -DSB_CONFIG_BOOTLOADER_MCUBOOT=y
27 west flash -d build-hello-signed
31 - ``YOUR_BOARD`` should be changed to match your board
32 - The singing key value is the insecure default provided and used by MCUboot for development
[all …]
/Zephyr-latest/scripts/west_commands/
Dbuild.py3 # SPDX-License-Identifier: Apache-2.0
22 _ARG_SEPARATOR = '--'
25 / pathlib.Path('share/sysbuild')
30 west build [-h] [-b BOARD[@REV]]] [-d BUILD_DIR]
31 [-S SNIPPET] [--shield SHIELD]
32 [-t TARGET] [-p {auto, always, never}] [-c] [--cmake-only]
33 [-n] [-o BUILD_OPT] [-f]
34 [--sysbuild | --no-sysbuild] [--domain DOMAIN]
35 [--extra-conf FILE.conf]
36 [--extra-dtc-overlay FILE.overlay]
[all …]
/Zephyr-latest/tests/cmake/sysbuild_snippets/sysbuild/test_module/zephyr/
Dmodule.yml2 sysbuild-cmake: .
/Zephyr-latest/share/sysbuild/images/boards/
DCMakeLists.txt1 # Copyright (c) 2021-2023 Nordic Semiconductor
3 # SPDX-License-Identifier: Apache-2.0
5 include(${BOARD_DIR}/sysbuild.cmake OPTIONAL)
/Zephyr-latest/share/sysbuild/images/soc/
DCMakeLists.txt3 # SPDX-License-Identifier: Apache-2.0
5 include(${SOC_${SB_CONFIG_SOC}_DIR}/sysbuild.cmake OPTIONAL)
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/bap_broadcast_sink/
Dsysbuild.cmake2 # SPDX-License-Identifier: Apache-2.0
4 include(${ZEPHYR_BASE}/samples/bluetooth/bap_broadcast_sink/sysbuild.cmake)

123