Home
last modified time | relevance | path

Searched full:toolchain (Results 1 – 25 of 1658) sorted by relevance

12345678910>>...67

/Zephyr-latest/doc/develop/toolchains/
Dcustom_cmake.rst6 To use a custom toolchain defined in an external CMake file, :ref:`set these
9 - Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to your toolchain's name
11 toolchain's CMake configuration files.
13 Zephyr will then include the toolchain cmake files located in the
16 - :file:`cmake/toolchain/<toolchain name>/generic.cmake`: configures the
17 toolchain for "generic" use, which mostly means running the C preprocessor
20 - :file:`cmake/toolchain/<toolchain name>/target.cmake`: configures the
21 toolchain for "target" use, i.e. building Zephyr and your application's
24 Here <toolchain name> is the same as the name provided in
43 settings in a file named :file:`my-toolchain.cmake`, you can then invoke cmake
[all …]
Diar_arm_toolchain.rst3 IAR Arm Toolchain
6 #. Download and install a release of `IAR Arm Toolchain`_ (EWARM/CXARM) on your host.
17 IAR Arm toolchain is used for Zephyr RTOS build, still the GNU preprocessor & GNU objcopy might
23 - Set :envvar:`IAR_TOOLCHAIN_PATH` to the toolchain installation directory.
25 #. The IAR Toolchain needs the :envvar:`IAR_LMS_BEARER_TOKEN` environment
46 The IAR Toolchain uses ``ilink`` for linking. This is incompatible with Zephyr’s
47 linker script template, which works with GNU ld. Zephyr’s IAR Arm Toolchain depends on
54 The IAR Toolchain uses the GNU Assembler which is distributed with the Zephyr SDK
62 .. _IAR Arm Toolchain: https://www.iar.com/products/architectures/arm/
Ddesignware_arc_mwdt.rst13 Even though ARC MWDT toolchain is used for Zephyr RTOS build, still the GNU preprocessor & GNU
16 … To setup ARC GNU toolchain please use SDK Bundle (Full or Minimal) instead of manual installation
17 of separate tarballs. It installs and registers toolchain and host tools in the system,
18 that allows you to avoid toolchain related issues while building Zephyr.
23 - Set :envvar:`ARCMWDT_TOOLCHAIN_PATH` to the toolchain installation directory. MWDT installation
28 If you have only one ARC MWDT toolchain version installed on your machine you may skip setting
Dother_x_compilers.rst6 This toolchain variant is borrowed from the Linux kernel build system's
8 GNU-based cross toolchain.
15 toolchain set-up mechanism itself is supported.)
36 toolchain's binaries have, e.g. the path to the directory containing the
53 When using this option, all of your toolchain binaries must reside in the same
59 ``-``). If your toolchain is installed in ``/opt/mytoolchain/bin`` with binary
/Zephyr-latest/subsys/testsuite/include/zephyr/
Dtest_toolchain.h10 #include <zephyr/toolchain.h>
20 * @brief Toolchain-specific warning for allocations larger than a given size.
31 * @brief Toolchain-specific warning for dangling pointers.
42 * @brief Toolchain-specific warning for format truncation.
53 * @brief Toolchain-specific warning for infinite recursion.
64 * @brief Toolchain-specific warning for integer overflow.
75 * @brief Toolchain-specific warning for integer overflow.
86 * @brief Toolchain-specific warning for unknown pragmas.
97 * @brief Toolchain-specific warning for sizeof array decay.
108 * @brief Toolchain-specific warning for stringop overflow.
[all …]
/Zephyr-latest/include/zephyr/
Dtoolchain.h9 * @brief Macros to abstract toolchain specific capabilities
12 * utilize toolchain specific attributes and/or pragmas.
30 * on the toolchain-specific headers to define HAS_BUILTIN_x for the builtins
40 #include <toolchain/other.h>
42 #include <zephyr/toolchain/xcc.h>
44 #include <zephyr/toolchain/mwdt.h>
46 #include <zephyr/toolchain/armclang.h>
48 #include <zephyr/toolchain/iar.h>
50 #include <zephyr/toolchain/llvm.h>
52 #include <zephyr/toolchain/gcc.h>
[all …]
/Zephyr-latest/cmake/modules/
DFindHostTools.cmake75 # Default to the host system's toolchain if we are targeting a host based target
83 # Prevent CMake from testing the toolchain
89 # Support for out-of-tree toolchain
92 # Default toolchain cmake file
99 # but in case Zephyr's SDK toolchain is used, set TOOLCHAIN_HOME
104 set(TOOLCHAIN_ROOT ${TOOLCHAIN_ROOT} CACHE STRING "Zephyr toolchain root" FORCE)
105 assert(TOOLCHAIN_ROOT "Zephyr toolchain root path invalid: please set the TOOLCHAIN_ROOT-variable")
108 set(ZEPHYR_TOOLCHAIN_VARIANT ${ZEPHYR_TOOLCHAIN_VARIANT} CACHE STRING "Zephyr toolchain variant")
110 # Configure the toolchain based on what SDK/toolchain is in use.
111 include(${TOOLCHAIN_ROOT}/cmake/toolchain/${ZEPHYR_TOOLCHAIN_VARIANT}/generic.cmake)
[all …]
DFindZephyr-sdk.cmake12 # SDK and based on user / environment settings of selected toolchain decide if
23 # Zephyr toolchain variant to use if not defined already.
52 # Load Zephyr SDK Toolchain.
54 # 1) Zephyr specified as toolchain (ZEPHYR_SDK_INSTALL_DIR still used if defined)
55 # 2) No toolchain specified == Default to Zephyr toolchain
62 # No toolchain was specified, so inform user that we will be searching.
76 # The Zephyr SDK will automatically set the toolchain variant.
78 # then we keep track of current toolchain variant.
/Zephyr-latest/boards/intel/adsp/
Dtwister.yaml3 toolchain:
16 toolchain:
40 toolchain:
46 toolchain:
53 toolchain:
/Zephyr-latest/cmake/toolchain/cross-compile/
DKconfig5 bool "Cross-compile toolchain supports TLS"
8 Set this if the cross-compile toolchain being used for the build
12 bool "Cross-compile toolchain supports GNU Extensions"
15 Set this if the cross-compile toolchain being used for the build
Dgeneric.cmake4 # toolchain with a single environment variable.
11 # 'cross-compile' and the 'CROSS_COMPILE' env var to the toolchain
31 message(STATUS "Found toolchain: cross-compile (${CROSS_COMPILE})")
/Zephyr-latest/boards/intel/adsp/doc/
Dintel_adsp_ace15_mtpm.rst16 Xtensa Toolchain
19 If you choose to build with the Xtensa toolchain instead of the Zephyr SDK, set
21 Xtensa toolchain environment variables listed in :ref:`intel_adsp_generic`.
29 For older versions of the toolchain, set the toolchain variant to ``xcc``.
/Zephyr-latest/cmake/toolchain/espressif/
Dgeneric.cmake12 # find some toolchain
19 # Old toolchain installation path has been deprecated in 2.7.
22 # find some toolchain
52 "Unable to find toolchain in ${TOOLCHAIN_HOME} "
56 set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
/Zephyr-latest/cmake/toolchain/llvm/
Dgeneric.cmake30 # Support for newlib is indicated by the presence of '_newlib_version.h' in the toolchain path.
34 set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
37 # Support for picolibc is indicated by the presence of 'picolibc.h' in the toolchain path.
40 set(TOOLCHAIN_HAS_PICOLIBC ON CACHE BOOL "True if toolchain supports picolibc")
44 message(STATUS "Found toolchain: llvm (clang/ld)")
/Zephyr-latest/include/zephyr/toolchain/
Darmclang.h11 #error Please do not include toolchain-specific headers directly, use <zephyr/toolchain.h> instead
14 #include <zephyr/toolchain/llvm.h>
/Zephyr-latest/include/zephyr/linker/
Dlinker-tool.h9 * @brief Toolchain-agnostic linker defs
12 * definitions (based on the toolchain) for the linker script.
26 #error "Unknown toolchain"
/Zephyr-latest/scripts/coredump/gdbstubs/arch/
Dxtensa.py32 # what toolchain Zephyr was built with; it assumed sample_controller
38 # SDK and Cadence's XCC toolchain. With the same SOC APL,
43 # only be built with Espressif's toolchain, but it's included for
52 def get_gdb_reg_definition(soc, toolchain): argument
58 if toolchain == XtensaToolchain.ZEPHYR:
60 elif toolchain == XtensaToolchain.XCC:
62 elif toolchain == XtensaToolchain.ESPRESSIF:
63 logger.error("Can't use espressif toolchain with CAVS. " +
159 # Get SOC and toolchain to get correct format for unpack
164 self.toolchain = XtensaToolchain(bytearray(arch_data_blk)[3])
[all …]
/Zephyr-latest/doc/develop/languages/c/
Dpicolibc.rst44 :ref:`toolchain-bundled Picolibc in the Zephyr SDK
49 Toolchain Picolibc
56 The toolchain version of Picolibc can be enabled by de-selecting
60 For every release of Zephyr, the toolchain-bundled Picolibc and the
65 Building Without Toolchain bundled Picolibc
68 For toolchain where there is no bundled Picolibc, it is still
73 To build without toolchain bundled Picolibc, the toolchain must
75 this needs to be added to the toolchain Kconfig file:
85 when there is no toolchain bundled Picolibc.
/Zephyr-latest/cmake/
Dverify-toolchain.cmake2 # defined for proper toolchain use.
8 # cmake [options] -P verify-toolchain.cmake
16 message(FATAL_ERROR "verify-toolchain.cmake is a script and must be invoked "
17 "as:\n 'cmake ... -P verify-toolchain.cmake'\n"
Dtarget_toolchain_flags.cmake1 # Uniquely identify the toolchain wrt. its capabilities.
7 # the MD5 will also change (as example toolchain upgrade in same folder)
35 # a new toolchain.
40 # Configure the toolchain flags based on what toolchain technology is used
/Zephyr-latest/cmake/toolchain/xcc/
Dgeneric.cmake3 include(${ZEPHYR_BASE}/cmake/toolchain/xcc/common.cmake)
12 -imacros${ZEPHYR_BASE}/include/zephyr/toolchain/xcc_missing_defs.h
25 message(STATUS "Found toolchain: xcc (${XTENSA_TOOLCHAIN_PATH})")
/Zephyr-latest/cmake/toolchain/host/
Dgeneric.cmake7 set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib")
9 message(STATUS "Found toolchain: host (gcc/ld)")
/Zephyr-latest/boards/telink/tlsr9518adk80d/doc/
Dindex.rst117 To build applications using the default RISC-V toolchain from Zephyr SDK, just run the west build c…
125 To use `Telink RISC-V Linux Toolchain`_, ``ZEPHYR_TOOLCHAIN_VARIANT`` and ``CROSS_COMPILE`` variabl…
127 toolchain is compatible only with the float point unit usage.
131 # Set Zephyr toolchain variant to cross-compile
133 # Specify the Telink RISC-V Toolchain location
138 `Telink RISC-V Linux Toolchain`_ is available on the `Burning and Debugging Tools for TLSR9 Series …
167 - Download `Telink RISC-V Linux Toolchain`_. The toolchain contains tools for the board flashing as…
180 # From the root of the {path to the Telink RISC-V Linux Toolchain}/ice repository
183 - Now you should be able to run the west flash command with the toolchain path specified (TELINK_TO…
189 - You can also run the west flash command without toolchain path specification if add SPI_burn and …
[all …]
/Zephyr-latest/boards/snps/nsim/arc_v/doc/
Dindex.rst45 The supported toolchains are listed in ``toolchain:`` array in ``.yaml`` file, where we can find:
47 * **zephyr** - implies RISC-V GNU toolchain from Zephyr SDK. You can find more information about
49 * **cross-compile** - implies RISC-V GNU cross toolchain, which is not a part of Zephyr SDK. Note t…
50 some (especially new) board targets may declare ``cross-compile`` toolchain support without
51 ``zephyr`` toolchain support because corresponding target CPU support hasn't been added to Zephyr
53 * **arcmwdt** - implies proprietary ARC MWDT toolchain. You can find more information about its
57 Note that even if both GNU and MWDT toolchain support is declared for the target some tests or
58 samples can be only built with either GNU or MWDT toolchain due to some features limited to a
59 particular toolchain.
139 * GNU & MWDT toolchain compiler options
[all …]
/Zephyr-latest/boards/amd/acp_6_0_adsp/doc/
Dindex.rst39 Xtensa Toolchain (optional)
44 building with the proprietary Xtensa toolchain from Cadence
48 installed the toolchain(s) and core(s) for your board following
51 If you choose to build with the Xtensa toolchain instead of the Zephyr SDK, set
53 Xtensa toolchain environment variable listed below.

12345678910>>...67