Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 1552) sorted by relevance

12345678910>>...63

/Zephyr-Core-3.5.0/tests/posix/common/src/
Dsignal.c16 sigset_t set; in ZTEST() local
18 for (int i = 0; i < ARRAY_SIZE(set.sig); i++) { in ZTEST()
19 set.sig[i] = -1; in ZTEST()
22 zassert_ok(sigemptyset(&set)); in ZTEST()
24 for (int i = 0; i < ARRAY_SIZE(set.sig); i++) { in ZTEST()
25 zassert_equal(set.sig[i], 0u, "set.sig[%d] is not empty: 0x%lx", i, set.sig[i]); in ZTEST()
31 sigset_t set = (sigset_t){0}; in ZTEST()
33 zassert_ok(sigfillset(&set)); in ZTEST()
35 for (int i = 0; i < ARRAY_SIZE(set.sig); i++) { in ZTEST()
36 zassert_equal(set.sig[i], -1, "set.sig[%d] is not filled: 0x%lx", i, set.sig[i]); in ZTEST()
[all …]
/Zephyr-Core-3.5.0/cmake/
Dgcc-m-cpu.cmake8 set(GCC_M_CPU cortex-m0)
10 set(GCC_M_CPU cortex-m0plus)
12 set(GCC_M_CPU cortex-m1)
14 set(GCC_M_CPU cortex-m3)
16 set(GCC_M_CPU cortex-m4)
18 set(GCC_M_CPU cortex-m7)
20 set(GCC_M_CPU cortex-m23)
23 set(GCC_M_CPU cortex-m33)
25 set(GCC_M_CPU cortex-m33+nodsp)
29 set(GCC_M_CPU cortex-m55)
[all …]
Dgcc-m-fpu.cmake12 set(GCC_M_FPU vfpv3-d16)
14 set(GCC_M_FPU vfpv3xd)
17 set(GCC_M_FPU ${GCC_M_FPU}-fp16)
21 set(GCC_M_FPU neon-fp-armv8)
23 set(GCC_M_FPU fpv5-sp-d16)
29 set(PRECISION_TOKEN)
31 set(PRECISION_TOKEN sp-)
34 set(FPU_FOR_cortex-m4 fpv4-${PRECISION_TOKEN}d16)
35 set(FPU_FOR_cortex-m7 fpv5-${PRECISION_TOKEN}d16)
36 set(FPU_FOR_cortex-m33 fpv5-${PRECISION_TOKEN}d16)
[all …]
/Zephyr-Core-3.5.0/cmake/toolchain/espressif/
Dtarget.cmake4 assert( ESPRESSIF_TOOLCHAIN_PATH "ESPRESSIF_TOOLCHAIN_PATH is not set")
6 set(COMPILER gcc)
7 set(LINKER ld)
8 set(BINTOOLS gnu)
10 set(CROSS_COMPILE_TARGET_xtensa_esp32 xtensa-esp32-elf)
11 set(CROSS_COMPILE_TARGET_xtensa_esp32s2 xtensa-esp32s2-elf)
12 set(CROSS_COMPILE_TARGET_xtensa_esp32s3 xtensa-esp32s3-elf)
13 set(CROSS_COMPILE_TARGET_riscv_esp32c3 riscv32-esp-elf)
15 set(CROSS_COMPILE_TARGET ${CROSS_COMPILE_TARGET_${ARCH}_${CONFIG_SOC}})
16 set(SYSROOT_TARGET ${CROSS_COMPILE_TARGET})
[all …]
Dgeneric.cmake4 assert( ESPRESSIF_TOOLCHAIN_PATH "ESPRESSIF_TOOLCHAIN_PATH is not set")
6 set(TOOLCHAIN_HOME ${ESPRESSIF_TOOLCHAIN_PATH})
8 set(COMPILER gcc)
9 set(LINKER ld)
10 set(BINTOOLS gnu)
28 set(ESPRESSIF_DEPRECATED_PATH TRUE)
37 set(CROSS_COMPILE_TARGET ${one_toolchain})
38 set(SYSROOT_TARGET ${one_toolchain})
41 set(CROSS_COMPILE ${ESPRESSIF_TOOLCHAIN_PATH}/bin/${CROSS_COMPILE_TARGET}-)
42 set(SYSROOT_DIR ${ESPRESSIF_TOOLCHAIN_PATH}/${SYSROOT_TARGET})
[all …]
/Zephyr-Core-3.5.0/samples/posix/uname/src/
Dmain.c49 unsigned int set; in uname_cmd_handler() local
54 set = 0; in uname_cmd_handler()
62 set = UNAME_ALL; in uname_cmd_handler()
67 set |= UNAME_KERNEL; in uname_cmd_handler()
71 set |= UNAME_NODE; in uname_cmd_handler()
75 set |= UNAME_RELEASE; in uname_cmd_handler()
79 set |= UNAME_VERSION; in uname_cmd_handler()
83 set |= UNAME_MACHINE; in uname_cmd_handler()
87 if (set != UNAME_ALL) { in uname_cmd_handler()
88 set |= UNAME_UNKNOWN; in uname_cmd_handler()
[all …]
/Zephyr-Core-3.5.0/boards/
Ddeprecated.cmake9 # set(<old_board_name>_DEPRECATED <new_board_name>)
11 set(bl5340_dvk_cpuappns_DEPRECATED bl5340_dvk_cpuapp_ns)
12 set(bt6x0_DEPRECATED bt610)
13 set(mps2_an521_nonsecure_DEPRECATED mps2_an521_ns)
14 set(musca_b1_nonsecure_DEPRECATED musca_b1_ns)
15 set(musca_s1_nonsecure_DEPRECATED musca_s1_ns)
16 set(nrf5340dk_nrf5340_cpuappns_DEPRECATED nrf5340dk_nrf5340_cpuapp_ns)
17 set(nrf9160dk_nrf9160ns_DEPRECATED nrf9160dk_nrf9160_ns)
18 set(circuitdojo_feather_nrf9160ns_DEPRECATED circuitdojo_feather_nrf9160_ns)
19 set(nrf9160_innblue21ns_DEPRECATED nrf9160_innblue21_ns)
[all …]
/Zephyr-Core-3.5.0/cmake/toolchain/xtools/
Dtarget.cmake3 set(CROSS_COMPILE_TARGET_arm arm-zephyr-eabi)
4 set(CROSS_COMPILE_TARGET_arm64 aarch64-zephyr-elf)
5 set(CROSS_COMPILE_TARGET_nios2 nios2-zephyr-elf)
6 set(CROSS_COMPILE_TARGET_riscv riscv64-zephyr-elf)
7 set(CROSS_COMPILE_TARGET_mips mipsel-zephyr-elf)
8 set(CROSS_COMPILE_TARGET_xtensa xtensa-zephyr-elf)
9 set(CROSS_COMPILE_TARGET_arc arc-zephyr-elf)
10 set(CROSS_COMPILE_TARGET_x86 x86_64-zephyr-elf)
11 set(CROSS_COMPILE_TARGET_sparc sparc-zephyr-elf)
13 set(CROSS_COMPILE_TARGET ${CROSS_COMPILE_TARGET_${ARCH}})
[all …]
/Zephyr-Core-3.5.0/modules/openthread/
DCMakeLists.txt4 set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
7 set(OT_BUILD_EXECUTABLES OFF CACHE BOOL "Disable OpenThread samples")
8 set(OT_BUILTIN_MBEDTLS_MANAGEMENT OFF CACHE BOOL "Use Zephyr's mbedTLS heap")
9 set(OT_PLATFORM "zephyr" CACHE STRING "Zephyr as a target platform")
10 set(OT_THREAD_VERSION ${CONFIG_OPENTHREAD_THREAD_VERSION} CACHE STRING "User selected Thread stack …
11 set(OT_CLI_TRANSPORT "CONSOLE" CACHE STRING "Set CLI to use console interpreter")
15 set(
24 set(OT_FTD ON CACHE BOOL "Enable FTD" FORCE)
25 set(OT_MTD OFF CACHE BOOL "Enable MTD" FORCE)
27 set(OT_FTD OFF CACHE BOOL "Enable FTD" FORCE)
[all …]
/Zephyr-Core-3.5.0/include/zephyr/net/
Dsocket_select.h65 void ZSOCK_FD_ZERO(zsock_fd_set *set);
79 int ZSOCK_FD_ISSET(int fd, zsock_fd_set *set);
93 void ZSOCK_FD_CLR(int fd, zsock_fd_set *set);
107 void ZSOCK_FD_SET(int fd, zsock_fd_set *set);
121 static inline void FD_ZERO(zsock_fd_set *set) in FD_ZERO() argument
123 ZSOCK_FD_ZERO(set); in FD_ZERO()
126 static inline int FD_ISSET(int fd, zsock_fd_set *set) in FD_ISSET() argument
128 return ZSOCK_FD_ISSET(fd, set); in FD_ISSET()
131 static inline void FD_CLR(int fd, zsock_fd_set *set) in FD_CLR() argument
133 ZSOCK_FD_CLR(fd, set); in FD_CLR()
[all …]
/Zephyr-Core-3.5.0/cmake/compiler/
Dcompiler_features.cmake1 set(c23id c2x gnu2x)
2 set(c17id c17 c18 gnu17 gnu18 "iso9899:2017" "iso9899:2018")
3 set(c11id c11 gnu11 "iso9899:2011")
4 set(c99id c99 gnu99 "iso9899:1999")
5 set(c90id c89 c90 gnu89 gnu90 "iso9899:1990" "iso9899:199409")
7 set(compile_features_list)
14 # that can then be used to set CMAKE_C_COMPILE_FEATURES accordingly.
18 set(compile_features_${id} ${compile_features_list})
22 set(compile_features_cpp98 cxx_std_98)
23 set(compile_features_cpp11 cxx_std_11 ${compile_features_cpp98})
[all …]
/Zephyr-Core-3.5.0/cmake/toolchain/gnuarmemb/
Dgeneric.cmake4 assert( GNUARMEMB_TOOLCHAIN_PATH "GNUARMEMB_TOOLCHAIN_PATH is not set")
10 set(TOOLCHAIN_HOME ${GNUARMEMB_TOOLCHAIN_PATH})
12 set(COMPILER gcc)
13 set(LINKER ld)
14 set(BINTOOLS gnu)
16 set(CROSS_COMPILE_TARGET arm-none-eabi)
17 set(SYSROOT_TARGET arm-none-eabi)
19 set(CROSS_COMPILE ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-)
20 set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
21 set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
/Zephyr-Core-3.5.0/cmake/toolchain/xcc/
Dcommon.cmake4 assert( XTENSA_TOOLCHAIN_PATH "XTENSA_TOOLCHAIN_PATH is not set")
10 set(TOOLCHAIN_HOME ${XTENSA_TOOLCHAIN_PATH}/$ENV{TOOLCHAIN_VER}/XtensaTools)
12 set(LINKER ld)
13 set(BINTOOLS gnu)
15 set(CROSS_COMPILE_TARGET xt)
16 set(SYSROOT_TARGET xtensa-elf)
18 set(CROSS_COMPILE ${TOOLCHAIN_HOME}/bin/${CROSS_COMPILE_TARGET}-)
19 set(SYSROOT_DIR ${TOOLCHAIN_HOME}/${SYSROOT_TARGET})
21 set(NOSYSDEF_CFLAG "")
25 set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib")
/Zephyr-Core-3.5.0/cmake/modules/
Dversion.cmake9 # ``*VERSION*`` and other constants set by
39 set(VERSION_FILE ${ZEPHYR_BASE}/VERSION ${APPLICATION_SOURCE_DIR}/VERSION)
40 set(VERSION_TYPE KERNEL APP)
51 set(${type}_VERSION_MAJOR ${CMAKE_MATCH_1})
54 set(${type}_VERSION_MINOR ${CMAKE_MATCH_1})
57 set(${type}_PATCHLEVEL ${CMAKE_MATCH_1})
60 set(${type}_VERSION_TWEAK ${CMAKE_MATCH_1})
63 set(${type}_VERSION_EXTRA ${CMAKE_MATCH_1})
66set(${type}_VERSION_WITHOUT_TWEAK ${${type}_VERSION_MAJOR}.${${type}_VERSION_MINOR}.${${type}_PATC…
69 set(MAJOR ${${type}_VERSION_MAJOR}) # Temporary convenience variable
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Dsar.c39 struct bt_mesh_sar_tx set, rsp; in cmd_tx_set() local
42 set.seg_int_step = shell_strtoul(argv[1], 0, &err); in cmd_tx_set()
43 set.unicast_retrans_count = shell_strtoul(argv[2], 0, &err); in cmd_tx_set()
44 set.unicast_retrans_without_prog_count = shell_strtoul(argv[3], 0, &err); in cmd_tx_set()
45 set.unicast_retrans_int_step = shell_strtoul(argv[4], 0, &err); in cmd_tx_set()
46 set.unicast_retrans_int_inc = shell_strtoul(argv[5], 0, &err); in cmd_tx_set()
47 set.multicast_retrans_count = shell_strtoul(argv[6], 0, &err); in cmd_tx_set()
48 set.multicast_retrans_int = shell_strtoul(argv[7], 0, &err); in cmd_tx_set()
56 bt_mesh_shell_target_ctx.dst, &set, &rsp); in cmd_tx_set()
92 struct bt_mesh_sar_rx set, rsp; in cmd_rx_set() local
[all …]
/Zephyr-Core-3.5.0/tests/net/socket/select/src/
Dmain.c35 fd_set set; in ZTEST_USER() local
38 zassert_equal(sizeof(set.bitset), sizeof(uint32_t) * 2, ""); in ZTEST_USER()
40 FD_ZERO(&set); in ZTEST_USER()
41 zassert_equal(set.bitset[0], 0, ""); in ZTEST_USER()
42 zassert_equal(set.bitset[1], 0, ""); in ZTEST_USER()
43 zassert_false(FD_ISSET(0, &set), ""); in ZTEST_USER()
45 FD_SET(0, &set); in ZTEST_USER()
46 zassert_true(FD_ISSET(0, &set), ""); in ZTEST_USER()
48 FD_CLR(0, &set); in ZTEST_USER()
49 zassert_false(FD_ISSET(0, &set), ""); in ZTEST_USER()
[all …]
/Zephyr-Core-3.5.0/cmake/toolchain/llvm/
Dtarget.cmake4 set(LINKER ld)
6 set(LINKER lld)
12 set(triple armv8m.main-none-eabi)
15 set(triple armv8m.base-none-eabi)
19 set(triple armv7m-cros-eabi)
23 set(triple armv6m-none-eabi)
26 set(triple arm-none-eabi)
29 set(CMAKE_EXE_LINKER_FLAGS_INIT "--specs=nosys.specs")
32 set(triple x86_64-pc-none-elf)
34 set(triple i686-pc-none-elf)
[all …]
/Zephyr-Core-3.5.0/lib/posix/
Dsignal.c29 int sigemptyset(sigset_t *set) in sigemptyset() argument
31 *set = (sigset_t){0}; in sigemptyset()
35 int sigfillset(sigset_t *set) in sigfillset() argument
37 for (int i = 0; i < ARRAY_SIZE(set->sig); i++) { in sigfillset()
38 set->sig[i] = -1; in sigfillset()
44 int sigaddset(sigset_t *set, int signo) in sigaddset() argument
51 WRITE_BIT(set->sig[SIGNO_WORD_IDX(signo)], SIGNO_WORD_BIT(signo), 1); in sigaddset()
56 int sigdelset(sigset_t *set, int signo) in sigdelset() argument
63 WRITE_BIT(set->sig[SIGNO_WORD_IDX(signo)], SIGNO_WORD_BIT(signo), 0); in sigdelset()
68 int sigismember(const sigset_t *set, int signo) in sigismember() argument
[all …]
/Zephyr-Core-3.5.0/boards/arm/b_u585i_iot02a/support/
Dopenocd.cfg3 set WORKAREASIZE 0x8000
7 set CHIPNAME STM32U575ZITxQ
8 set BOARDNAME B-U585I-IOT02A
11 set ENABLE_LOW_POWER 1
14 set STOP_WATCHDOG 1
17 set CLOCK_FREQ 8000
23 set CONNECT_UNDER_RESET 1
24 set CORE_RESET 0
27 set AP_NUM 0
29 set GDB_PORT 3333
/Zephyr-Core-3.5.0/boards/arm/nucleo_u575zi_q/support/
Dopenocd.cfg3 set WORKAREASIZE 0x8000
7 set CHIPNAME STM32U575ZITxQ
8 set BOARDNAME NUCLEO-U575ZI-Q
11 set ENABLE_LOW_POWER 1
14 set STOP_WATCHDOG 1
17 set CLOCK_FREQ 8000
23 set CONNECT_UNDER_RESET 1
24 set CORE_RESET 0
27 set AP_NUM 0
29 set GDB_PORT 3333
/Zephyr-Core-3.5.0/boards/arm/nucleo_u5a5zj_q/support/
Dopenocd.cfg3 set WORKAREASIZE 0x8000
7 set CHIPNAME STM32U5A5ZJTxQ
8 set BOARDNAME NUCLEO-U5A5ZJ-Q
11 set ENABLE_LOW_POWER 1
14 set STOP_WATCHDOG 1
17 set CLOCK_FREQ 8000
23 set CONNECT_UNDER_RESET 1
24 set CORE_RESET 0
27 set AP_NUM 0
29 set GDB_PORT 3333
/Zephyr-Core-3.5.0/boards/arc/qemu_arc/
Dboard.cmake1 set(SUPPORTED_EMU_PLATFORMS qemu)
3 set(QEMU_CPU_TYPE_${ARCH} arc)
6 set(QEMU_CPU_TYPE_${ARCH} arcem)
7 set(QEMU_FLAGS_${ARCH} -cpu arcem)
9 set(QEMU_CPU_TYPE_${ARCH} archs)
10 set(QEMU_FLAGS_${ARCH} -cpu archs)
12 set(QEMU_ARCH arc)
13 set(QEMU_CPU_TYPE_${ARCH} hs5x)
14 set(QEMU_FLAGS_${ARCH} -cpu hs5x)
16 set(QEMU_ARCH arc64)
[all …]
/Zephyr-Core-3.5.0/cmake/toolchain/arcmwdt/
Dgeneric.cmake5 set(METAWARE_ROOT $ENV{METAWARE_ROOT})
7 …message(STATUS "ARCMWDT_TOOLCHAIN_PATH is not set, use default toolchain from METAWARE_ROOT: '${ME…
25 set(TOOLCHAIN_HOME ${ZEPHYR_SDK_INSTALL_DIR})
27 set(ZEPHYR_SDK_CROSS_COMPILE ${CROSS_COMPILE})
29 # find_package(Zephyr-sdk) if it's already set
30 set(ZEPHYR_TOOLCHAIN_VARIANT arcmwdt)
32 set(TOOLCHAIN_HOME ${ARCMWDT_TOOLCHAIN_PATH}/MetaWare)
34 set(COMPILER arcmwdt)
35 set(LINKER arcmwdt)
36 set(BINTOOLS arcmwdt)
[all …]
/Zephyr-Core-3.5.0/boards/riscv/neorv32/support/
Dneorv32.cfg5 set _CHIPNAME $CHIPNAME
7 set _CHIPNAME neorv32
11 set _WORKAREASIZE $WORKAREASIZE
13 set _WORKAREASIZE 256
17 set _WORKAREAADDR $WORKAREAADDR
19 set _WORKAREAADDR 0x80000000
23 set _CPUTAPID $CPUTAPID
25 set _CPUTAPID 0x0cafe001
31 set _TARGETNAME $_CHIPNAME.cpu
/Zephyr-Core-3.5.0/cmake/toolchain/oneApi/
Dgeneric.cmake12 set(TOOLCHAIN_HOME ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin/)
13 set(ONEAPI_LLVM_BIN_PATH ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin-llvm)
16 set(ONEAPI_TOOLCHAIN_PATH ${ONEAPI_TOOLCHAIN_PATH} CACHE PATH "oneApi install directory")
18 set(LINKER lld)
19 set(BINTOOLS oneApi)
22 set(triple x86_64-pc-none-elf)
24 set(triple i686-pc-none-elf)
28 set(COMPILER icx)
29 set(CMAKE_C_COMPILER_TARGET ${triple})
30 set(CMAKE_ASM_COMPILER_TARGET ${triple})
[all …]

12345678910>>...63