Home
last modified time | relevance | path

Searched +full:- +full:- +full:build +full:- +full:root (Results 1 – 25 of 164) sorted by relevance

1234567

/Zephyr-latest/cmake/modules/
Ddoc.cmake1 # SPDX-License-Identifier: Apache-2.0
6 # documentation build.
9 # - extensions
10 # - python
11 # - west
12 # - root
13 # - zephyr_module
16 # The Zephyr package required for documentation build setup.
23 include(root)
Dzephyr_module.cmake1 # SPDX-License-Identifier: Apache-2.0
9 # files for Zephyr modules into Zephyr build system.
13 # The `<module>/zephyr/module.yml` file specifies whether the build files are
16 # A list of Zephyr modules can be provided to the build system using:
17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>]
21 # to load the Zephyr module into Zephyr build system.
25 # If the module.yml file specifies that build files are located in a
27 # - `ZEPHYR_<MODULE_NAME>_CMAKE_DIR` is used for inclusion of the CMakeLists.txt
28 # - `ZEPHYR_<MODULE_NAME>_KCONFIG` is used for inclusion of the Kconfig
29 # files into the build system.
[all …]
Darch_v1.cmake1 # SPDX-License-Identifier: Apache-2.0
9 # Configure ARCH settings based on board directory and arch root.
11 # This CMake module will set the following variables in the build system based
12 # on board directory and arch root.
19 # - ARCH: Name of the arch in use.
20 # - ARCH_DIR: Directory containing the arch implementation.
21 # - ARCH_ROOT: ARCH_ROOT with ZEPHYR_BASE appended
24 # - ARCH_ROOT: CMake list of arch roots containing arch implementations
25 # - BOARD_DIR: CMake variable specifying the directory of the selected BOARD
28 # use only and may be removed, renamed, or re-purposed without prior notice.
[all …]
Dsoc_v1.cmake1 # SPDX-License-Identifier: Apache-2.0
5 # Configure SoC settings based on Kconfig settings and SoC root.
7 # This CMake module will set the following variables in the build system based
15 # - SOC_NAME: Name of the SoC in use, identical to CONFIG_SOC
16 # - SOC_SERIES: Name of the SoC series in use, identical to CONFIG_SOC_SERIES
17 # - SOC_FAMILY: Name of the SoC family, identical to CONFIG_SOC_FAMILY
18 # - SOC_PATH: Path fragment defined by either SOC_NAME or SOC_FAMILY/SOC_SERIES.
19 # - SOC_DIR: Directory containing the SoC implementation
20 # - SOC_ROOT: SOC_ROOT with ZEPHYR_BASE appended
23 # - SOC_ROOT: CMake list of SoC roots containing SoC implementations
[all …]
Dzephyr_default.cmake1 # SPDX-License-Identifier: Apache-2.0
6 # default Zephyr build system.
27 # Find and execute workspace build configuration
40 # Find and execute application-specific build configuration
53 # Test and error-out if we are affected by the PyPI CMake 3.22.1 / 3.22.2 bug
55 # It seems only pip-installed builds are affected so we test to see if we are affected
60 "https://gitlab.kitware.com/cmake/cmake/-/issues/23187\n"
61 "https://github.com/scikit-build/cmake-python-distributions/issues/221\n"
62 "Please install another CMake version or use a build of CMake that"
87 # Load default root settings
[all …]
Darch_v2.cmake1 # SPDX-License-Identifier: Apache-2.0
6 # Configure ARCH settings based on KConfig settings and arch root.
8 # This CMake module will set the following variables in the build system based
9 # on board directory and arch root.
16 # - ARCH: Name of the arch in use.
17 # - ARCH_DIR: Directory containing the arch implementation.
18 # - ARCH_ROOT: ARCH_ROOT with ZEPHYR_BASE appended
21 # - ARCH_ROOT: CMake list of arch roots containing arch implementations
24 # use only and may be removed, renamed, or re-purposed without prior notice.
31 # (read: multi-core and multi-arch SoC).
/Zephyr-latest/scripts/
Dlist_shields.py5 # SPDX-License-Identifier: Apache-2.0
12 # This is shared code between the build system's 'shields' target
17 # 'ninja shields' in a build directory without west installed.)
31 for root in args.board_roots:
32 for shields in find_shields_in(root):
37 def find_shields_in(root): argument
38 shields = root / 'boards' / 'shields'
49 shield_name = file_name[:-len('.overlay')]
60 # Remember to update west-completion.bash if you add or remove
62 parser.add_argument("--board-root", dest='board_roots', default=[],
[all …]
Dlist_boards.py4 # SPDX-License-Identifier: Apache-2.0
23 BOARD_SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'board-schema.yml')
30 # This is shared code between the build system's 'boards' target
35 # 'ninja boards' in a build directory without west installed.)
169 for root in unique_paths(args.board_roots):
170 for arch, boards in find_arch2board_set_in(root, arches, args.board_dir).items():
182 for root in unique_paths(args.arch_roots):
183 arch_set |= find_arches_in(root)
188 def find_arches_in(root): argument
190 arch = root / 'arch'
[all …]
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.zsh4 # SPDX-License-Identifier: Apache-2.0
6 # Ensure this works also when being source-ed
9 typeset -A -g _opt_args
12 local -a builtin_cmds=(
25 local -a zephyr_ext_cmds=(
28 'build[compile a Zephyr application]'
29 'sign[sign a Zephyr binary for bootloader chain-loading]'
34 'zephyr-export[export Zephyr installation as a CMake config package]'
40 local -a all_cmds=(${builtin_cmds} ${zephyr_ext_cmds})
42 if [[ -v WEST_COMP_CHECK_WORKSPACE ]]; then
[all …]
/Zephyr-latest/samples/application_development/external_lib/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
10 # how to build for this platform so we export all the flags used in
11 # this zephyr build to the external build system.
13 # Other external build systems may be self-contained enough that they
14 # do not need any build information from zephyr. Or they may be
23 set(target_flag "--target=${CMAKE_C_COMPILER_TARGET}")
32 # Add an external project to be able download and build the third
42 # https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html
50 PREFIX ${mylib_build_dir} # Root dir for entire project
52 BINARY_DIR ${mylib_src_dir} # This particular build system is invoked from the root
[all …]
/Zephyr-latest/doc/services/tfm/
Dbuild.rst3 TF-M Build System
6 When building a valid ``_ns`` board target, TF-M will be built in the
7 background, and linked with the Zephyr non-secure application. No knowledge
8 of TF-M's build system is required in most cases, and the following will
9 build a TF-M and Zephyr image pair, and run it in qemu with no additional
12 .. code-block:: bash
14 … $ west build -p auto -b mps2/an521/cpu0/ns samples/tfm_integration/psa_protected_storage/ -t run
16 The outputs and certain key steps in this build process are described here,
18 deal with signing the secure and non-secure images before deploying them.
20 Images Created by the TF-M Build
[all …]
Doverview.rst1 Trusted Firmware-M Overview
4 `Trusted Firmware-M (TF-M) <https://tf-m-user-guide.trustedfirmware.org/>`__
6 `IoT Security Framework <https://www.psacertified.org/what-is-psa-certified/>`__.
10 Zephyr RTOS has been PSA Certified since Zephyr 2.0.0 with TF-M 1.0, and
11 is currently integrated with TF-M 2.1.0.
13 What Does TF-M Offer?
16 Through a set of secure services and by design, TF-M provides:
18 * Isolation of secure and non-secure resources
19 * Embedded-appropriate crypto
22 * Protected off-chip data storage and retrieval
[all …]
/Zephyr-latest/boards/intel/adsp/doc/
Dchromebooks_adsp.rst1 .. _zephyr-audio-dsp-development-on-chromebooks:
8 arbitrary user-developed firmware like Zephyr applications (of which
28 Hold Esc + Refresh (the arrow-in-a-circle "reload" key above "3") and
51 device ID (for example "DELBIN-XHVI D4B-H4D-G4G-Q9A-A9P" for the Asus
54 root filesystem and /usr/local customizations you have made**. So
58 Make the root filesystem writable
62 Linux's dm-verity feature) all access to the read-only root
64 for a custom kernel) requires that the dm-verity layer be turned off:
66 First open a terminal with Ctrl-Alt-T. Then at the "crosh> " prompt
68 user. Finally (in developer mode) a simple "sudo su -" will get you a
[all …]
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/
DREADME.rst1 .. zephyr:code-sample:: nrf_bluetooth_mesh_onoff_level_lighting_vnd_app
3 :relevant-api: bt_mesh
10 which Root element has following models
12 - Generic OnOff Server
13 - Generic OnOff Client
14 - Generic Level Server
15 - Generic Level Client
16 - Generic Default Transition Time Server
17 - Generic Default Transition Time Client
18 - Generic Power OnOff Server
[all …]
/Zephyr-latest/boards/mediatek/
Dindex.rst1 .. _boards-mtk_adsp:
27 single-core devices, no parallel SMP is available, but at the same
37 There is comparatively little on-device hardware. The architecture is
38 that interaction with the off-chip audio hardware (e.g. I2S codecs,
42 Beyond that the Zephyr-visible hardware is limited to a bounty of
54 the standard library and can be run (as root, of course) on any
60 * `Developer mode <https://www.chromium.org/chromium-os/developer-library/guides/device/developer-m…
61-Install: Installing Developer and Test packages onto a Chrome OS device <https://www.chromium.org…
64 the ``zephyr.img`` file from the build directory to the device
68 .. code-block:: console
[all …]
/Zephyr-latest/samples/subsys/usb/dfu/
DREADME.rst1 .. zephyr:code-sample:: usb-dfu
3 :relevant-api: _usb_device_core_api
33 to be loaded at the offset of SLOT-0.
36 The build system can do this for you by setting the :kconfig:option:`CONFIG_MCUBOOT_SIGNATURE_KEY_F…
40 .. code-block:: console
42 west build -b nrf52840dk/nrf52840 zephyr/samples/subsys/usb/dfu -d build-dfu -- \
43 -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\"
45 Build and flash MCUboot bootloader for Zephyr project as it is described in
46 the `Using MCUboot with Zephyr`_ documentation. Then build, sign and flash
47 the USB DFU sample at the offset of SLOT-0.
[all …]
/Zephyr-latest/samples/subsys/usb/mass/
DREADME.rst1 .. zephyr:code-sample:: usb-mass
3 :relevant-api: usbd_api usbd_msc_device _usb_device_core_api file_system_api
25 The selection between a RAM-based or a FLASH-based disk and file system
26 can be chosen passing Kconfig configuration via the -D command-line switch.
28 RAM-disk Example without any file system
31 The default configurations selects RAM-based disk without any file system.
32 This example only needs additional 96KiB RAM for the RAM-disk and is intended
35 .. zephyr-app-commands::
36 :zephyr-app: samples/subsys/usb/mass
38 :gen-args: -DEXTRA_DTC_OVERLAY_FILE="ramdisk.overlay"
[all …]
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/
DREADME.rst1 .. zephyr:code-sample:: eth-ivshmem
2 :name: Inter-VM Shared Memory (ivshmem) Ethernet
3 :relevant-api: ivshmem ethernet
20 .. code-block:: console
22 git clone https://github.com/siemens/jailhouse-images.git
23 cd jailhouse-images
26 Open the menu, select "QEMU ARM64 virtual target" then "Save & Build"
29 .. code-block:: console
31 ./kas-container menu
33 Edit "start-qemu.sh":
[all …]
/Zephyr-latest/boards/intel/ish/doc/
Dindex.rst8 Intel Integrated Sensor Hub (ISH) is a lower-power/always-on co-processor
15 - LMT MinuteIA Core:
17 - 16KB instruction cache and 16KB data cache.
18 - 640KB SRAM space for code and data - implemented as L2 SRAM.
19 - 8KB AON RF space for code resident during deep D0i2/3 PG states.
21 - Interface-to-Sensor peripherals (I2C, SPI, UART, I3C, GPIO, DMA).
22 - Inter Process Communications (IPC) to core processor and other IP processors.
36 Build Zephyr application
39 #. Build a Zephyr application; for instance, to build the ``hello_world``
42 .. zephyr-app-commands::
[all …]
/Zephyr-latest/boards/raspberrypi/rpi_5/doc/
Dindex.rst6 `Raspberry Pi 5 product-brief`_
11 - Broadcom BCM2712 2.4GHz quad-core 64-bit Arm Cortex-A76 CPU, with cryptography extensions, 512KB …
12 - VideoCore VII GPU, supporting OpenGL ES 3.1, Vulkan 1.2
13 - Dual 4Kp60 HDMI® display output with HDR support
14 - 4Kp60 HEVC decoder
15 - LPDDR4X-4267 SDRAM (4GB and 8GB SKUs available at launch)
16 - Dual-band 802.11ac Wi-Fi®
17 - Bluetooth 5.0 / Bluetooth Low Energy (BLE)
18 - microSD card slot, with support for high-speed SDR104 mode
19 - 2 x USB 3.0 ports, supporting simultaneous 5Gbps operation
[all …]
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_dirops.c5 * SPDX-License-Identifier: Apache-2.0
38 "root init failed"); in check_mkdir()
65 -ENOTEMPTY, in check_mkdir()
85 TC_PRINT("building layout on %s\n", mp->mnt_point); in build_layout()
87 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in build_layout()
95 "root init failed"); in build_layout()
101 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in build_layout()
120 "root init failed"); in check_layout()
132 if (cp->name != NULL) { in check_layout()
134 cp->name, in check_layout()
[all …]
Dtest_fs_util.h4 * SPDX-License-Identifier: Apache-2.0
17 * content against the build command description.
56 * to create the root path without a mount point.
92 size_t len = sp->eos - sp->path; in testfs_path_copy()
94 memcpy(dp->path, sp->path, len + 1); in testfs_path_copy()
95 dp->eos = dp->path + len; in testfs_path_copy()
204 /* Specify that all build commands have been provided. */
208 #define TESTFS_BCMD_IS_ENTER_DIR(cp) (((cp)->type == FS_DIR_ENTRY_DIR) \
209 && ((cp)->name != NULL))
210 #define TESTFS_BCMD_IS_EXIT_DIR(cp) (((cp)->type == FS_DIR_ENTRY_DIR) \
[all …]
/Zephyr-latest/soc/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
3 # FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally.
5 # Limit warning of shadow variables to in-tree SoC files for now.
16 ---------------------------------------------------------------------
17 --- WARNING: Functionality to describe SoCs in HWMv1 is ---
18 --- deprecated and should be replaced with HWMv2, including ---
19 --- boards. HWMv1 SoCs support remains only to ease the migration ---
20 --- of out-of-tree SoCs and associated boards. It will not be ---
21 --- possible to build using HWMv1 SoCs at all in future releases. ---
22 ---------------------------------------------------------------------"
[all …]
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/
DREADME.rst1 .. zephyr:code-sample:: nrf_bluetooth_mesh_onoff
3 :relevant-api: bt_mesh
10 This is a simple application demonstrating a Bluetooth Mesh multi-element node.
19 The models for button 1 and LED 1 are in the node's root element.
21 Assuming the provisioner assigns 0x100 to the root element,
41 This sample has been tested on the Nordic nRF52840-PDK board, but would
47 This sample can be found under :zephyr_file:`samples/boards/nordic/mesh/onoff-app` in the
50 The following commands build the application.
52 .. zephyr-app-commands::
53 :zephyr-app: samples/boards/nordic/mesh/onoff-app
[all …]
/Zephyr-latest/doc/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
4 project(Zephyr-Kernel-Doc LANGUAGES)
12 #-------------------------------------------------------------------------------
15 set(SPHINXOPTS "-j auto -W --keep-going -T" CACHE STRING "Default Sphinx Options")
17 set(LATEXMKOPTS "-halt-on-error -no-shell-escape" CACHE STRING "Default latexmk options")
20 set(DTS_ROOTS "${ZEPHYR_BASE}" CACHE STRING "DT bindings root folders")
26 #-------------------------------------------------------------------------------
31 find_program(SPHINXBUILD sphinx-build)
33 message(FATAL_ERROR "The 'sphinx-build' command was not found")
35 find_program(SPHINXAUTOBUILD sphinx-autobuild)
[all …]

1234567