Skip to content

Commit 56d8278

Browse files
authored
Merge branch 'espressif:release/v5.3' into release/v5.3
2 parents f14fa00 + 0bbd728 commit 56d8278

File tree

36 files changed

+190
-130
lines changed

36 files changed

+190
-130
lines changed

.gitmodules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
sbom-url = https://github.com/DaveGamble/cJSON
5656
sbom-description = Ultralightweight JSON parser in ANSI C
5757
sbom-hash = acc76239bee01d8e9c858ae2cab296704e52d916
58+
sbom-cve-exclude-list = CVE-2024-31755 Resolved in v1.7.18
5859

5960
[submodule "components/mbedtls/mbedtls"]
6061
path = components/mbedtls/mbedtls

components/bootloader_support/src/bootloader_random_esp32c6.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ void bootloader_random_disable(void)
8888
REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SARADC1_ENCAL_REF_ADDR, 0);
8989
REGI2C_WRITE_MASK(I2C_SAR_ADC, ADC_SARADC2_ENCAL_REF_ADDR, 0);
9090

91-
// Revert PMU_RF_PWC_REG to it's initial value
92-
CLEAR_PERI_REG_MASK(PMU_RF_PWC_REG, PMU_PERIF_I2C_RSTB);
93-
9491
// disable ADC_CTRL_CLK (SAR ADC function clock)
9592
REG_WRITE(PCR_SARADC_CLKM_CONF_REG, 0x00404000);
9693

components/bootloader_support/src/flash_encryption/flash_encrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ static esp_err_t encrypt_partition(int index, const esp_partition_info_t *partit
422422
&partition->pos,
423423
&image_data);
424424
should_encrypt = (err == ESP_OK);
425-
#ifdef SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART
425+
#ifdef CONFIG_SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART
426426
if (should_encrypt) {
427427
// Encrypt only the app image instead of encrypting the whole partition
428428
size = image_data.image_len;

components/bt/controller/esp32c2/Kconfig.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,12 @@ config BT_LE_CONTROLLER_LOG_DUMP_ONLY
295295
Only operate in dump mode
296296

297297
config BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
298-
bool "Storage ble controller log to flash(experimental)"
298+
bool "Store ble controller logs to flash(Experimental)"
299299
depends on !BT_LE_CONTROLLER_LOG_DUMP_ONLY
300300
depends on BT_LE_CONTROLLER_LOG_ENABLED
301301
default n
302302
help
303-
Storage ble controller log to flash.
303+
Store ble controller logs to flash memory.
304304

305305
config BT_LE_CONTROLLER_LOG_PARTITION_SIZE
306306
int "size of ble controller log partition(Multiples of 4K)"

components/bt/controller/esp32c2/bt.c

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,19 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b
420420

421421
void esp_ble_controller_log_dump_all(bool output)
422422
{
423+
if (log_output_mode == LOG_STORAGE_TO_FLASH) {
423424
#if CONFIG_BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
424-
esp_bt_read_ctrl_log_from_flash(output);
425-
#else
426-
portMUX_TYPE spinlock = portMUX_INITIALIZER_UNLOCKED;
427-
428-
portENTER_CRITICAL_SAFE(&spinlock);
429-
esp_panic_handler_reconfigure_wdts(5000);
430-
BT_ASSERT_PRINT("\r\n[DUMP_START:");
431-
ble_log_async_output_dump_all(output);
432-
BT_ASSERT_PRINT(":DUMP_END]\r\n");
433-
portEXIT_CRITICAL_SAFE(&spinlock);
425+
esp_bt_read_ctrl_log_from_flash(output);
434426
#endif // CONFIG_BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
427+
} else {
428+
portMUX_TYPE spinlock = portMUX_INITIALIZER_UNLOCKED;
429+
portENTER_CRITICAL_SAFE(&spinlock);
430+
esp_panic_handler_reconfigure_wdts(5000);
431+
BT_ASSERT_PRINT("\r\n[DUMP_START:");
432+
ble_log_async_output_dump_all(output);
433+
BT_ASSERT_PRINT(":DUMP_END]\r\n");
434+
portEXIT_CRITICAL_SAFE(&spinlock);
435+
}
435436
}
436437
#endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED
437438

components/bt/controller/esp32c6/Kconfig.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,12 @@ config BT_LE_CONTROLLER_LOG_DUMP_ONLY
343343
Only operate in dump mode
344344

345345
config BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
346-
bool "Storage ble controller log to flash(experimental)"
346+
bool "Store ble controller logs to flash(Experimental)"
347347
depends on !BT_LE_CONTROLLER_LOG_DUMP_ONLY
348348
depends on BT_LE_CONTROLLER_LOG_ENABLED
349349
default n
350350
help
351-
Storage ble controller log to flash.
351+
Store ble controller logs to flash memory.
352352

353353
config BT_LE_CONTROLLER_LOG_PARTITION_SIZE
354354
int "size of ble controller log partition(Multiples of 4K)"

components/bt/controller/esp32h2/Kconfig.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@ config BT_LE_CONTROLLER_LOG_DUMP_ONLY
334334
Only operate in dump mode
335335

336336
config BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
337-
bool "Storage ble controller log to flash(experimental)"
337+
bool "Store ble controller logs to flash(Experimental)"
338338
depends on !BT_LE_CONTROLLER_LOG_DUMP_ONLY
339339
depends on BT_LE_CONTROLLER_LOG_ENABLED
340340
default n
341341
help
342-
Storage ble controller log to flash.
342+
Store ble controller logs to flash memory.
343343

344344
config BT_LE_CONTROLLER_LOG_PARTITION_SIZE
345345
int "size of ble controller log partition(Multiples of 4K)"

components/bt/controller/lib_esp32

0 commit comments

Comments
 (0)