Home
last modified time | relevance | path

Searched refs:variable (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/Zephyr-latest/boards/common/
Drenode_robot.board.cmake5 # `--variable` is a renode-test argument, for setting a variable that can be later used in a .robot…
6 # ELF: used in common.robot to set the `elf` variable in the default .resc script defined i…
11 board_runner_args(renode-robot "--renode-robot-arg=--variable=ELF:@${PROJECT_BINARY_DIR}/${KERNEL_E…
12 board_runner_args(renode-robot "--renode-robot-arg=--variable=RESC:@${RENODE_SCRIPT}")
13 board_runner_args(renode-robot "--renode-robot-arg=--variable=UART:${RENODE_UART}")
14 board_runner_args(renode-robot "--renode-robot-arg=--variable=KEYWORDS:${ZEPHYR_BASE}/tests/robot/c…
15 board_runner_args(renode-robot "--renode-robot-arg=--variable=RESULTS_DIR:${APPLICATION_BINARY_DIR}…
Dopenocd-nrf5.board.cmake7 # Boards which don't meet this convention can set this variable before
20 "To fix, set CMake variable OPENOCD_NRF5_SUBFAMILY.")
/Zephyr-latest/cmake/sca/eclair/ECL/
Ddb_generation.ecl3 # NEEDED: set the variable for the binary output directory from the environment
4 # variable.
7 # NEEDED: set the variable for the ECLAIR project database from the environment
8 # variable.
11 # NEEDED: set the variable for the output directory from the environment
12 # variable.
/Zephyr-latest/doc/kernel/services/synchronization/
Dcondvar.rst6 A :dfn:`condition variable` is a synchronization primitive
17 condition variable is referenced by its memory address.
20 variable.
22 A condition variable is basically a queue of threads that threads can put
28 #. Puts the current thread in the condition variable queue.
38 A condition variable must be initialized before it can be used.
47 A condition variable is defined using a variable of type :c:struct:`k_condvar`.
50 The following code defines a condition variable:
58 Alternatively, a condition variable can be defined and initialized at compile time
72 The following code waits on the condition variable.
[all …]
/Zephyr-latest/doc/kernel/services/other/
Dthread_local_storage.rst24 :kconfig:option:`CONFIG_ERRNO` to let the variable ``errno`` be a thread local
25 variable. This allows user threads to access the value of ``errno`` without
34 For example, to declare a thread local variable in header files:
40 And to declare the actual variable in source files:
46 Keyword ``static`` can also be used to limit the variable within a source file:
52 Using the thread local variable is the same as using other variable, for example:
Datomic.rst6 An :dfn:`atomic variable` is one that can be read and modified
7 by threads and ISRs in an uninterruptible manner. It is a 32-bit variable on
8 32-bit machines and a 64-bit variable on 64-bit machines.
19 Using the kernel's atomic APIs to manipulate an atomic variable
21 even if higher priority contexts also manipulate the same variable.
32 An atomic variable is defined using a variable of type :c:type:`atomic_t`.
34 By default an atomic variable is initialized to zero. However, it can be given
44 An atomic variable is manipulated using the APIs listed at the end of
47 The following code shows how an atomic variable can be used to keep track
105 Use an atomic variable to implement critical section processing that only
/Zephyr-latest/scripts/
Dsnippets.py54 def append_value(variable, value): argument
55 if variable in ('SB_EXTRA_CONF_FILE', 'EXTRA_DTC_OVERLAY_FILE', 'EXTRA_CONF_FILE'):
60 if variable in ('DTS_EXTRA_CPPFLAGS'):
64 for variable, value in snippet_data.get('append', {}).items():
65 if (sysbuild is True and variable[0:3] == 'SB_') or \
66 (sysbuild is False and variable[0:3] != 'SB_'):
67 self.appends[variable].append(append_value(variable, value))
72 for variable, value in settings.get('append', {}).items():
73 if (sysbuild is True and variable[0:3] == 'SB_') or \
74 (sysbuild is False and variable[0:3] != 'SB_'):
[all …]
/Zephyr-latest/samples/posix/env/
DREADME.rst12 If the user sets a new value for the ``ALERT`` environment variable, it is printed to standard
41 The shell command below shows how to create a new environment variable or update the value
42 associated with an existing environment variable.
45 ``ALERT`` environment variable and then immediately unsets it.
58 The shell command below may be used to display the value associated with one environment variable.
/Zephyr-latest/cmake/modules/
DFindTargetTools.cmake34 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html:
41 # variable is used for constructing the file names of the platform files
46 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_PROCESSOR.html:
51 # target system. This variable is not used very much except for one
58 # https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_VERSION.html:
59 # When the CMAKE_SYSTEM_NAME variable is set explicitly to enable cross
64 # https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_BYTE_ORDER.html
68 # this setting to allow users to read the standard CMake variable or use
Dconfiguration_files.cmake21 # loaded, then no changes to the variable will happen.
60 The CACHED_CONF_FILE is internal Zephyr variable used between CMake runs. \
61 To change CONF_FILE, use the CONF_FILE variable." ${CONF_FILE_FORCE_CACHE})
63 # The CONF_FILE variable is now set to its final value.
92 # The DTC_OVERLAY_FILE variable is now set to its final value.
Dextensions.cmake383 # Set the output variable in the parent scope
410 # with a name accessible through the variable ZEPHYR_CURRENT_LIBRARY.
412 # The variable ZEPHYR_CURRENT_LIBRARY should seldom be needed since
938 # variable `ACTIVE_BOARD_REVISION` with the selected revision.
1159 key_value # Output variable
1539 # Writes 1 to the output variable 'ok' if
1561 # pow2round(<variable>)
1611 # zephyr_build_string(<out-variable>
1613 # [SHORT <out-variable>]
1618 # zephyr_build_string(<out-variable>
[all …]
Dshields.cmake16 # - SHIELD_AS_LIST : A CMake list of shields created from the SHIELD variable.
22 # If the SHIELD variable is changed after this module completes,
63 # We also create a SHIELD_DIR_${name} variable for each shield's directory.
84 # Add <shield>.overlay to the shield_dts_files output variable.
90 # Add the shield's directory to the SHIELD_DIRS output variable.
Dversion.cmake87 set(MAJOR ${${type}_VERSION_MAJOR}) # Temporary convenience variable
88 set(MINOR ${${type}_VERSION_MINOR}) # Temporary convenience variable
89 set(PATCH ${${type}_PATCHLEVEL}) # Temporary convenience variable
90 set(TWEAK ${${type}_VERSION_TWEAK}) # Temporary convenience variable
/Zephyr-latest/share/sysbuild/cmake/modules/
Dsysbuild_extensions.cmake47 # sysbuild_get(<variable> IMAGE <image> [VAR <image-variable>] <KCONFIG|CACHE>)
49 # This function will return the variable found in the CMakeCache.txt file
52 # `VAR` is not given, the `<variable>` name provided will be used both for
55 # The result will be returned in `<variable>`.
60 # and return the value in the local variable `PROJECT_NAME`.
64 # and return the value in the local variable `my_sample_PROJECT_NAME`.
68 # and return the value in the local variable `my_sample_CONFIG_FOO`.
70 # <variable>: variable used for returning CMake cache value. Also used as lookup
71 # variable if `VAR` is not provided.
72 # IMAGE: image name identifying the cache to use for variable lookup.
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/settings_mgmt/
DKconfig48 variable if placed on the stack or the maximum allocated size of the
49 variable if placed on the heap.
56 variable if placed on the stack or the allocated size of the
57 variable if placed on the heap (settings does not support getting
/Zephyr-latest/scripts/coccinelle/
Dreturnvar.cocci2 /// Remove unneeded variable used to store return value.
56 coccilib.report.print_report(p1[0], "Unneeded variable: \"" + ret +
66 cocci.print_main("unneeded \"" + ret + "\" variable", p1)
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/
DCMakeLists.txt15 message(STATUS "LIB_LOCATION environment variable defined")
34 message(STATUS "LIB_LOCATION environment variable NOT defined")
/Zephyr-latest/cmake/toolchain/cross-compile/
Dgeneric.cmake4 # toolchain with a single environment variable.
15 # It can be set from either the environment or from a CMake variable
/Zephyr-latest/arch/common/
Drom_start_address.ld9 * snippets-rom-start.ld. This variable is used in rom_start_offset.ld
/Zephyr-latest/doc/connectivity/networking/api/
Ddns_resolve.rst19 :kconfig:option:`CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES` Kconfig variable.
27 enabled by setting the :kconfig:option:`CONFIG_LLMNR_RESOLVER` Kconfig variable.
/Zephyr-latest/samples/boards/st/backup_sram/
DREADME.rst4 Use Backup SRAM to store a variable that persists across power cycles.
12 This example shows how to define a variable on the Backup SRAM. Each time the
/Zephyr-latest/tests/cmake/zephyr_get/
DCMakeLists.txt47 # - assert_equal(<variable> <expected-value>)
49 # - assert_equal(<variable>
54 function(assert_equal variable expected_value)
55 if("${variable}" MATCHES "{.+}$")
56 string(CONFIGURE "$${variable}" actual_value)
58 set(actual_value "${${variable}}")
83 set(info "${TEST_NAME}: ${variable} == '${actual_value}'")
98 # Test with a local variable not controlled by sysbuild.
133 # Test with an external variable provided in testcase.yaml
187 # Test with a local variable not controlled by sysbuild.
[all …]
/Zephyr-latest/subsys/
DCMakeLists.txt3 # FIXME: SHADOW_VARS: move this before adding shadow variable warning below.
6 # shadow variable warnings being active on these files. Until the module has
/Zephyr-latest/scripts/ci/
Dpylintrc117 undefined-variable,
118 undefined-all-variable,
213 global-variable-not-assigned,
215 unused-variable,
216 undefined-loop-variable,
218 possibly-unused-variable,
/Zephyr-latest/samples/boards/st/ccm/
DREADME.rst13 By prefixing a variable with __ccm_data_section, __ccm_bss_section,
64 Checking initial variable values: ... PASSED
66 Initial variable values:
110 Checking initial variable values: ... PASSED
112 Initial variable values:

12345678910>>...12