Home
last modified time | relevance | path

Searched +full:zephyr +full:- +full:env (Results 1 – 25 of 1156) sorted by relevance

12345678910>>...47

/Zephyr-latest/samples/posix/env/
DREADME.rst1 .. zephyr:code-sample:: posix-env
4 Manipulate environment variables from a Zephyr application.
20 .. zephyr-app-commands::
21 :zephyr-app: samples/posix/env
22 :host-os: unix
30 The program below shows sample output for a specific Zephyr build.
32 .. code-block:: console
35 BUILD_VERSION=zephyr-v3.5.0-5372-g3a46f2d052c7
47 .. code-block:: console
49 uart:~$ posix env set ALERT="Happy Friday!"
[all …]
/Zephyr-latest/cmake/toolchain/cross-compile/
Dgeneric.cmake1 # SPDX-License-Identifier: Apache-2.0
6 # It is a legacy mechanism that will in Zephyr translate to
7 # specifying ZEPHYR_TOOLCHAIN_VARIANT to 'cross-compile' with the location
10 # New users should set the env var 'ZEPHYR_TOOLCHAIN_VARIANT' to
11 # 'cross-compile' and the 'CROSS_COMPILE' env var to the toolchain
12 # prefix. This interface is consistent with the other non-"Zephyr SDK"
18 # The env var has the lowest precedence.
20 if((NOT (DEFINED CROSS_COMPILE)) AND (DEFINED ENV{CROSS_COMPILE}))
21 set(CROSS_COMPILE $ENV{CROSS_COMPILE})
31 message(STATUS "Found toolchain: cross-compile (${CROSS_COMPILE})")
/Zephyr-latest/scripts/tests/twister/
Dconftest.py1 #!/usr/bin/env python3
4 # SPDX-License-Identifier: Apache-2.0
22 return 'zephyr'
46 env = TwisterEnv(options)
47 env.board_roots = [os.path.join(test_data, "board_config", "1_level", "2_level")]
48 env.test_roots = [os.path.join(testsuites_dir, 'tests', testsuites_dir, 'samples')]
49 env.test_config = os.path.join(test_data, "test_config.yaml")
50 env.outdir = tmpdir_factory.mktemp("sanity_out_demo")
51 return env
57 env = class_env
[all …]
/Zephyr-latest/doc/_extensions/zephyr/domain/
D__init__.py2 Zephyr Extension
5 Copyright (c) 2023-2025 The Linux Foundation
6 SPDX-License-Identifier: Apache-2.0
8 This extension adds a new ``zephyr`` domain for handling the documentation of various entities
9 specific to the Zephyr RTOS project (ex. code samples).
12 ----------
14 - ``zephyr:code-sample::`` - Defines a code sample.
15 - ``zephyr:code-sample-category::`` - Defines a category for grouping code samples.
16 - ``zephyr:code-sample-listing::`` - Shows a listing of code samples found in a given category.
17 - ``zephyr:board-catalog::`` - Shows a listing of boards supported by Zephyr.
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
13 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
14 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
13 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
14 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
12 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
19 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
20 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/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
53 .. group-tab:: Windows
55 You can use the ``setx`` program in ``cmd.exe`` or the third-party RapidEE
[all …]
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
4 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
14 if(DEFINED ENV{LIB_LOCATION})
19 add_subdirectory($ENV{LIB_LOCATION} ${CMAKE_CURRENT_BINARY_DIR}/proprietary)
27 zephyr_include_directories($ENV{LIB_LOCATION}/${INCLUDE_DIR})
31 zephyr_link_libraries($ENV{LIB_LOCATION}/${LIB_DIR}/${LIB_NAME})
35 # this is an example for CMSIS-DSP backend
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
12 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
26 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
27 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
12 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
26 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
27 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 if (NOT DEFINED ENV{BSIM_COMPONENTS_PATH})
12 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
27 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
28 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/bsim/bluetooth/host/id/settings/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
17 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
18 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/bsim/bluetooth/host/scan/start_stop/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
12 # This contains babblesim-specific helpers, e.g. device synchronization.
17 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
18 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/misc/llext-edk/pytest/
Dtest_edk.py3 # SPDX-License-Identifier: Apache-2.0
24 if build_info["cmake"]["toolchain"]["name"] != "zephyr":
25 logger.warning("This test requires the Zephyr SDK to be used, skipping")
26 pytest.skip("The Zephyr SDK must be used")
34 "-b",
36 "-t",
37 "llext-edk",
38 "--build-dir",
47 logger.debug(f"Copying llext-edk.tar.xz to {tempdir}")
48 edk_path = Path(unlaunched_dut.device_config.build_dir) / "zephyr/llext-edk.tar.xz"
[all …]
/Zephyr-latest/tests/ztest/zexpect/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr COMPONENTS unittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
10 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
/Zephyr-latest/tests/bsim/bluetooth/host/scan/slow/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
14 # This contains babblesim-specific helpers, e.g. device synchronization.
19 $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
20 $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
/Zephyr-latest/tests/subsys/testsuite/fff_fake_contexts/
DCMakeLists.txt2 # SPDX-License-Identifier: Apache-2.0
6 find_package(Zephyr COMPONENTS unittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
9 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
/Zephyr-latest/tests/boards/nrf/coresight_stm/remote/
DCMakeLists.txt4 # SPDX-License-Identifier: Apache-2.0
9 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
12 target_sources(app PRIVATE $ENV{ZEPHYR_BASE}/samples/boards/nordic/coresight_stm/src/main.c)
/Zephyr-latest/cmake/app/
Dboilerplate.cmake1 # SPDX-License-Identifier: Apache-2.0
7 # To build a Zephyr application it must start with one of those lines:
9 # find_package(Zephyr)
10 # find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
12 # The `REQUIRED HINTS $ENV{ZEPHYR_BASE}` variant is required for any application
13 # inside the Zephyr repository.
18 # When `find_package(Zephyr)` is used then `Zephyr_DIR` is defined, else
20 message(WARNING "Loading of Zephyr boilerplate.cmake directly is deprecated, "
21 "please use 'find_package(Zephyr)'"
25 find_package(Zephyr REQUIRED PATHS ${CMAKE_CURRENT_LIST_DIR}/../.. NO_DEFAULT_PATH)
/Zephyr-latest/tests/ztest/base/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 find_package(Zephyr COMPONENTS unittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
9 add_definitions( -DCONFIG_BUGxxxxx )
12 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
/Zephyr-latest/.github/workflows/
Dissue_count.yml5 - cron: '*/10 * * * *'
7 env:
10 COMMITTER_NAME: github-actions
11 COMMITTER_USERNAME: github-actions
15 track-issues:
17 runs-on: ubuntu-22.04
18 if: github.repository == 'zephyrproject-rtos/zephyr'
21 - name: Download configuration file
23 …wget -q https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/.github/workflows/issues-report-
25 - name: install-packages
[all …]
/Zephyr-latest/tests/boards/nrf/coresight_stm/
DCMakeLists.txt4 # SPDX-License-Identifier: Apache-2.0
9 find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
17 target_sources(app PRIVATE $ENV{ZEPHYR_BASE}/samples/boards/nordic/coresight_stm/src/main.c)
/Zephyr-latest/tests/misc/llext-edk/extension/
DCMakeLists.txt3 set(CMAKE_C_COMPILER arm-zephyr-eabi-gcc)
4 set(CMAKE_FIND_ROOT_PATH $ENV{ZEPHYR_SDK_INSTALL_DIR}/arm-zephyr-eabi)
10 include($ENV{LLEXT_EDK_INSTALL_DIR}/cmake.cflags)
14 add_compile_options("-Werror")
15 add_compile_options("-c")
25 -o ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
30 --file ${PROJECT_NAME}.llext
/Zephyr-latest/doc/_extensions/zephyr/
Dlink-roles.py3 # SPDX-License-Identifier: Apache-2.0
5 # based on http://protips.readthedocs.io/link-roles.html
35 "git describe --exact-match", shell=True, stderr=subprocess.DEVNULL
40 return output.strip().decode("utf-8")
44 app.add_role("zephyr_file", modulelink("zephyr"))
45 app.add_role("zephyr_raw", modulelink("zephyr", format="raw"))
48 app.add_config_value("link_roles_manifest_baseurl", None, "env")
49 app.add_config_value("link_roles_manifest_project", None, "env")
50 app.add_config_value("link_roles_manifest_project_broken_links_ignore_globs", [], "env")
74 config = inliner.document.settings.env.app.config
[all …]

12345678910>>...47