/Zephyr-latest/doc/develop/getting_started/ |
D | installation_linux.rst | 3 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 …]
|
D | installation_win.rst | 1 .. _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)`_. 35 .. _Install the Windows Subsystem for Linux (WSL): https://msdn.microsoft.com/en-us/commandline/wsl… argument
|
/Zephyr-latest/share/zephyr-package/cmake/ |
D | zephyr_export.cmake | 1 # SPDX-License-Identifier: Apache-2.0 3 # Purpose of this CMake file is to install a ZephyrConfig package reference in: 4 # Unix/Linux/MacOS: ~/.cmake/packages/Zephyr 9 # Create the reference by running `cmake -P zephyr_export.cmake` in this directory. 14 -E write_regv 15 …"HKEY_CURRENT_USER\\Software\\Kitware\\CMake\\Packages\\Zephyr\;${MD5_SUM}" "${CMAKE_CURRENT_LIST_… 18 file(WRITE $ENV{HOME}/.cmake/packages/Zephyr/${MD5_SUM} ${CMAKE_CURRENT_LIST_DIR}) 24 message("HKEY_CURRENT_USER\\Software\\Kitware\\CMake\\Packages\\Zephyr\n") 26 message("~/.cmake/packages/Zephyr\n")
|
D | zephyr_package_search.cmake | 1 # The purpose of this file is to provide search mechanism for locating Zephyr in-work-tree package 2 # even when they are not installed into CMake package system 3 # Linux/MacOS: ~/.cmake/packages 14 # `Zephyr_DIR-NOTFOUND` or pointing to the Zephyr package including the 22 "The directory containing a CMake configuration file for Zephyr." FORCE 43 # - ZEPHYR_BASE : Use the specified ZEPHYR_BASE directly. 44 # - WORKSPACE_DIR : Search for projects in specified workspace. 45 # - SEARCH_PARENTS : Search parent folder of current source file (application) 46 # to locate in-project-tree Zephyr candidates. 47 # - CHECK_ONLY : Only set PACKAGE_VERSION_COMPATIBLE to false if a better candidate [all …]
|
/Zephyr-latest/share/zephyrunittest-package/cmake/ |
D | zephyr_export.cmake | 1 # SPDX-License-Identifier: Apache-2.0 3 # Purpose of this CMake file is to install a ZephyrUnittestConfig package reference in: 4 # Unix/Linux/MacOS: ~/.cmake/packages/ZephyrUnittest 9 # Create the reference by running `cmake -P zephyr_export.cmake` in this directory. 14 -E write_regv 15 …"HKEY_CURRENT_USER\\Software\\Kitware\\CMake\\Packages\\ZephyrUnittest\;${MD5_SUM}" "${CMAKE_CURRE… 18 file(WRITE $ENV{HOME}/.cmake/packages/ZephyrUnittest/${MD5_SUM} ${CMAKE_CURRENT_LIST_DIR}) 24 message("HKEY_CURRENT_USER\\Software\\Kitware\\CMake\\Packages\\ZephyrUnittest\n") 26 message("~/.cmake/packages/ZephyrUnittest\n")
|
/Zephyr-latest/scripts/west_commands/ |
D | export.py | 3 # SPDX-License-Identifier: Apache-2.0 13 This command registers the current Zephyr installation as a CMake 14 config package in the CMake user package registry. 16 In Windows, the CMake user package registry is found in: 17 HKEY_CURRENT_USER\\Software\\Kitware\\CMake\\Packages\\ 19 In Linux and MacOS, the CMake user package registry is found in: 20 ~/.cmake/packages/''' 27 'zephyr-export', 28 # Keep this in sync with the string in west-commands.yml. 29 'export Zephyr installation as a CMake config package', [all …]
|
/Zephyr-latest/cmake/modules/ |
D | FindTargetTools.cmake | 1 # 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 …]
|
D | user_cache.cmake | 1 # SPDX-License-Identifier: Apache-2.0 8 # across builds to speed up CMake configure / build system generation and/or 11 # Only data that can be safely re-generated should be placed in this cache. 15 # See https://github.com/zephyrproject-rtos/zephyr/pull/7102 for details. 18 # The following variables will be defined when this CMake module completes: 20 # - USER_CACHE_DIR: User cache directory in use. 22 # If the above variable is already set when this CMake module is loaded, 26 # use only and may be removed, renamed, or re-purposed without prior notice. 48 # Assume Linux when we did not detect 'mac' or 'win' 50 # On Linux, freedesktop.org recommends using $XDG_CACHE_HOME if [all …]
|
/Zephyr-latest/cmake/bintools/oneApi/ |
D | target.cmake | 1 # SPDX-License-Identifier: Apache-2.0 10 find_program(CMAKE_AR llvm-ar ${find_program_clang_args} ) 14 find_program(CMAKE_NM llvm-nm ${find_program_clang_args} ) 16 # In OneApi installation directory on Windows, there is no llvm-objdump 18 # on Linux and Windows. 20 find_program(CMAKE_RANLIB llvm-ranlib ${find_program_clang_args} ) 21 find_program(CMAKE_OBJCOPY llvm-objcopy ${find_program_binutils_args}) 23 find_program(CMAKE_STRIP llvm-strip ${find_program_binutils_args}) 25 find_program(CMAKE_GDB gdb-oneapi) 28 include(${ZEPHYR_BASE}/cmake/bintools/llvm/target_bintools.cmake)
|
/Zephyr-latest/doc/develop/toolchains/ |
D | arm_compiler.rst | 11 - Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``armclang``. 12 - Set :envvar:`ARMCLANG_TOOLCHAIN_PATH` to the toolchain installation 20 .. code-block:: bash 22 # Linux, macOS, license file: 24 # Linux, macOS, license server: 27 .. code-block:: batch 36 …https://developer.arm.com/tools-and-software/software-development-tools/license-management/resourc… 38 ``/opt/armds-2020-1`` with a Gold license, then set :envvar:`ARM_PRODUCT_DEF` 39 to point to ``/opt/armds-2020-1/gold.elmap``. 45 Arm Compiler 6 support Zephyr's CMake linker script generator, which [all …]
|
D | other_x_compilers.rst | 6 This toolchain variant is borrowed from the Linux kernel build system's 8 GNU-based cross toolchain. 10 Examples of such "other cross compilers" are cross toolchains that your Linux 15 toolchain set-up mechanism itself is supported.) 21 For example, you might install the ``gcc-arm-none-eabi`` package on 22 Debian-based Linux systems, or ``arm-none-eabi-newlib`` on Fedora or Red 25 .. code-block:: console 28 sudo apt-get install gcc-arm-none-eabi 30 sudo dnf install arm-none-eabi-newlib 34 - Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``cross-compile``. [all …]
|
/Zephyr-latest/arch/posix/ |
D | CMakeLists.txt | 1 # 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/doc/contribute/documentation/ |
D | generation.rst | 11 .. _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_063_ble/doc/ |
D | index.rst | 6 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/cmake/toolchain/oneApi/ |
D | generic.cmake | 1 # SPDX-License-Identifier: Apache-2.0 13 set(ONEAPI_LLVM_BIN_PATH ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin-llvm) 22 set(triple x86_64-pc-none-elf) 24 set(triple i686-pc-none-elf) 27 if(system STREQUAL "linux") 33 # icx compiler of oneApi will invoke clang-cl on windows, 37 # compiling target variables of cmake, so used other 38 # cmake functions to pass them to clang. 41 list(APPEND CMAKE_REQUIRED_FLAGS --target=${triple}) 42 add_compile_options(--target=${triple}) [all …]
|
/Zephyr-latest/boards/ti/msp_exp432p401r_launchxl/doc/ |
D | index.rst | 6 The SimpleLink MSP‐EXP432P401R LaunchPad development kit is an easy-to-use evaluation 8 developing on the SimpleLink MSP432 low-power + performance ARM |reg| 32-bit Cortex |reg|-M4F 14 * Low-power ARM Cortex-M4F MSP432P401R 15 * 40-pin LaunchPad development kit standard that leverages the BoosterPack plug-in module ecosystem 16 * XDS110-ET, an open-source onboard debug probe featuring EnergyTrace+ technology and application 21 Details on the MSP-EXP432P401R LaunchXL development board can be found in the 22 MSP-EXP432P401R LaunchXL User's Guide. 27 .. zephyr:board-supported-hw:: 29 * The on-board 32-kHz crystal allows for lower LPM3 sleep currents and a higher-precision clock sou… 30 …default internal 32-kHz REFOCLK. Therefore, the presence of the crystal allows the full range of l… [all …]
|
/Zephyr-latest/boards/infineon/cy8ckit_062s2_ai/doc/ |
D | index.rst | 6 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/boards/infineon/cyw920829m2evk_02/doc/ |
D | index.rst | 6 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/http_client/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-http-client 3 :relevant-api: bsd_sockets http_client tls_credentials secure_sockets_options 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 45 :conf: "prj.conf overlay-tls.conf" [all …]
|
/Zephyr-latest/doc/develop/ |
D | beyond-GSG.rst | 1 .. _beyond-gsg: 6 The :ref:`getting_started` gives a straight-forward path to set up 7 your Linux, macOS, or Windows environment for Zephyr development. In 11 .. _python-pip: 22 ``--user`` flag to the ``pip3`` command when installing new packages. This is 25 information about pip\ [#pip]_, including `information on -\\-user`_. 27 - On Linux, make sure ``~/.local/bin`` is at the front of your :envvar:`PATH` 28 :ref:`environment variable <env_vars>`, or programs installed with ``--user`` 29 won't be found. Installing with ``--user`` avoids conflicts between pip 30 and the system package manager, and is the default on Debian-based [all …]
|
/Zephyr-latest/doc/develop/tools/ |
D | clion.rst | 9 the IDE's CMake integration. This approach is no longer optimal. 13 valid if you prefer to use CMake. 15 CLion_ is a cross-platform C/C++ IDE that supports multi-threaded RTOS debugging. 18 :zephyr:code-sample:`multi-thread-blinky` sample in CLion. 21 same for macOS and Linux, but make sure to select the correct environment file and to adjust the 32 This guide gives details on how to build and debug the :zephyr:code-sample:`multi-thread-blinky` 34 layout <west-workspaces>`. 42 #. In CLion, click :guilabel:`Open` on the Welcome screen or select :menuselection:`File --> Open` 55 Configure the toolchain and CMake profile 58 CLion will open the :guilabel:`Open Project Wizard` with the CMake profile settings. If that does [all …]
|
/Zephyr-latest/doc/contribute/style/ |
D | code.rst | 16 In general, follow the `Linux kernel coding style`_, with the following 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
|
/Zephyr-latest/boards/infineon/cy8ckit_062s4/doc/ |
D | index.rst | 5 …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/scripts/west_commands/zspdx/ |
D | cmakecache.py | 1 # Copyright (c) 2021 The Linux Foundation 3 # SPDX-License-Identifier: Apache-2.0 11 log.dbg(f"parsing CMake cache file at {filePath}") 18 # walk through and look for non-comment, non-empty lines
|
/Zephyr-latest/samples/net/sockets/websocket_client/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-websocket-client 3 :relevant-api: bsd_sockets websocket 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 46 :conf: "prj.conf overlay-tls.conf" [all …]
|