Home
last modified time | relevance | path

Searched full:if (Results 1 – 25 of 4308) sorted by relevance

12345678910>>...173

/hal_espressif-3.5.0/.gitlab/ci/
Drules.yml174 # if anchors #
176 .if-ref-master: &if-ref-master
177 if: '$CI_COMMIT_REF_NAME == "master"'
179 .if-tag-release: &if-tag-release
180 if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
182 .if-protected: &if-protected
183if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /…
185 .if-protected-no_label: &if-protected-no_label
186if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /…
188 .if-dev-push: &if-dev-push
[all …]
DREADME.md5 - [What if Expected Jobs ARE NOT Created?](#what-if-expected-jobs-are-not-created)
13 - [How to Add a New `if` Anchor?](#how-to-add-a-new-if-anchor)
16 - [`if` Anchors Naming Rules](#if-anchors-naming-rules)
28 4. if you push a new commit, a new pipeline will be created automatically.
30 ## What if Expected Jobs ARE NOT Created?
34If you found a job that is not running as expected with some file changes, a git commit to improve…
80 - `pattern`: Defined in an array. A GitLab job will be created if the changed files in this MR matc…
87 - `label`: Defined in an if clause, similar as the previous bot command. A GitLab job will be creat…
90 .if-label-build_docs: &if-label-build_docs
91if: '$BOT_LABEL_BUILD_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+…
[all …]
/hal_espressif-3.5.0/components/bt/host/bluedroid/
DKconfig.in25 default 0 if BT_BLUEDROID_PINNED_TO_CORE_0
26 default 1 if BT_BLUEDROID_PINNED_TO_CORE_1
128 This enables the Secure Simple Pairing. If disable this option,
192 default 0 if BT_GATTS_SEND_SERVICE_CHANGE_AUTO
193 default 1 if BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
211 int "The number of attempts to reconnect if the connection establishment failed"
216 The number of attempts to reconnect if the connection establishment failed
269 default 0 if BT_LOG_HCI_TRACE_LEVEL_NONE
270 default 1 if BT_LOG_HCI_TRACE_LEVEL_ERROR
271 default 2 if BT_LOG_HCI_TRACE_LEVEL_WARNING
[all …]
/hal_espressif-3.5.0/components/bt/host/bluedroid/main/
Dbte_init.c38 #if (defined(RFCOMM_INCLUDED) && RFCOMM_INCLUDED == TRUE)
43 #if (defined(BNEP_INCLUDED) && BNEP_INCLUDED == TRUE)
47 #if (defined(GAP_INCLUDED) && GAP_INCLUDED == TRUE)
51 #if (defined(PAN_INCLUDED) && PAN_INCLUDED == TRUE)
55 #if (defined(HID_HOST_INCLUDED) && HID_HOST_INCLUDED == TRUE)
59 #if (defined(HID_DEV_INCLUDED) && HID_DEV_INCLUDED == TRUE)
63 #if (defined(AVRC_INCLUDED) && AVRC_INCLUDED == TRUE)
67 #if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE)
71 #if (defined(AVDT_INCLUDED) && AVDT_INCLUDED == TRUE)
75 #if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE)
[all …]
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/
Dmain.c50 if (bt_mesh_atomic_test_and_set_bit(bt_mesh.flags, BLE_MESH_VALID)) { in bt_mesh_provision()
54 if (IS_ENABLED(CONFIG_BLE_MESH_PB_GATT)) { in bt_mesh_provision()
55 if (bt_mesh_proxy_server_prov_disable(false) == 0) { in bt_mesh_provision()
65 if (err) { in bt_mesh_provision()
68 if (IS_ENABLED(CONFIG_BLE_MESH_PB_GATT) && pb_gatt_enabled) { in bt_mesh_provision()
81 if (IS_ENABLED(CONFIG_BLE_MESH_SETTINGS)) { in bt_mesh_provision()
95 if (!bt_mesh_is_provisioned()) { in bt_mesh_node_reset()
112 if (IS_ENABLED(CONFIG_BLE_MESH_LOW_POWER)) { in bt_mesh_node_reset()
116 if (IS_ENABLED(CONFIG_BLE_MESH_FRIEND)) { in bt_mesh_node_reset()
120 if (IS_ENABLED(CONFIG_BLE_MESH_GATT_PROXY_SERVER)) { in bt_mesh_node_reset()
[all …]
Dprovisioner_prov.c22 #if CONFIG_BLE_MESH_PROVISIONER
125 uint8_t uuid[16]; /* check if device is being provisioned*/
136 #if defined(CONFIG_BLE_MESH_PB_GATT)
155 #if defined(CONFIG_BLE_MESH_PB_ADV)
252 #if defined(CONFIG_BLE_MESH_PB_ADV)
260 #if defined(CONFIG_BLE_MESH_PB_GATT)
298 #if defined(CONFIG_BLE_MESH_FAST_PROV)
308 #if defined(CONFIG_BLE_MESH_PB_GATT)
319 #if defined(CONFIG_BLE_MESH_PB_ADV)
329 #if defined(CONFIG_BLE_MESH_PB_ADV)
[all …]
Dprovisioner_main.c23 #if CONFIG_BLE_MESH_PROVISIONER
33 if (!provisioner_lock.mutex) { in bt_mesh_provisioner_mutex_new()
38 #if CONFIG_BLE_MESH_DEINIT
65 * one if they are not existed.
76 if (!prov) { in bt_mesh_provisioner_net_create()
81 if (bt_mesh.p_sub[0]) { in bt_mesh_provisioner_net_create()
91 if (bt_mesh_rand(p_key, 16)) { in bt_mesh_provisioner_net_create()
97 if (!sub) { in bt_mesh_provisioner_net_create()
103 if (sub->kr_flag) { in bt_mesh_provisioner_net_create()
104 if (bt_mesh_net_keys_create(&sub->keys[1], p_key)) { in bt_mesh_provisioner_net_create()
[all …]
/hal_espressif-3.5.0/components/bt/common/btc/core/
Dbtc_task.c37 #if CLASSIC_BT_INCLUDED
39 #if (BTC_GAP_BT_INCLUDED == TRUE)
42 #if BTC_AV_INCLUDED
46 #endif /* #if BTC_AV_INCLUDED */
47 #if (BTC_SPP_INCLUDED == TRUE)
49 #endif /* #if (BTC_SPP_INCLUDED == TRUE) */
50 #if BTC_HF_INCLUDED
52 #endif/* #if BTC_HF_INCLUDED */
53 #if BTC_HF_CLIENT_INCLUDED
55 #endif /* #if BTC_HF_CLIENT_INCLUDED */
[all …]
/hal_espressif-3.5.0/components/wpa_supplicant/src/wps/
Dwps_validate.c24 if (version == NULL) { in wps_validate_version()
25 if (mandatory) { in wps_validate_version()
32 if (*version != 0x10) { in wps_validate_version()
43 if (version2 == NULL) { in wps_validate_version2()
44 if (mandatory) { in wps_validate_version2()
51 if (*version2 < 0x20) { in wps_validate_version2()
62 if (request_type == NULL) { in wps_validate_request_type()
63 if (mandatory) { in wps_validate_request_type()
70 if (*request_type > 0x03) { in wps_validate_request_type()
81 if (response_type == NULL) { in wps_validate_response_type()
[all …]
/hal_espressif-3.5.0/zephyr/esp_shared/components/esp_hw_support/
Dsleep_modes.c11 #if defined(__ZEPHYR__)
21 #if !defined(__ZEPHYR__)
42 #if SOC_TOUCH_SENSOR_NUM > 0
49 #if !defined(__ZEPHYR__)
90 // If light sleep time is less than that, don't power down flash
127 #if defined(CONFIG_IDF_TARGET_ESP32) && defined(CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY)
136 #if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
174 #if SOC_PM_SUPPORT_CPU_PD
184 /* Internal variable used to track if light sleep wakeup sources are to be
195 #if SOC_PM_SUPPORT_EXT_WAKEUP
[all …]
/hal_espressif-3.5.0/components/nvs_flash/src/
Dnvs_page.cpp25 if (partition == nullptr) { in load()
36 if (rc != ESP_OK) { in load()
40 if (header.mState == PageState::UNINITIALIZED) { in load()
42 // check if the whole page is really empty in load()
47 if (!block) return ESP_ERR_NO_MEM; in load()
51 if (rc != ESP_OK) { in load()
56if (std::any_of(block, block + BLOCK_SIZE, [](uint32_t val) -> bool { return val != 0xffffffff; })… in load()
63 } else if (header.mCrc32 != header.calculateCrc32()) { in load()
68 if(header.mVersion < NVS_VERSION) { in load()
99 if (err != ESP_OK) { in writeEntry()
[all …]
/hal_espressif-3.5.0/components/wpa_supplicant/src/ap/
Dwpa_auth_ie.c37 if (suite == 0) { in wpa_write_wpa_ie()
49 if (num_suites == 0) { in wpa_write_wpa_ie()
61 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie()
66 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie()
72 if (num_suites == 0) { in wpa_write_wpa_ie()
102 if (suite == 0) { in wpa_write_rsn_ie()
115 if (rsn_testing) { in wpa_write_rsn_ie()
127 if (rsn_testing) { in wpa_write_rsn_ie()
134 if (num_suites == 0) { in wpa_write_rsn_ie()
146 if (rsn_testing) { in wpa_write_rsn_ie()
[all …]
/hal_espressif-3.5.0/components/esp_netif/lwip/
Desp_netif_lwip.c17 #if CONFIG_ESP_NETIF_TCPIP_LWIP
27 #if LWIP_DNS /* don't build if not configured for use in lwipopts.h */
31 #if CONFIG_LWIP_HOOK_TCP_ISN_DEFAULT
57 #if CONFIG_PPP_SUPPORT || CONFIG_LWIP_SLIP_SUPPORT
64 if (_IS_NETIF_ANY_POINT2POINT_TYPE(netif)) { \
71 …* @brief If netif protocol not enabled in menuconfig, log the error and return appropriate code in…
99 #if !LWIP_TCPIP_CORE_LOCKING
111 if (!msg || !msg->api_fn) { in esp_netif_api_cb()
124 * @brief Initiates a tcpip remote call if called from another task
125 * or calls the function directly if executed from lwip task
[all …]
/hal_espressif-3.5.0/components/esp_hw_support/
Dsleep_modes.c36 #if SOC_TOUCH_SENSOR_NUM > 0
80 // If light sleep time is less than that, don't power down flash
118 #if defined(CONFIG_IDF_TARGET_ESP32) && defined(CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY)
162 #if SOC_PM_SUPPORT_CPU_PD
172 /* Internal variable used to track if light sleep wakeup sources are to be
183 #if SOC_PM_SUPPORT_EXT_WAKEUP
188 #if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
191 #if SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
195 #if SOC_PM_SUPPORT_DEEPSLEEP_VERIFY_STUB_ONLY
200 if (wake_stub_fn_handler) { in esp_wake_stub_start()
[all …]
Dintr_alloc.c25 #if !CONFIG_FREERTOS_UNICORE
95 //This bitmask has an 1 if the int should be disabled when the flash is disabled.
98 //This bitmask has 1 in it if the int was disabled using esp_intr_noniram_disable.
111 if (vd->cpu > to_insert->cpu) break; in insert_vector_desc()
112 if (vd->cpu == to_insert->cpu && vd->intno >= to_insert->intno) break; in insert_vector_desc()
116 if ((vector_desc_head==NULL) || (prev==NULL)) { in insert_vector_desc()
126 //Returns a vector_desc entry for an intno/cpu, or NULL if none exists.
131 if (vd->cpu==cpu && vd->intno==intno) break; in find_desc_for_int()
143 if (vd==NULL) { in get_desc_for_int()
145 if (newvd==NULL) return NULL; in get_desc_for_int()
[all …]
/hal_espressif-3.5.0/components/esp32s3/
DKconfig2 visible if IDF_TARGET_ESP32S3
6 default ESP32S3_DEFAULT_CPU_FREQ_40 if IDF_ENV_FPGA
7 default ESP32S3_DEFAULT_CPU_FREQ_160 if !IDF_ENV_FPGA
24 default 40 if ESP32S3_DEFAULT_CPU_FREQ_40
25 default 80 if ESP32S3_DEFAULT_CPU_FREQ_80
26 default 160 if ESP32S3_DEFAULT_CPU_FREQ_160
27 default 240 if ESP32S3_DEFAULT_CPU_FREQ_240
36 If you use 16KB instruction cache rather than 32KB instruction cache,
47 default 0x4000 if ESP32S3_INSTRUCTION_CACHE_16KB
48 default 0x8000 if ESP32S3_INSTRUCTION_CACHE_32KB
[all …]
/hal_espressif-3.5.0/components/mdns/
Dmdns.c57 * @brief Convert mdns if to esp-netif handle
61 if (tcpip_if < MDNS_IF_MAX) { in _mdns_get_esp_netif()
62 if (s_esp_netifs[tcpip_if] == NULL) { in _mdns_get_esp_netif()
63 // if local netif copy is NULL, try to search for the default interface key in _mdns_get_esp_netif()
64 if (tcpip_if == MDNS_IF_STA) { in _mdns_get_esp_netif()
66 } else if (tcpip_if == MDNS_IF_AP) { in _mdns_get_esp_netif()
68 #if CONFIG_ETH_ENABLED in _mdns_get_esp_netif()
69 } else if (tcpip_if == MDNS_IF_ETH) { in _mdns_get_esp_netif()
84 if (tcpip_if < MDNS_IF_MAX) { in _mdns_clean_netif_ptr()
91 * @brief Convert esp-netif handle to mdns if
[all …]
/hal_espressif-3.5.0/components/esptool_py/
DKconfig.projbuild36 int "Other baud rate value" if ESPTOOLPY_BAUD_OTHER
42 default 115200 if ESPTOOLPY_BAUD_115200B
43 default 230400 if ESPTOOLPY_BAUD_230400B
44 default 921600 if ESPTOOLPY_BAUD_921600B
45 default 2000000 if ESPTOOLPY_BAUD_2MB
46 default ESPTOOLPY_BAUD_OTHER_VAL if ESPTOOLPY_BAUD_OTHER
72 default ESPTOOLPY_FLASHMODE_OPI if ESPTOOLPY_OCT_FLASH
96 default ESPTOOLPY_FLASH_SAMPLE_MODE_DTR if ESPTOOLPY_OCT_FLASH
97 default ESPTOOLPY_FLASH_SAMPLE_MODE_STR if !ESPTOOLPY_OCT_FLASH
111 default "dio" if ESPTOOLPY_FLASHMODE_QIO
[all …]
/hal_espressif-3.5.0/components/pthread/
Dpthread.c37 bool detached; ///< True if pthread is detached
71 if (pthread_key_create(&s_pthread_cfg_key, esp_pthread_cfg_key_destructor) != 0) { in esp_pthread_init()
75 if (s_threads_mux == NULL) { in esp_pthread_init()
87 if (val) { in pthread_list_find_item()
96 if (item == desc) { in pthread_get_handle_by_desc()
104 if (hnd == item->handle) { in pthread_get_desc_by_handle()
129 if (cfg->stack_size < PTHREAD_STACK_MIN) { in esp_pthread_set_cfg()
133 /* If a value is already set, update that value */ in esp_pthread_set_cfg()
135 if (!p) { in esp_pthread_set_cfg()
137 if (!p) { in esp_pthread_set_cfg()
[all …]
/hal_espressif-3.5.0/components/app_update/
Desp_ota_ops.c54 /* Return true if this is an OTA app partition */
69 if (otadata_partition == NULL) { in read_otadata()
77 if (err != ESP_OK) { in read_otadata()
96 if (esp_image_verify(load_mode, &part_pos, &data) != ESP_OK) { in image_validate()
118 if ((partition == NULL) || (out_handle == NULL)) { in esp_ota_begin()
123 if (partition == NULL) { in esp_ota_begin()
127 if (!is_ota_partition(partition)) { in esp_ota_begin()
132 if (partition == running_partition) { in esp_ota_begin()
138 if (esp_ota_get_state_partition(running_partition, &ota_state_running_part) == ESP_OK) { in esp_ota_begin()
139 if (ota_state_running_part == ESP_OTA_IMG_PENDING_VERIFY) { in esp_ota_begin()
[all …]
/hal_espressif-3.5.0/tools/kconfig/
Dconfdata.c65 if (conf_message_callback) in conf_message()
118 if (env) { in conf_get_default_confname()
120 if (!stat(fullname, &buf)) in conf_get_default_confname()
132 if (p[0] == 'm') { in conf_set_sym_val()
139 if (p[0] == 'y') { in conf_set_sym_val()
144 if (p[0] == 'n' || p[0] == '\0') { in conf_set_sym_val()
149 if (def != S_DEF_AUTO) in conf_set_sym_val()
154 if (*p != '"') { in conf_set_sym_val()
162 if (*p++ != '"') in conf_set_sym_val()
165 if (*p2 == '"') { in conf_set_sym_val()
[all …]
/hal_espressif-3.5.0/components/wpa_supplicant/src/common/
Ddpp.c61 if (buf == NULL) in gas_build_req()
88 if (crypto_ec_point_to_bin(e, point, x, y) < 0) { in dpp_debug_print_point()
100 if (curve->hash_len == 32) in dpp_hash_vector()
103 if (curve->hash_len == 48) in dpp_hash_vector()
105 if (curve->hash_len == 64) in dpp_hash_vector()
115 if (hash_len == 32) in dpp_hkdf_expand()
120 if (hash_len == 48) in dpp_hkdf_expand()
124 if (hash_len == 64) in dpp_hkdf_expand()
137 if (hash_len == 32) in dpp_hmac_vector()
141 if (hash_len == 48) in dpp_hmac_vector()
[all …]
/hal_espressif-3.5.0/components/mbedtls/port/aes/dma/
Desp_aes.c44 #if CONFIG_IDF_TARGET_ESP32S2
53 #if SOC_AES_SUPPORT_GCM
57 #if SOC_AES_GDMA
75 #if defined(CONFIG_MBEDTLS_AES_USE_INTERRUPT)
77 #if defined(CONFIG_PM_ENABLE)
83 #if SOC_PSRAM_DMA_CAPABLE
85 #if (CONFIG_ESP32S2_DATA_CACHE_LINE_16B || CONFIG_ESP32S3_DATA_CACHE_LINE_16B)
110 if ( esp_aes_dma_done(output) ) { in esp_aes_wait_dma_done()
116 /* Append a descriptor to the chain, set head if chain empty */
120 if (*head == NULL) { in lldesc_append()
[all …]
/hal_espressif-3.5.0/components/esp_system/port/
Dcpu_start.c26 #if CONFIG_IDF_TARGET_ESP32
55 #if CONFIG_ESP_SYSTEM_MEMPROT_FEATURE
56 #if CONFIG_IDF_TARGET_ESP32S2
79 #if CONFIG_ESP32_TRAX || CONFIG_ESP32S2_TRAX || CONFIG_ESP32S3_TRAX
85 #if CONFIG_APP_BUILD_TYPE_ELF_RAM
86 #if CONFIG_IDF_TARGET_ESP32
103 #if CONFIG_BOOT_ROM_LOG_ALWAYS_OFF
124 #if CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
134 #if !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
141 // If CONFIG_SPIRAM_IGNORE_NOTFOUND is set and external RAM is not found or errors out on testing, …
[all …]
/hal_espressif-3.5.0/components/bt/controller/esp32s3/
DKconfig.in42 default 0 if BT_CTRL_PINNED_TO_CORE_0
43 default 1 if BT_CTRL_PINNED_TO_CORE_1
59If use external bluetooth host which run on other hardware and use UART as the HCI interface,
65 default 0 if BT_CTRL_HCI_MODE_UART_H4
66 default 1 if BT_CTRL_HCI_M0DE_VHCI
89 It is the threshold value of HW CCA, if the value is 30, it means CCA threshold is -30 dBm.
93 default 1 if BT_CTRL_HW_CCA
96 If other devices are sending packets in the air and the signal is strong,
114 default 0 if BT_CTRL_CE_LENGTH_TYPE_ORIG
115 default 1 if BT_CTRL_CE_LENGTH_TYPE_CE
[all …]

12345678910>>...173