Skip to content

Commit 2452c1f

Browse files
authored
IDF release/v3.3 71df1f742
esp-face: master 420fc7e esp32-camera: master 0107093
1 parent 5f98370 commit 2452c1f

File tree

115 files changed

+703
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+703
-305
lines changed

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls
3535

3636
compiler.c.elf.cmd=xtensa-esp32-elf-gcc
3737
compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception
38-
compiler.c.elf.libs=-lgcc -lespcoredump -lesp_event -lheap -lpe -lmesh -lm -lesp_http_client -lfb_gfx -lface_detection -lesp_adc_cal -ldetection_cat_face -lmbedtls -lunity -lspiffs -lod -lapp_trace -llog -lesp_websocket_client -lexpat -lwpa2 -lxtensa-debug-module -lnet80211 -lhal -lvfs -lwps -lmqtt -lasio -lbt -lwpa_supplicant -lpp -lmdns -llwip -lnvs_flash -lc -lbootloader_support -lnewlib -lsdmmc -lapp_update -lethernet -lefuse -lprotobuf-c -ldetection -lfreemodbus -lcore -lface_recognition -lfd -lcoap -ljsmn -lesp_https_ota -ltcp_transport -lbtdm_app -lesp_ringbuf -ldriver -lwifi_provisioning -llibsodium -lopenssl -lfatfs -lnghttp -lespnow -lprotocomm -lspi_flash -lc_nano -lulp -lesp_http_server -lesp32-camera -lsmartconfig -lsmartconfig_ack -lesp-tls -lcoexist -lmicro-ecc -lesp_https_server -lwpa -ltcpip_adapter -lwear_levelling -lfreertos -lsoc -ljson -lesp32 -lpthread -lcxx -lfr -ldl -lphy -limage_util -lrtc -lconsole -lstdc++
38+
compiler.c.elf.libs=-lgcc -lesp_http_client -lcxx -lwps -lsoc -lesp_event -lc -lprotobuf-c -lunity -lesp_ringbuf -lasio -lnewlib -lfreemodbus -lbtdm_app -ltcpip_adapter -llog -lxtensa-debug-module -lsmartconfig -lspi_flash -lmesh -lwpa -lheap -lbootloader_support -lapp_update -llwip -ldetection_cat_face -lopenssl -ldriver -lesp_https_ota -lfr -lconsole -llibsodium -lmqtt -ljson -lwear_levelling -lface_recognition -lfatfs -lspiffs -ldl -lrtc -ljsmn -lesp_http_server -lfreertos -lespcoredump -lesp_websocket_client -lod -lprotocomm -lwpa2 -lesp_adc_cal -lnghttp -lc_nano -lpp -lpe -lethernet -lbt -ldetection -lulp -lcoap -lfd -lespnow -lmdns -lmicro-ecc -lcore -lmbedtls -lcoexist -lface_detection -lesp32 -ltcp_transport -lphy -lsmartconfig_ack -lhal -lnvs_flash -lfb_gfx -lvfs -lesp32-camera -lm -lsdmmc -lapp_trace -lefuse -lnet80211 -lesp-tls -lwifi_provisioning -lwpa_supplicant -lesp_https_server -limage_util -lpthread -lexpat -lstdc++
3939

4040
compiler.as.cmd=xtensa-esp32-elf-as
4141

Diff for: tools/esptool.py

+449-180
Large diffs are not rendered by default.

Diff for: tools/platformio-build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
],
172172

173173
LIBS=[
174-
"-lgcc", "-lespcoredump", "-lesp_event", "-lheap", "-lpe", "-lmesh", "-lm", "-lesp_http_client", "-lfb_gfx", "-lface_detection", "-lesp_adc_cal", "-ldetection_cat_face", "-lmbedtls", "-lunity", "-lspiffs", "-lod", "-lapp_trace", "-llog", "-lesp_websocket_client", "-lexpat", "-lwpa2", "-lxtensa-debug-module", "-lnet80211", "-lhal", "-lvfs", "-lwps", "-lmqtt", "-lasio", "-lbt", "-lwpa_supplicant", "-lpp", "-lmdns", "-llwip", "-lnvs_flash", "-lc", "-lbootloader_support", "-lnewlib", "-lsdmmc", "-lapp_update", "-lethernet", "-lefuse", "-lprotobuf-c", "-ldetection", "-lfreemodbus", "-lcore", "-lface_recognition", "-lfd", "-lcoap", "-ljsmn", "-lesp_https_ota", "-ltcp_transport", "-lbtdm_app", "-lesp_ringbuf", "-ldriver", "-lwifi_provisioning", "-llibsodium", "-lopenssl", "-lfatfs", "-lnghttp", "-lespnow", "-lprotocomm", "-lspi_flash", "-lc_nano", "-lulp", "-lesp_http_server", "-lesp32-camera", "-lsmartconfig", "-lsmartconfig_ack", "-lesp-tls", "-lcoexist", "-lmicro-ecc", "-lesp_https_server", "-lwpa", "-ltcpip_adapter", "-lwear_levelling", "-lfreertos", "-lsoc", "-ljson", "-lesp32", "-lpthread", "-lcxx", "-lfr", "-ldl", "-lphy", "-limage_util", "-lrtc", "-lconsole", "-lstdc++"
174+
"-lgcc", "-lesp_http_client", "-lcxx", "-lwps", "-lsoc", "-lesp_event", "-lc", "-lprotobuf-c", "-lunity", "-lesp_ringbuf", "-lasio", "-lnewlib", "-lfreemodbus", "-lbtdm_app", "-ltcpip_adapter", "-llog", "-lxtensa-debug-module", "-lsmartconfig", "-lspi_flash", "-lmesh", "-lwpa", "-lheap", "-lbootloader_support", "-lapp_update", "-llwip", "-ldetection_cat_face", "-lopenssl", "-ldriver", "-lesp_https_ota", "-lfr", "-lconsole", "-llibsodium", "-lmqtt", "-ljson", "-lwear_levelling", "-lface_recognition", "-lfatfs", "-lspiffs", "-ldl", "-lrtc", "-ljsmn", "-lesp_http_server", "-lfreertos", "-lespcoredump", "-lesp_websocket_client", "-lod", "-lprotocomm", "-lwpa2", "-lesp_adc_cal", "-lnghttp", "-lc_nano", "-lpp", "-lpe", "-lethernet", "-lbt", "-ldetection", "-lulp", "-lcoap", "-lfd", "-lespnow", "-lmdns", "-lmicro-ecc", "-lcore", "-lmbedtls", "-lcoexist", "-lface_detection", "-lesp32", "-ltcp_transport", "-lphy", "-lsmartconfig_ack", "-lhal", "-lnvs_flash", "-lfb_gfx", "-lvfs", "-lesp32-camera", "-lm", "-lsdmmc", "-lapp_trace", "-lefuse", "-lnet80211", "-lesp-tls", "-lwifi_provisioning", "-lwpa_supplicant", "-lesp_https_server", "-limage_util", "-lpthread", "-lexpat", "-lstdc++"
175175
],
176176

177177
LIBSOURCE_DIRS=[

Diff for: tools/sdk/bin/bootloader_dio_40m.bin

32 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_dio_80m.bin

16 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_dout_40m.bin

32 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_dout_80m.bin

16 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qio_40m.bin

32 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qio_80m.bin

32 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qout_40m.bin

32 Bytes
Binary file not shown.

Diff for: tools/sdk/bin/bootloader_qout_80m.bin

32 Bytes
Binary file not shown.

Diff for: tools/sdk/include/bootloader_support/esp_flash_encrypt.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@ esp_err_t esp_flash_encrypt_region(uint32_t src_addr, size_t data_length);
110110
* is enabled but secure boot is not used. This should protect against
111111
* serial re-flashing of an unauthorised code in absence of secure boot.
112112
*
113-
* @return
113+
* @note To support disabling UART Download Mode on ESP32 V3 only, this function
114+
* doesn't write protect FLASH_CRYPT_CNT but instead sets it to the max value
115+
* (effectively the same result but allows burning the UART_DL_DIS efuse later on,
116+
* as this is otherwise also disabled if FLASH_CRYPT_CNT is write protected.)
117+
*
114118
*/
115119
void esp_flash_write_protect_crypt_cnt();
116120

Diff for: tools/sdk/include/bt/esp_bt.h

-22
Original file line numberDiff line numberDiff line change
@@ -454,28 +454,6 @@ esp_err_t esp_bt_sleep_enable(void);
454454
*/
455455
esp_err_t esp_bt_sleep_disable(void);
456456

457-
/**
458-
* @brief to check whether bluetooth controller is sleeping at the instant, if modem sleep is enabled
459-
*
460-
* Note that this function shall not be invoked before esp_bt_controller_enable()
461-
* This function is supposed to be used ORIG mode of modem sleep
462-
*
463-
* @return true if in modem sleep state, false otherwise
464-
*/
465-
bool esp_bt_controller_is_sleeping(void);
466-
467-
/**
468-
* @brief request controller to wakeup from sleeping state during sleep mode
469-
*
470-
* Note that this function shall not be invoked before esp_bt_controller_enable()
471-
* Note that this function is supposed to be used ORIG mode of modem sleep
472-
* Note that after this request, bluetooth controller may again enter sleep as long as the modem sleep is enabled
473-
*
474-
* Profiling shows that it takes several milliseconds to wakeup from modem sleep after this request.
475-
* Generally it takes longer if 32kHz XTAL is used than the main XTAL, due to the lower frequency of the former as the bluetooth low power clock source.
476-
*/
477-
void esp_bt_controller_wakeup_request(void);
478-
479457
/**
480458
* @brief Manually clear scan duplicate list
481459
*

Diff for: tools/sdk/include/bt/esp_gap_ble_api.h

+15-1
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ typedef enum {
287287
ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH,
288288
/* Enable/Disable OOB support */
289289
ESP_BLE_SM_OOB_SUPPORT,
290+
/* Appl encryption key size */
291+
ESP_BLE_APP_ENC_KEY_SIZE,
290292
ESP_BLE_SM_MAX_PARAM,
291293
} esp_ble_sm_param_t;
292294

@@ -895,7 +897,7 @@ esp_err_t esp_ble_gap_update_conn_params(esp_ble_conn_update_params_t *params);
895897
esp_err_t esp_ble_gap_set_pkt_data_len(esp_bd_addr_t remote_device, uint16_t tx_data_length);
896898

897899
/**
898-
* @brief This function sets the random address for the application
900+
* @brief This function sets the static Random Address and Non-Resolvable Private Address for the application
899901
*
900902
* @param[in] rand_addr: the random address which should be setting
901903
*
@@ -1243,6 +1245,18 @@ esp_err_t esp_ble_oob_req_reply(esp_bd_addr_t bd_addr, uint8_t *TK, uint8_t len)
12431245
*/
12441246
esp_err_t esp_ble_gap_disconnect(esp_bd_addr_t remote_device);
12451247

1248+
1249+
/**
1250+
* @brief This function is called to authorized a link after Authentication(MITM protection)
1251+
*
1252+
* @param[in] bd_addr: BD address of the peer device.
1253+
* @param[out] authorize: Authorized the link or not.
1254+
*
1255+
* @return - ESP_OK : success
1256+
* - other : failed
1257+
*
1258+
*/
1259+
esp_err_t esp_gap_ble_set_authorization(esp_bd_addr_t bd_addr, bool authorize);
12461260
#ifdef __cplusplus
12471261
}
12481262
#endif

Diff for: tools/sdk/include/bt/esp_gatt_defs.h

+2
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ typedef enum {
278278
#define ESP_GATT_PERM_WRITE_ENC_MITM (1 << 6) /* bit 6 - 0x0040 */ /* relate to BTA_GATT_PERM_WRITE_ENC_MITM in bta/bta_gatt_api.h */
279279
#define ESP_GATT_PERM_WRITE_SIGNED (1 << 7) /* bit 7 - 0x0080 */ /* relate to BTA_GATT_PERM_WRITE_SIGNED in bta/bta_gatt_api.h */
280280
#define ESP_GATT_PERM_WRITE_SIGNED_MITM (1 << 8) /* bit 8 - 0x0100 */ /* relate to BTA_GATT_PERM_WRITE_SIGNED_MITM in bta/bta_gatt_api.h */
281+
#define ESP_GATT_PERM_READ_AUTHORIZATION (1 << 9) /* bit 9 - 0x0200 */
282+
#define ESP_GATT_PERM_WRITE_AUTHORIZATION (1 << 10) /* bit 10 - 0x0400 */
281283
typedef uint16_t esp_gatt_perm_t;
282284

283285
/* relate to BTA_GATT_CHAR_PROP_BIT_xxx in bta/bta_gatt_api.h */

Diff for: tools/sdk/include/bt/esp_gattc_api.h

+23
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,29 @@ esp_err_t esp_ble_gattc_read_char (esp_gatt_if_t gattc_if,
603603
uint16_t conn_id,
604604
uint16_t handle,
605605
esp_gatt_auth_req_t auth_req);
606+
/**
607+
* @brief This function is called to read a service's characteristics of
608+
* the given characteristic UUID
609+
*
610+
* @param[in] gattc_if: Gatt client access interface.
611+
* @param[in] conn_id : connection ID.
612+
* @param[in] start_handle : the attribute start handle.
613+
* @param[in] end_handle : the attribute end handle
614+
* @param[in] uuid : The UUID of attribute which will be read.
615+
* @param[in] auth_req : authenticate request type
616+
*
617+
* @return
618+
* - ESP_OK: success
619+
* - other: failed
620+
*
621+
*/
622+
esp_err_t esp_ble_gattc_read_by_type (esp_gatt_if_t gattc_if,
623+
uint16_t conn_id,
624+
uint16_t start_handle,
625+
uint16_t end_handle,
626+
esp_bt_uuid_t *uuid,
627+
esp_gatt_auth_req_t auth_req);
628+
606629

607630
/**
608631
* @brief This function is called to read multiple characteristic or

Diff for: tools/sdk/include/bt/esp_spp_api.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ typedef enum {
2727
ESP_SPP_FAILURE, /*!< Generic failure. */
2828
ESP_SPP_BUSY, /*!< Temporarily can not handle this request. */
2929
ESP_SPP_NO_DATA, /*!< no data. */
30-
ESP_SPP_NO_RESOURCE /*!< No more set pm control block */
30+
ESP_SPP_NO_RESOURCE, /*!< No more resource */
31+
ESP_SPP_NEED_INIT, /*!< SPP module shall init first */
32+
ESP_SPP_NEED_DEINIT, /*!< SPP module shall deinit first */
33+
ESP_SPP_NO_CONNECTION, /*!< connection may have been closed */
3134
} esp_spp_status_t;
3235

3336
/* Security Setting Mask, Suggest to use ESP_SPP_SEC_NONE, ESP_SPP_SEC_AUTHORIZE or ESP_SPP_SEC_AUTHENTICATE only.*/

Diff for: tools/sdk/include/config/sdkconfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,5 +395,5 @@
395395
#define CONFIG_BTDM_MODEM_SLEEP_MODE_ORIG 1
396396
#define CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_ERROR 1
397397
#define CONFIG_FATFS_API_ENCODING_ANSI_OEM 1
398-
#define CONFIG_ARDUINO_IDF_COMMIT "b4c075169"
398+
#define CONFIG_ARDUINO_IDF_COMMIT "71df1f742"
399399
#define CONFIG_ARDUINO_IDF_BRANCH "release/v3.3"

Diff for: tools/sdk/include/driver/driver/adc.h

+21-3
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,32 @@ int adc1_get_voltage(adc1_channel_t channel) __attribute__((deprecated));
228228

229229
/**
230230
* @brief Enable ADC power
231+
* @deprecated Use adc_power_acquire and adc_power_release instead.
231232
*/
232-
void adc_power_on();
233+
void adc_power_on(void) __attribute__((deprecated));
233234

234235
/**
235236
* @brief Power off SAR ADC
236-
* This function will force power down for ADC
237+
* @deprecated Use adc_power_acquire and adc_power_release instead.
238+
* This function will force power down for ADC.
239+
* This function is deprecated because forcing power ADC power off may
240+
* disrupt operation of other components which may be using the ADC.
237241
*/
238-
void adc_power_off();
242+
void adc_power_off(void) __attribute__((deprecated));
243+
244+
/**
245+
* @brief Increment the usage counter for ADC module.
246+
* ADC will stay powered on while the counter is greater than 0.
247+
* Call adc_power_release when done using the ADC.
248+
*/
249+
void adc_power_acquire(void);
250+
251+
/**
252+
* @brief Decrement the usage counter for ADC module.
253+
* ADC will stay powered on while the counter is greater than 0.
254+
* Call this function when done using the ADC.
255+
*/
256+
void adc_power_release(void);
239257

240258
/**
241259
* @brief Initialize ADC pad

Diff for: tools/sdk/include/driver/driver/can.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ extern "C" {
3737
#define CAN_GENERAL_CONFIG_DEFAULT(tx_io_num, rx_io_num, op_mode) {.mode = op_mode, .tx_io = tx_io_num, .rx_io = rx_io_num, \
3838
.clkout_io = CAN_IO_UNUSED, .bus_off_io = CAN_IO_UNUSED, \
3939
.tx_queue_len = 5, .rx_queue_len = 5, \
40-
.alerts_enabled = CAN_ALERT_NONE, .clkout_divider = 0, }
40+
.alerts_enabled = CAN_ALERT_NONE, .clkout_divider = 0, \
41+
.intr_flags = ESP_INTR_FLAG_LEVEL1}
4142

4243
/**
4344
* @brief Initializer macros for timing configuration structure
@@ -91,7 +92,7 @@ extern "C" {
9192
#define CAN_ALERT_BUS_OFF 0x1000 /**< Alert(4096): Bus-off condition occurred. CAN controller can no longer influence bus */
9293
#define CAN_ALERT_ALL 0x1FFF /**< Bit mask to enable all alerts during configuration */
9394
#define CAN_ALERT_NONE 0x0000 /**< Bit mask to disable all alerts during configuration */
94-
#define CAN_ALERT_AND_LOG 0x2000 /**< Bit mask to enable alerts to also be logged when they occur */
95+
#define CAN_ALERT_AND_LOG 0x2000 /**< Bit mask to enable alerts to also be logged when they occur. Note that logging from the ISR is disabled if CONFIG_TWAI_ISR_IN_IRAM is enabled. */
9596

9697
/**
9798
* @brief Message flags
@@ -151,6 +152,7 @@ typedef struct {
151152
uint32_t rx_queue_len; /**< Number of messages RX queue can hold */
152153
uint32_t alerts_enabled; /**< Bit field of alerts to enable (see documentation) */
153154
uint32_t clkout_divider; /**< CLKOUT divider. Can be 1 or any even number from 2 to 14 (optional, set to 0 if unused) */
155+
int intr_flags; /**< Interrupt flags to set the priority of the driver's ISR. Note that to use the ESP_INTR_FLAG_IRAM, the CONFIG_CAN_ISR_IN_IRAM option should be enabled first. */
154156
} can_general_config_t;
155157

156158
/**

Diff for: tools/sdk/include/driver/driver/gpio.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,11 @@ esp_err_t gpio_set_intr_type(gpio_num_t gpio_num, gpio_int_type_t intr_type);
276276
/**
277277
* @brief Enable GPIO module interrupt signal
278278
*
279-
* @note Please do not use the interrupt of GPIO36 and GPIO39 when using ADC.
279+
* @note Please do not use the interrupt of GPIO36 and GPIO39 when using ADC or Wi-Fi with sleep mode enabled.
280280
* Please refer to the comments of `adc1_get_raw`.
281281
* Please refer to section 3.11 of 'ECO_and_Workarounds_for_Bugs_in_ESP32' for the description of this issue.
282+
* As a workaround, call adc_power_acquire() in the app. This will result in higher power consumption (by ~1mA),
283+
* but will remove the glitches on GPIO36 and GPIO39.
282284
*
283285
* @param gpio_num GPIO number. If you want to enable an interrupt on e.g. GPIO16, gpio_num should be GPIO_NUM_16 (16);
284286
*

Diff for: tools/sdk/include/efuse/esp_efuse.h

+17
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,23 @@ void esp_efuse_disable_basic_rom_console(void);
301301
*/
302302
esp_err_t esp_efuse_apply_34_encoding(const uint8_t *in_bytes, uint32_t *out_words, size_t in_bytes_len);
303303

304+
/* @brief Disable ROM Download Mode via eFuse
305+
*
306+
* Permanently disables the ROM Download Mode feature. Once disabled, if the SoC is booted with
307+
* strapping pins set for ROM Download Mode then an error is printed instead.
308+
*
309+
* @note Not all SoCs support this option. An error will be returned if called on an ESP32
310+
* with a silicon revision lower than 3, as these revisions do not support this option.
311+
*
312+
* @note If ROM Download Mode is already disabled, this function does nothing and returns success.
313+
*
314+
* @return
315+
* - ESP_OK If the eFuse was successfully burned, or had already been burned.
316+
* - ESP_ERR_NOT_SUPPORTED (ESP32 only) This SoC is not capable of disabling UART download mode
317+
* - ESP_ERR_INVALID_STATE (ESP32 only) This eFuse is write protected and cannot be written
318+
*/
319+
esp_err_t esp_efuse_disable_rom_download_mode(void);
320+
304321
/* @brief Write random data to efuse key block write registers
305322
*
306323
* @note Caller is responsible for ensuring efuse

Diff for: tools/sdk/include/efuse/esp_efuse_table.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extern "C" {
1717
#endif
1818

1919

20-
// md5_digest_table 2e23344575b3d07f01ecb695294e9770
20+
// md5_digest_table 11b691b6fa8546a3862a7a876be5f758
2121
// This file was generated from the file esp_efuse_table.csv. DO NOT CHANGE THIS FILE MANUALLY.
2222
// If you want to change some fields, you need to change esp_efuse_table.csv file
2323
// then run `efuse_common_table` or `efuse_custom_table` command it will generate this file.
@@ -36,9 +36,10 @@ extern const esp_efuse_desc_t* ESP_EFUSE_ENCRYPT_CONFIG[];
3636
extern const esp_efuse_desc_t* ESP_EFUSE_DISABLE_DL_ENCRYPT[];
3737
extern const esp_efuse_desc_t* ESP_EFUSE_DISABLE_DL_DECRYPT[];
3838
extern const esp_efuse_desc_t* ESP_EFUSE_DISABLE_DL_CACHE[];
39+
extern const esp_efuse_desc_t* ESP_EFUSE_FLASH_CRYPT_CNT[];
3940
extern const esp_efuse_desc_t* ESP_EFUSE_DISABLE_JTAG[];
4041
extern const esp_efuse_desc_t* ESP_EFUSE_CONSOLE_DEBUG_DISABLE[];
41-
extern const esp_efuse_desc_t* ESP_EFUSE_FLASH_CRYPT_CNT[];
42+
extern const esp_efuse_desc_t* ESP_EFUSE_UART_DOWNLOAD_DIS[];
4243
extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_FLASH_CRYPT_CNT[];
4344
extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK1[];
4445
extern const esp_efuse_desc_t* ESP_EFUSE_WR_DIS_BLK2[];

Diff for: tools/sdk/include/esp-tls/esp_tls.h

+2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ typedef struct esp_tls {
135135
fd_set rset; /*!< read file descriptors */
136136

137137
fd_set wset; /*!< write file descriptors */
138+
139+
bool is_tls; /*!< indicates connection type (TLS or NON-TLS) */
138140
} esp_tls_t;
139141

140142
/**

Diff for: tools/sdk/include/esp32/esp_coexist.h

-15
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,6 @@ esp_err_t esp_coex_status_bit_set(esp_coex_status_type_t type, uint32_t status);
8484
*/
8585
esp_err_t esp_coex_status_bit_clear(esp_coex_status_type_t type, uint32_t status);
8686

87-
/**
88-
* @brief Enable BLE connection dynamic priority
89-
* @attention If the parameter is true, BLE connection performance will be better but WiFi performance
90-
* will be poorer. And vice versa.
91-
* @param low_interval : true - Increase BLE connection priority to be higher than WiFi's when BLE
92-
* connection interval is less or equal than 50 ms. The default value
93-
* is false.
94-
* false - not increace
95-
* @param high_interval : true - Increase BLE connection priority to be higher than WiFi's when BLE
96-
* connection interval is more than 50 ms. The default value is true.
97-
* false - not increace
98-
* @return : ESP_OK - success, other - failed
99-
*/
100-
esp_err_t esp_coex_ble_conn_dynamic_prio_enable(bool low_interval, bool high_interval);
101-
10287
#ifdef __cplusplus
10388
}
10489
#endif

0 commit comments

Comments
 (0)