Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 179) sorted by relevance

12345678

/hal_espressif-3.5.0/examples/openthread/ot_cli/main/
Desp_ot_iperf.c28 IPERF_FLAG_SET(cfg.flag, IPERF_FLAG_TCP); in esp_ot_process_iperf()
29 IPERF_FLAG_SET(cfg.flag, IPERF_FLAG_SERVER); in esp_ot_process_iperf()
48 IPERF_FLAG_SET(cfg.flag, IPERF_FLAG_CLIENT); in esp_ot_process_iperf()
49 IPERF_FLAG_CLR(cfg.flag, IPERF_FLAG_SERVER); in esp_ot_process_iperf()
54 IPERF_FLAG_SET(cfg.flag, IPERF_FLAG_SERVER); in esp_ot_process_iperf()
55 IPERF_FLAG_CLR(cfg.flag, IPERF_FLAG_CLIENT); in esp_ot_process_iperf()
59 IPERF_FLAG_SET(cfg.flag, IPERF_FLAG_UDP); in esp_ot_process_iperf()
60 IPERF_FLAG_CLR(cfg.flag, IPERF_FLAG_TCP); in esp_ot_process_iperf()
63 if (cfg.flag & IPERF_FLAG_SERVER) { in esp_ot_process_iperf()
/hal_espressif-3.5.0/components/freertos/test/
Dtest_preemption.c19 static volatile bool flag; variable
35 flag = true; in task_send_to_queue()
52 flag = false;
64 TEST_ASSERT( flag );
87 flag = false;
101 TEST_ASSERT( flag );
/hal_espressif-3.5.0/examples/common_components/iperf/include/
Diperf.h25 #define IPERF_FLAG_SET(cfg, flag) ((cfg) |= (flag)) argument
26 #define IPERF_FLAG_CLR(cfg, flag) ((cfg) &= (~(flag))) argument
56 uint32_t flag; member
/hal_espressif-3.5.0/tools/ldgen/
Dgeneration.py196 for flag in placement_flags:
197 if isinstance(flag, Mapping.Keep):
199 elif isinstance(flag, Mapping.Sort):
200 sort = (flag.first, flag.second)
202 surround_type.append(flag)
204 for flag in surround_type:
205 if flag.pre:
206 if isinstance(flag, Mapping.Surround):
207 … commands[placement.target].append(SymbolAtAddress('_%s_start' % flag.symbol))
209 commands[placement.target].append(AlignAtAddress(flag.alignment))
[all …]
/hal_espressif-3.5.0/components/nvs_flash/
DKconfig14 bool "NVS partition encrypted flag compatible with ESP-IDF before v4.3"
17 Enabling this will ignore "encrypted" flag for NVS partitions. NVS encryption
19 to have "encrypted" flag for NVS partitions. This was not being checked in pre v4.3
20 IDF. Hence, if you have any devices where this flag is kept enabled in partition
/hal_espressif-3.5.0/components/partition_table/
Dgen_esp32part.py338 for flag in flags:
339 if flag in cls.FLAGS:
340 setattr(res, flag, True)
341 elif len(flag) > 0:
342 raise InputError("CSV flag column contains unknown flag '%s'" % (flag))
436 for flag,bit in cls.FLAGS.items():
438 setattr(res, flag, True)
445 return [flag for flag in self.FLAGS.keys() if getattr(self, flag)]
448 flags = sum((1 << self.FLAGS[flag]) for flag in self.get_flags_list())
/hal_espressif-3.5.0/components/driver/test/
Dtest_i2s.c227 int flag = 0; // break loop flag variable
231 while (!flag) {
239 flag = 1;
294 int flag = 0; // break loop flag variable
298 while (!flag) {
306 flag = 1;
401 int flag = 0; // break loop flag variable
406 while (!flag) {
412 flag = 1;
508 int flag = 0; // break loop flag variable
[all …]
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_provisioning_api.c352 if (del_dev == NULL || (__builtin_popcount(del_dev->flag & val) != 1)) { in esp_ble_mesh_provisioner_delete_dev()
362 arg.provisioner_dev_del.del_dev.flag = del_dev->flag; in esp_ble_mesh_provisioner_delete_dev()
363 if (del_dev->flag & DEL_DEV_ADDR_FLAG) { in esp_ble_mesh_provisioner_delete_dev()
366 } else if (del_dev->flag & DEL_DEV_UUID_FLAG) { in esp_ble_mesh_provisioner_delete_dev()
405 if (prov_data_info == NULL || (__builtin_popcount(prov_data_info->flag & val) != 1)) { in esp_ble_mesh_provisioner_set_prov_data_info()
415 arg.set_prov_data_info.prov_data.flag = prov_data_info->flag; in esp_ble_mesh_provisioner_set_prov_data_info()
416 if (prov_data_info->flag & PROV_DATA_NET_IDX_FLAG) { in esp_ble_mesh_provisioner_set_prov_data_info()
418 } else if (prov_data_info->flag & PROV_DATA_FLAGS_FLAG) { in esp_ble_mesh_provisioner_set_prov_data_info()
420 } else if (prov_data_info->flag & PROV_DATA_IV_INDEX_FLAG) { in esp_ble_mesh_provisioner_set_prov_data_info()
/hal_espressif-3.5.0/components/console/argtable3/
Dargtable3.c218 int *flag; member
510 if (long_options[match].flag == NULL) in parse_long_options()
540 if (long_options[match].flag == NULL) in parse_long_options()
559 if (long_options[match].flag) { in parse_long_options()
560 *long_options[match].flag = long_options[match].val; in parse_long_options()
988 result->hdr.flag = ARG_HASVALUE; in arg_daten()
1608 result->hdr.flag = ARG_HASVALUE; in arg_dbln()
1732 result->hdr.flag = ARG_TERMINATOR; in arg_end()
1993 result->hdr.flag = ARG_HASVALUE; in arg_filen()
2346 result->hdr.flag = ARG_HASVALUE; in arg_intn()
[all …]
/hal_espressif-3.5.0/examples/ethernet/iperf/main/
Dcmd_ethernet.c107 cfg.flag |= IPERF_FLAG_SERVER; in eth_cmd_iperf()
112 cfg.flag |= IPERF_FLAG_CLIENT; in eth_cmd_iperf()
132 cfg.flag |= IPERF_FLAG_TCP; in eth_cmd_iperf()
134 cfg.flag |= IPERF_FLAG_UDP; in eth_cmd_iperf()
142 if (cfg.flag & IPERF_FLAG_SERVER) { in eth_cmd_iperf()
182 cfg.flag & IPERF_FLAG_TCP ? "tcp" : "udp", in eth_cmd_iperf()
183 cfg.flag & IPERF_FLAG_SERVER ? "server" : "client", in eth_cmd_iperf()
/hal_espressif-3.5.0/components/hal/include/hal/
Dtwai_hal.h35 #define TWAI_HAL_SET_BITS(var, flag) ((var) |= (flag)) argument
36 #define TWAI_HAL_CLEAR_BITS(var, flag) ((var) &= ~(flag)) argument
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_models/server/
Dstate_transition.c110 bt_mesh_atomic_set_bit(transition->flag, BLE_MESH_TRANS_TIMER_START); in transition_timer_start()
116 bt_mesh_atomic_clear_bit(transition->flag, BLE_MESH_TRANS_TIMER_START); in transition_timer_stop()
261 bt_mesh_atomic_clear_bit(srv->transition.flag, BLE_MESH_TRANS_TIMER_START); in generic_onoff_work_handler()
337 bt_mesh_atomic_clear_bit(srv->transition.flag, BLE_MESH_TRANS_TIMER_START); in generic_level_work_handler()
402 bt_mesh_atomic_clear_bit(srv->transition.flag, BLE_MESH_TRANS_TIMER_START); in generic_power_level_work_handler()
466 bt_mesh_atomic_clear_bit(srv->actual_transition.flag, BLE_MESH_TRANS_TIMER_START); in light_lightness_actual_work_handler()
528 bt_mesh_atomic_clear_bit(srv->linear_transition.flag, BLE_MESH_TRANS_TIMER_START); in light_lightness_linear_work_handler()
582 bt_mesh_atomic_clear_bit(srv->transition.flag, BLE_MESH_TRANS_TIMER_START); in light_ctl_work_handler()
641 bt_mesh_atomic_clear_bit(srv->transition.flag, BLE_MESH_TRANS_TIMER_START); in light_ctl_temp_work_handler()
698 bt_mesh_atomic_clear_bit(srv->transition.flag, BLE_MESH_TRANS_TIMER_START); in light_hsl_work_handler()
[all …]
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/
Dcmd_wifi.c343 cfg.flag |= IPERF_FLAG_SERVER; in wifi_cmd_iperf()
346 cfg.flag |= IPERF_FLAG_CLIENT; in wifi_cmd_iperf()
361 cfg.flag |= IPERF_FLAG_TCP; in wifi_cmd_iperf()
363 cfg.flag |= IPERF_FLAG_UDP; in wifi_cmd_iperf()
370 if (cfg.flag & IPERF_FLAG_SERVER) { in wifi_cmd_iperf()
398 cfg.flag & IPERF_FLAG_TCP ? "tcp" : "udp", in wifi_cmd_iperf()
399 cfg.flag & IPERF_FLAG_SERVER ? "server" : "client", in wifi_cmd_iperf()
/hal_espressif-3.5.0/examples/wifi/iperf/main/
Dcmd_wifi.c352 cfg.flag |= IPERF_FLAG_SERVER; in wifi_cmd_iperf()
355 cfg.flag |= IPERF_FLAG_CLIENT; in wifi_cmd_iperf()
364 cfg.flag |= IPERF_FLAG_TCP; in wifi_cmd_iperf()
366 cfg.flag |= IPERF_FLAG_UDP; in wifi_cmd_iperf()
379 if (cfg.flag & IPERF_FLAG_SERVER) { in wifi_cmd_iperf()
418 cfg.flag & IPERF_FLAG_TCP ? "tcp" : "udp", in wifi_cmd_iperf()
419 cfg.flag & IPERF_FLAG_SERVER ? "server" : "client", in wifi_cmd_iperf()
/hal_espressif-3.5.0/components/protocomm/src/common/
Dprotocomm.c84 uint32_t flag) in protocomm_add_endpoint_internal() argument
117 ep->flag = flag; in protocomm_add_endpoint_internal()
203 if (ep->flag & SEC_EP) { in protocomm_req_handle()
207 } else if (ep->flag & REQ_EP) { in protocomm_req_handle()
273 } else if (ep->flag & VER_EP) { in protocomm_req_handle()
/hal_espressif-3.5.0/components/freemodbus/tcp_slave/modbus_controller/
Dmbc_tcp_slave.c96 EventBits_t flag = xEventGroupSetBits(mbs_opts->mbs_event_group, in mbc_tcp_slave_start() local
98 MB_SLAVE_CHECK((flag & MB_EVENT_STACK_STARTED), in mbc_tcp_slave_start()
110 EventBits_t flag = xEventGroupClearBits(mbs_opts->mbs_event_group, in mbc_tcp_slave_destroy() local
112 MB_SLAVE_CHECK((flag & MB_EVENT_STACK_STARTED), in mbc_tcp_slave_destroy()
/hal_espressif-3.5.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/main/
Desp_timer_test.cpp186 int flag = 0; variable
188 function<void()> timer_cb = [&]() { flag = 47; }; in __anonc66a4bd70702()
195 CHECK(flag == 47);
/hal_espressif-3.5.0/examples/common_components/iperf/
Diperf.c36 … return ((s_iperf_ctrl.cfg.flag & IPERF_FLAG_CLIENT) && (s_iperf_ctrl.cfg.flag & IPERF_FLAG_UDP)); in iperf_is_udp_client()
41 … return ((s_iperf_ctrl.cfg.flag & IPERF_FLAG_SERVER) && (s_iperf_ctrl.cfg.flag & IPERF_FLAG_UDP)); in iperf_is_udp_server()
46 … return ((s_iperf_ctrl.cfg.flag & IPERF_FLAG_CLIENT) && (s_iperf_ctrl.cfg.flag & IPERF_FLAG_TCP)); in iperf_is_tcp_client()
51 … return ((s_iperf_ctrl.cfg.flag & IPERF_FLAG_SERVER) && (s_iperf_ctrl.cfg.flag & IPERF_FLAG_TCP)); in iperf_is_tcp_server()
/hal_espressif-3.5.0/components/freemodbus/serial_slave/modbus_controller/
Dmbc_serial_slave.c110 EventBits_t flag = xEventGroupSetBits(mbs_opts->mbs_event_group, in mbc_serial_slave_start() local
112 MB_SLAVE_CHECK((flag & MB_EVENT_STACK_STARTED), in mbc_serial_slave_start()
164 EventBits_t flag = xEventGroupClearBits(mbs_opts->mbs_event_group, in mbc_serial_slave_destroy() local
166 MB_SLAVE_CHECK((flag & MB_EVENT_STACK_STARTED), in mbc_serial_slave_destroy()
/hal_espressif-3.5.0/components/esp_timer/test/
Dtest_ets_timer.c220 volatile bool flag = false; variable
224 ets_timer_setfn(&timer1, &test_iram_timer_func, (void *)&flag);
237 TEST_ASSERT_FALSE(flag); // didn't expire yet
246 TEST_ASSERT_TRUE(flag);
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/smp/
Dsmp_cmac.c183 BOOLEAN flag; in cmac_prepare_last_block() local
187 flag = ((cmac_cb.len % BT_OCTET16_LEN) == 0 && cmac_cb.len != 0) ? TRUE : FALSE; in cmac_prepare_last_block()
189 SMP_TRACE_DEBUG("flag = %d round = %d", flag, cmac_cb.round); in cmac_prepare_last_block()
191 if ( flag ) { in cmac_prepare_last_block()
/hal_espressif-3.5.0/
DKconfig216 - The "Default" setting will add the -0g flag to CFLAGS.
217 - The "Size" setting will add the -0s flag to CFLAGS.
218 - The "Performance" setting will add the -O2 flag to CFLAGS.
219 - The "None" setting will add the -O0 flag to CFLAGS.
350 … - In NORMAL mode (GCC flag: -fstack-protector) only functions that call alloca, and functions with
353 …- STRONG mode (GCC flag: -fstack-protector-strong) is like NORMAL, but includes additional functio…
357 - In OVERALL mode (GCC flag: -fstack-protector-all) all functions are protected.
384 bool "Enable -Wwrite-strings warning flag"
387 Adds -Wwrite-strings flag for the C/C++ compilers.
398 bool "Enable -msave-restore flag to reduce code size"
[all …]
/hal_espressif-3.5.0/components/protocomm/src/transports/
Dprotocomm_console.c66 uint32_t flag = 0; in stopped() local
67 xTaskNotifyWait(0, 0, &flag, (TickType_t) 10/portTICK_RATE_MS); in stopped()
68 return (flag != 0); in stopped()
/hal_espressif-3.5.0/docs/en/api-guides/inc/
Dexternal-ram-esp32-notes.rst18 …ived the flag ``-mfix-esp32-psram-cache-issue`` to filter these sequences and only output the code…
20 Aside from linking to a recompiled version of Newlib with the additional flag, ESP-IDF also does th…
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/components/vendor_model/
Dgenie_reset.c49 static void genie_reset_set_flag(uint8_t flag) in genie_reset_set_flag() argument
51 g_genie_reset_flag = flag; in genie_reset_set_flag()

12345678