Home
last modified time | relevance | path

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

123

/Zephyr-Core-3.5.0/doc/develop/west/
Dwithout-west.rst1 .. _no-west:
11 - cloning the additional source code repositories used by Zephyr in
13 - specifying the locations of these repositories to the Zephyr build
15 - flashing and debugging without understanding detailed usage of the
23 .. code-block:: console
27 Otherwise, Zephyr's build system will find it and may try to use
31 ------------------
37 .. code-block:: console
41 git clone https://github.com/zephyrproject-rtos/zephyr
50 ---------------------
[all …]
Dbuild-flash-debug.rst1 .. _west-build-flash-debug:
6 Zephyr provides several :ref:`west extension commands <west-extensions>` for
8 ``build``, ``flash``, ``debug``, ``debugserver`` and ``attach``.
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:
23 Building: ``west build``
26 .. tip:: Run ``west build -h`` for a quick overview.
28 The ``build`` command helps you build Zephyr applications from source. You can
29 use :ref:`west config <west-config-cmd>` to configure its behavior.
[all …]
/Zephyr-Core-3.5.0/samples/tfm_integration/tfm_ipc/
DREADME.rst3 TF-M IPC
9 This is a simple TF-M integration example that can be used with an ARMv8-M
12 It uses **IPC Mode** for communication, where TF-M API calls are made to the
16 Zephyr uses Trusted Firmware (TF-M) Platform Security Architecture (PSA) APIs
18 non-secure configuration.
20 The sample prints test info to the console either as a single-thread or
21 multi-thread application.
23 The sample reboots after 5 seconds to demonstrate rebooting with TF-M.
24 The sys_reboot call is routed to TF-M, since the nonsecure app is not allowed
36 #. Build Zephyr with a non-secure configuration (``-DBOARD=mps2_an521_ns``).
[all …]
/Zephyr-Core-3.5.0/doc/contribute/documentation/
Dgeneration.rst11 .. _documentation-overview:
18 using Sphinx to create a formatted stand-alone website. Developers can
36 * Doxygen-generated material used to create all API-specific documents
39 * Script-generated material for kernel configuration options based on Kconfig
43 :caption: Schematic of the documentation build process
51 rtd [shape="rectangle" label="read-the-docs\ntheme"]
56 images -> sphinx
57 rst -> sphinx
58 conf -> sphinx
59 header -> doxygen
[all …]
/Zephyr-Core-3.5.0/doc/_extensions/zephyr/
Dapplication.py3 # SPDX-License-Identifier: Apache-2.0
19 of the shell commands needed to manage (build, flash, etc.) an application.
21 For example, to generate commands to build samples/hello_world for
24 .. zephyr-app-commands::
25 :zephyr-app: samples/hello_world
27 :goals: build
36 path to the application to build.
38 \:zephyr-app:
39 path to the application to build, this is an app present in the upstream
42 \:cd-into:
[all …]
/Zephyr-Core-3.5.0/tests/arch/arm/arm_no_multithreading/
DREADME.txt1 Title: Test to verify the no multithreading use-case (ARM Only)
5 This test verifies that a Zephyr build without multithreading
7 ARM Cortex-M targets. In detail the test verifies that
8 - system boots to main()
9 - PSP points to the main stack
10 - PSPLIM is set to the main stack base (if applicable)
11 - FPU state is reset (if applicable)
12 - Interrupts are enabled when switching to main()
13 - Interrupts may be registered and serviced
14 - Activating PendSV triggers a Reserved Exception error
[all …]
/Zephyr-Core-3.5.0/tests/bsim/
Dcompile.source2 # SPDX-License-Identifier: Apache-2.0
7 echo -e "\033[0;31mFailure building ${app} ${conf_file} for ${BOARD}\033[0m\n\
9 ${cmake_cmd[@]} && ninja ${ninja_args}"
15 local app_root="${app_root:-${ZEPHYR_BASE}}"
16 local conf_file="${conf_file:-prj.conf}"
17 local conf_overlay="${conf_overlay:-""}"
19 local cmake_args="${cmake_args:-"-DCONFIG_COVERAGE=y \
20 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"}"
21 local ninja_args="${ninja_args:-""}"
22 local cc_flags="${cc_flags:-"-Werror"}"
[all …]
DREADME.md4 The compile.sh and run_parallel.sh scripts are used by the CI system to build
29 For example you can build the required binaries for the networking tests with
42 ---------------------------
49 -------------------------------------
83 Conventions about the build scripts
84 -----------------------------------
86 The build scripts (compile.sh) simply build all the required test and sample applications
89 This build scripts use the common compile.source which provide a function (compile) which calls
90 cmake and ninja with the provided application, configuration and overlay files.
95 Note that cmake and ninja are used directly instead of the `west build` wrapper as west is not
[all …]
/Zephyr-Core-3.5.0/doc/develop/application/
Dindex.rst10- your **application directory**, :file:`<app>`, is something like :file:`<home>/zephyrproject/app`
11 - its **build directory** is :file:`<app>/build`
17 makes it easier to use ``west build`` and other commands with it. (You can
19 <important-build-vars>` is set appropriately, though.)
24 Zephyr's build system is based on `CMake`_.
26 The build system is application-centric, and requires Zephyr-based applications
27 to initiate building the Zephyr source code. The application build controls
28 the configuration and build process of both the application and Zephyr itself,
32 and build system. You also likely have installed various :ref:`modules`
37 application. This directory contains all application-specific files, such as
[all …]
/Zephyr-Core-3.5.0/samples/tfm_integration/psa_crypto/
DREADME.rst3 TF-M PSA crypto
8 This TF-M integration example demonstrates how to use the PSA crypto API in
10 this example also demonstrates certain TF-M features that are covered as part
15 Trusted Firmware (TF-M) Platform Security Architecture (PSA) APIs
17 non-secure processing environment.
20 handle secure TF-M API calls and responses.
22 The sample prints test info to the console either as a single-thread or
23 multi-thread application.
26 https://www.psacertified.org/security-certification/psa-certified-level-1/
36 - Generate/import a persistent key: secp256r1 (usage: ecdsa-with-SHA256)
[all …]
/Zephyr-Core-3.5.0/doc/develop/debug/
Dindex.rst11 This section is a quick hands-on reference to start debugging your
27 debugging purposes. The build system generates the image in the build
46 .. code-block:: bash
48 qemu -s -S <image>
54 * ``-S`` Do not start CPU at startup; rather, you must type 'c' in the
56 * ``-s`` Shorthand for :literal:`-gdb tcp::1234`: open a GDB server on
60 Running QEMU via :command:`ninja`
63 Run the following inside the build directory of an application:
65 .. code-block:: console
67 ninja debugserver
[all …]
/Zephyr-Core-3.5.0/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
8 or more Zephyr build systems and optional additional build systems
9 into a hierarchical build system.
11 For example, you can use sysbuild to build a Zephyr application together
19 Like Zephyr's :ref:`build system <build_overview>`, sysbuild is written in
27 Single-image build
29 build system.
31 Multi-image build
[all …]
/Zephyr-Core-3.5.0/tests/arch/arm/arm_sw_vector_relay/
DREADME.txt7 ARM Cortex-M targets.
9 ---------------------------------------------------------------------------
16 ninja/make run
18 ---------------------------------------------------------------------------
22 Problems caused by out-dated project information can be addressed by
25 ninja/make clean # discard results of previous builds
28 ninja/make pristine # discard results of previous builds
29 # and restore pre-defined configuration info
31 ---------------------------------------------------------------------------
35 ***** Booting Zephyr OS build zephyr-v1.14.0-1726-gb95a71960622 *****
[all …]
/Zephyr-Core-3.5.0/cmake/usage/
Dusage.cmake1 # SPDX-License-Identifier: Apache-2.0
7 if(${generator} STREQUAL ninja)
8 set(verbose "-v")
14 message(" clean - Remove most generated files but keep configuration and backup files")
15 message(" pristine - Remove all files in the build directory")
18 message(" menuconfig - Update .config using a console-based interface")
19 message(" guiconfig - Update .config using a graphical interface")
22 message(" all - Build a zephyr application")
23 message(" run - Build a zephyr application and run it if the board supports emulation")
24 message(" flash - Run \"west flash\"")
[all …]
/Zephyr-Core-3.5.0/tests/arch/arm/arm_tz_wrap_func/src/
DREADME.txt9 - The wrapper functions are correctly called.
10 - The arguments are passed to the wrapped function.
11 - The return value from the wrapped function is correctly returned from the
14 ---------------------------------------------------------------------------
21 ninja/make run
23 ---------------------------------------------------------------------------
27 Problems caused by out-dated project information can be addressed by
30 ninja/make clean # discard results of previous builds
33 ninja/make pristine # discard results of previous builds
34 # and restore pre-defined configuration info
[all …]
/Zephyr-Core-3.5.0/tests/arch/arm/arm_ramfunc/
DREADME.txt9 (CONFIG_TEST_USERSPACE=y). Only for ARM Cortex-M targets.
11 ---------------------------------------------------------------------------
18 ninja/make run
20 ---------------------------------------------------------------------------
24 Problems caused by out-dated project information can be addressed by
27 ninja/make clean # discard results of previous builds
30 ninja/make pristine # discard results of previous builds
31 # and restore pre-defined configuration info
33 ---------------------------------------------------------------------------
37 ***** Booting Zephyr OS build zephyr-v1.14.0-1726-gb95a71960622 *****
[all …]
/Zephyr-Core-3.5.0/scripts/tests/twister/
Dtest_environment.py4 # SPDX-License-Identifier: Apache-2.0
24 ['--short-build-path', '-k'],
25 '--short-build-path requires Ninja to be enabled'
31 ['--device-serial-pty', 'dummy'],
32 '--device-serial-pty is not supported on Windows OS'
38 ['--west-runner=dummy'],
39 'west-runner requires west-flash to be enabled'
45 ['--west-flash=\"--board-id=dummy\"'],
46 'west-flash requires device-testing to be enabled'
55 ['--enable-valgrind'],
[all …]
/Zephyr-Core-3.5.0/.github/workflows/
Ddoc-build.yml2 # SPDX-License-Identifier: Apache-2.0
4 name: Documentation Build
8 - cron: '0 */3 * * *'
11 - v*
14 - 'doc/**'
15 - '**.rst'
16 - 'include/**'
17 - 'kernel/include/kernel_arch_interface.h'
18 - 'lib/libc/**'
19 - 'subsys/testsuite/ztest/include/**'
[all …]
/Zephyr-Core-3.5.0/doc/build/cmake/
Dindex.rst1 .. _cmake-details:
3 Build System (CMake)
7 CMake is used to build your application together with the Zephyr kernel. A
8 CMake build is done in two stages. The first stage is called
9 **configuration**. During configuration, the CMakeLists.txt build scripts are
11 Zephyr build, and can generate build scripts that are native to the host
14 CMake supports generating scripts for several build systems, but only Ninja and
16 **build** stage by executing the generated build scripts. These build scripts
19 be executed again before building. The build scripts can detect some of these
23 Zephyr uses CMake's concept of a 'target' to organize the build. A
[all …]
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Denvironment.py6 # SPDX-License-Identifier: Apache-2.0
35 # for. Don't use it when invoking other components of the build system
42 …ckages = [pkg.project_name for pkg in pkg_resources.working_set] # pylint: disable=not-an-iterable
43 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
57 $ ./scripts/twister -v \\
58 --testsuite-root tests/ztest/base \\
59 --testsuite-root tests/kernel \\
60 --test tests/ztest/base/testing.ztest.verbose_0 \\
61 --test tests/kernel/fifo/fifo_api/kernel.fifo
73 device = parser.add_mutually_exclusive_group(required="--device-testing" in sys.argv)
[all …]
/Zephyr-Core-3.5.0/boards/riscv/hifive1/doc/
Dindex.rst9 The HiFive1 is an Arduino-compatible development board with
10 an FE310 RISC-V SoC.
27 .. zephyr-app-commands::
29 :goals: build
35 RISC-V support. Download the tarball for your OS from the `SiFive website
40 ``-DOPENOCD=<path/to/riscv-openocd/bin/openocd>`` parameter when building:
42 .. zephyr-app-commands::
44 :goals: build
45 :gen-args: -DOPENOCD=<path/to/riscv-openocd/bin/openocd>
53 .. code-block:: console
[all …]
/Zephyr-Core-3.5.0/scripts/net/
Drun-sample-tests.sh3 # SPDX-License-Identifier: Apache-2.0
5 image=net-tools
6 name=net-tools
7 network=net-tools0
14 docker_test_script_name=docker-test.sh
24 if [ -z "$ZEPHYR_BASE" ]; then
27 elif [ ! -d "$ZEPHYR_BASE" ]; then
32 if [ -z "$NET_TOOLS_BASE" ]; then
39 l="$d/tools/net-tools"
40 if [ -d "$l" ]; then
[all …]
/Zephyr-Core-3.5.0/doc/develop/getting_started/
Dinstallation_linux.rst32 .. group-tab:: Ubuntu
34 .. code-block:: console
36 sudo apt-get update
37 sudo apt-get upgrade
39 .. group-tab:: Fedora
41 .. code-block:: console
45 .. group-tab:: Clear Linux
47 .. code-block:: console
51 .. group-tab:: Arch Linux
53 .. code-block:: console
[all …]
/Zephyr-Core-3.5.0/tests/arch/arm/arm_irq_advanced_features/
DREADME.txt1 Title: Test to verify advanced features of ARM Cortex-M interrupt handling.
9 installed at run-time in the software interrupt table.
10 Only for ARMv7-M and ARMv8-M Mainline targets.
15 cannot be masked-out by irq_lock()).
16 Only for ARMv7-M and ARMv8-M Mainline targets.
19 TrustZone-M enabled Cortex-M Mainline CPUs.
21 ---------------------------------------------------------------------------
28 ninja/make run
30 ---------------------------------------------------------------------------
34 Problems caused by out-dated project information can be addressed by
[all …]
/Zephyr-Core-3.5.0/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]'
39 local -a all_cmds=(${builtin_cmds} ${zephyr_ext_cmds})
41 if [[ -v WEST_COMP_CHECK_WORKSPACE ]]; then
[all …]

123