Home
last modified time | relevance | path

Searched +full:do +full:- +full:cmake +full:- +full:linux (Results 1 – 25 of 58) sorted by relevance

123

/Zephyr-latest/doc/develop/getting_started/
Dinstallation_linux.rst3 Install Linux Host Dependencies
6 Documentation is available for these Linux distributions:
10 * Clear Linux
11 * Arch Linux
32 .. 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
[all …]
Dinstallation_win.rst1 .. _win-setup-alts:
6 .. _win-wsl:
8 Windows 10 WSL (Windows Subsystem for Linux)
12 built-in functionality to natively run Ubuntu binaries directly on a standard
13 command-prompt. This allows you to use software such as the :ref:`Zephyr SDK
17 Windows 10 version 1803 has an issue that will cause CMake to not work
21 #. `Install the Windows Subsystem for Linux (WSL)`_.
32 .. NOTE FOR DOCS AUTHORS: as a reminder, do *NOT* put dependencies for building
35 .. _Install the Windows Subsystem for Linux (WSL): https://msdn.microsoft.com/en-us/commandline/wsl… argument
Dindex.rst8 - Set up a command-line Zephyr development environment on Ubuntu, macOS, or
9 Windows (instructions for other Linux distributions are discussed in
11 - Get the source code
12 - Build, flash, and run a sample application
23 .. group-tab:: Ubuntu
26 If you are using a different Linux distribution see :ref:`installation_linux`.
28 .. code-block:: bash
33 .. group-tab:: macOS
39 <https://support.apple.com/en-us/HT201541>`_.
41 .. group-tab:: Windows
[all …]
/Zephyr-latest/boards/infineon/cy8cproto_063_ble/doc/
Dindex.rst6 The PSOC 6 BLE Proto Kit (CY8CPROTO-063-BLE) is a hardware platform that
12 For more information about the PSOC 63 BLE MCU SoC and CY8CPROTO-063-BLE board:
14 - `PSOC 63 BLE MCU SoC Website`_
15 - `PSOC 63 BLE MCU Datasheet`_
16 - `PSOC 63 BLE MCU Architecture Reference Manual`_
17 - `PSOC 63 BLE MCU Register Reference Manual`_
18 - `CY8CPROTO-063-BLE Website`_
19 - `CY8CPROTO-063-BLE User Guide`_
20 - `CY8CPROTO-063-BLE Schematics`_
25 .. zephyr:board-supported-hw::
[all …]
/Zephyr-latest/arch/posix/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
4 message(FATAL_ERROR "The POSIX architecture only works on Linux. If on Windows or macOS "
5 "consider using a virtual machine to run a Linux guest.")
12 # For ex. target_compile_options(native_simulator INTERFACE "-m64")
16 # For ex. target_link_options(native_simulator INTERFACE "-lstdc++")
29 …roperty(TARGET native_simulator APPEND PROPERTY LOCALIZE_EXTRA_OPTIONS "--localize-symbol=spinel*")
33 # Check https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_LINK_LIBRARIES.html for more
42 if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/${CMAKE_HOST_SYSTEM_NAME}.${CMAKE_HOST_SYSTEM_PROCESSOR}.cmake)
44 include(${CMAKE_HOST_SYSTEM_NAME}.${CMAKE_HOST_SYSTEM_PROCESSOR}.cmake)
45 else() # Linux.x86_64
[all …]
/Zephyr-latest/cmake/modules/
DFindTargetTools.cmake1 # SPDX-License-Identifier: Apache-2.0
7 # +---------------------------------------------------------------+
9 # +---------------------------------------------------------------+
10 # | Target C-compiler | Yes | |
13 # +---------------------------------------------------------------+
19 # Set to 'CMAKE_C_COMPILER-NOTFOUND' if no C compiler was found.
30 # Prevent CMake from testing the toolchain
34 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html:
35 # The name of the operating system for which CMake is to build.
37 # https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling:
[all …]
/Zephyr-latest/boards/infineon/cyw920829m2evk_02/doc/
Dindex.rst6 The AIROC™ CYW20829 Bluetooth® LE MCU Evaluation Kit (CYW920829M2EVK-02) with its included on-board…
8- M33s for powering the MCU and Bluetooth subsystem with programmable and reconfigurable analog an…
13 For more information about the CYW20829 SoC and CYW920829M2EVK-02 board:
15 - `CYW20829 SoC Website`_
16 - `CYW920829M2EVK-02 Board Website`_
21 - AIROC™ CYW20829 Bluetooth® LE MCU in 56 pin QFN package
22 - Arduino compatible headers for hardware expansion
23 - On-board sensors - 6-axis IMU, Thermistor, Infineon analog microphone, and Infineon digital micro…
24 - User switches, RGB LED and user LEDs
25 - USB connector for power, programming and USB-UART bridge
[all …]
/Zephyr-latest/samples/net/sockets/websocket_client/
DREADME.rst1 .. zephyr:code-sample:: sockets-websocket-client
3 :relevant-api: bsd_sockets websocket
10 This sample application implements a Websocket client that will do an HTTP
20 - :ref:`networking_with_host`
28 Build websocket-client sample application like this:
30 .. zephyr-app-commands::
31 :zephyr-app: samples/net/sockets/websocket_client
41 ``overlay-tls.conf`` overlay file enabled using these commands:
43 .. zephyr-app-commands::
44 :zephyr-app: samples/net/sockets/websocket_client
[all …]
/Zephyr-latest/doc/contribute/style/
Dcode.rst16 In general, follow the `Linux kernel coding style`_, with the following
22 * Add braces to every ``if``, ``else``, ``do``, ``while``, ``for`` and
23 ``switch`` body, even for single-line code blocks.
25 * Use C89-style single line comments, ``/* */``. The C99-style single line
29 * Avoid using non-ASCII symbols in code, unless it significantly improves
32 ``uart``, ``CMake`` and not ``cmake``).
35 https://kernel.org/doc/html/latest/process/coding-style.html
Dindex.rst11 cmake.rst
22 The Linux kernel GPL-licensed tool ``checkpatch`` is used to check
29 code, make the file *$ZEPHYR_BASE/.git/hooks/pre-commit* executable and edit
32 .. code-block:: bash
35 set -e exec
36 exec git diff --cached | ${ZEPHYR_BASE}/scripts/checkpatch.pl -
39 before pushing on zephyr repo. To do this, make the file
40 *$ZEPHYR_BASE/.git/hooks/pre-push* executable and edit it to contain:
42 .. code-block:: bash
53 do
[all …]
/Zephyr-latest/boards/infineon/cy8ckit_062s2_ai/doc/
Dindex.rst6 The PSOC 6 AI Evaluation Kit (CY8CKIT-062S2-AI) is a cost effective and small development kit that
8 It includes a CY8C624ABZI-S2D44 MCU which is based on a 150-MHz Arm |reg| Cortex |reg|-M4 and
9 a 100-MHz Arm |reg| Cortex |reg|-M0+, with 2048 KB of on-chip Flash, 1024 KB of SRAM,
10 a Quad-SPI external memory interface, built-in hardware and software security features,
13 The board features an AIROC |reg| CYW43439 Wi-Fi & Bluetooth |reg| combo device,
20 For more information about the CY8C624ABZI-S2D44 MCU SoC and CY8CKIT-062S2-AI board:
22 - `CY8C624ABZI-S2D44 MCU SoC Website`_
23 - `CY8C624ABZI-S2D44 MCU Datasheet`_
24 - `CY8CKIT-062S2-AI Website`_
25 - `CY8CKIT-062S2-AI User Guide`_
[all …]
/Zephyr-latest/samples/net/sockets/http_client/
DREADME.rst1 .. zephyr:code-sample:: sockets-http-client
3 :relevant-api: bsd_sockets http_client tls_credentials secure_sockets_options
10 This sample application implements an HTTP(S) client that will do an HTTP
19 - :ref:`networking_with_host`
27 Build the http-client sample application like this:
29 .. zephyr-app-commands::
30 :zephyr-app: samples/net/sockets/http_client
40 ``overlay-tls.conf`` overlay file enabled using these commands:
42 .. zephyr-app-commands::
43 :zephyr-app: samples/net/sockets/http_client
[all …]
/Zephyr-latest/boards/infineon/cy8ckit_062s4/doc/
Dindex.rst5 …ioneer kit has a CY8C62x4 MCU, which is an ultra-low-power PSOC device specifically designed for b…
6 …g applications. It includes a 150-MHz Arm® Cortex®-M4 CPU as the primary application processor, a …
7 supports low-power operations, up to 256 KB Flash and 128 KB SRAM, programmable analog sensing,
8 CapSense™ touch-sensing, and programmable digital peripherals.
11 programmer/debugger (KitProg3), a 512-Mbit Quad SPI NOR flash, a micro-B connector for USB device
12 interface, a thermistor, an ambient light sensor, a 5-segment CapSense™ slider, two CapSense™ butto…
27 .. zephyr:board-supported-hw::
32 +-----------+------------+-----------------------+
36 +-----------+------------+-----------------------+
38 +-----------+------------+-----------------------+
[all …]
/Zephyr-latest/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
51 rtd [shape="rectangle" label="read-the-docs\ntheme"]
56 images -> sphinx
57 rst -> sphinx
58 conf -> sphinx
59 header -> doxygen
60 doxygen -> xml
[all …]
/Zephyr-latest/boards/infineon/cy8cproto_062_4343w/doc/
Dindex.rst6 The CY8CPROTO-062-4343W PSOC 6 Wi-Fi BT Prototyping Kit is a low-cost hardware
8 LBEE5KL1DX module, based on the CYW4343W combo device, industry-leading CAPSENSE
9 for touch buttons and slider, on-board debugger/programmer with KitProg3, microSD
10 card interface, 512-Mb Quad-SPI NOR flash, PDM-PCM microphone, and a thermistor.
12 This kit is designed with a snap-away form-factor, allowing the user to separate
19 For more information about the PSOC 62 MCU SoC and CY8CPROTO-062-4343W board:
21 - `PSOC 62 MCU SoC Website`_
22 - `PSOC 62 MCU Datasheet`_
23 - `PSOC 62 MCU Architecture Reference Manual`_
24 - `PSOC 62 MCU Register Reference Manual`_
[all …]
/Zephyr-latest/doc/develop/
Denv_vars.rst6 Various pages in this documentation refer to setting Zephyr-specific
13 -------------------
20 .. group-tab:: Linux/macOS
22 .. code-block:: console
26 .. group-tab:: Windows
28 .. code-block:: console
41 --------------------------
45 .. group-tab:: Linux/macOS
48 your home directory. For Bash, this is usually :file:`~/.bashrc` on Linux
53 .. group-tab:: Windows
[all …]
/Zephyr-latest/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`
13 These terms are defined below. On Linux/macOS, <home> is equivalent to
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
37 application. This directory contains all application-specific files, such as
38 application-specific configuration files and source code.
42 .. code-block:: none
55 application files, and links the application directory with Zephyr's CMake
[all …]
/Zephyr-latest/doc/develop/test/
Dbsim.rst15 When we build Zephyr targeting a :ref:`bsim board<bsim boards>` we produce a Linux
18 When there is radio activity, this Linux executable will connect to the BabbleSim Phy simulation
94 .. code-block:: bash
106 .. code-block:: bash
124 .. code-block:: bash
130 .. code-block:: bash
138 ---------
144 -------------
150 cmake and ninja with the provided application, configuration and overlay files.
155 Note that cmake and ninja are used directly instead of the ``west build`` wrapper as west is not
[all …]
/Zephyr-latest/doc/build/
Dzephyr_cmake_package.rst3 Zephyr CMake Package
6 The Zephyr `CMake package`_ is a convenient way to create a Zephyr-based application.
9 The :ref:`zephyr-app-types` section introduces the application types
12 The Zephyr CMake package ensures that CMake can automatically select a Zephyr installation to use f…
13 the application, whether it is a :ref:`Zephyr repository application <zephyr-repo-app>`,
14 a :ref:`Zephyr workspace application <zephyr-workspace-app>`, or a
15 :ref:`Zephyr freestanding application <zephyr-freestanding-app>`.
17 When developing a Zephyr-based application, then a developer simply needs to write
20 To use the Zephyr CMake package it must first be exported to the `CMake user package registry`_.
22 CMake user package registry.
[all …]
/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
96 '''Helper class for printing a Snippets's semantics to a .cmake
97 include file for use by snippets.cmake.'''
111 # Change to linux-style paths for windows to avoid cmake escape character code issues
124 # WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY!
128 # of Zephyr's snippets CMake module.
163 board_re = board[1:-1]
[all …]
/Zephyr-latest/boards/native/native_sim/doc/
Dindex.rst3 Native simulator - native_sim
16 the Zephyr kernel, and libraries, creating a normal Linux executable.
63 .. zephyr-app-commands::
64 :zephyr-app: samples/hello_world
65 :host-os: unix
75 Run the ``zephyr.exe`` executable as you would any other Linux console application.
77 .. code-block:: console
84 You can run it with the ``--help`` command line switch to get a list of
87 .. code-block:: console
89 $ ./build/zephyr/zephyr.exe --help
[all …]
/Zephyr-latest/doc/develop/west/
Dzephyr-cmds.rst1 .. _west-zephyr-ext-cmds:
6 This page documents miscellaneous :ref:`west-zephyr-extensions`.
8 .. _west-boards:
21 specify the display format yourself you can use the ``--format`` (or ``-f``)
24 west boards -f "{arch}:{name}"
28 west boards -h
30 .. _west-completion:
40 - bash
41 - zsh
42 - fish
[all …]
/Zephyr-latest/boards/openisa/rv32m1_vega/doc/
Dindex.rst8 The VEGAboard contains the RV32M1 SoC, featuring two RISC-V CPUs,
9 on-die XIP flash, and a full complement of peripherals, including a
10 2.4 GHz multi-protocol radio. It also has built-in sensors and
11 Arduino-style expansion connectors.
13 The two RISC-V CPUs are named RI5CY and ZERO-RISCY, and are
15 `RI5CY`_ and `ZERO-RISCY`_. RI5CY is the "main" core; it has more
16 flash and RAM as well as a more powerful CPU design. ZERO-RISCY is a
17 "secondary" core. The main ZERO-RISCY use-case is as a wireless
30 RV32M1 multi-core SoC:
32 - 1 MiB flash and 192 KiB SRAM (RI5CY core)
[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
49 You can actually do this on any machine (and any OS) with Chrome
51 device ID (for example "DELBIN-XHVI D4B-H4D-G4G-Q9A-A9P" for the Asus
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
71 .. code-block:: console
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Denvironment.py4 # Copyright (c) 2018-2025 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
86 --test tests/kernel/fifo/fifo_api/kernel.fifo
[all …]

123