Skip to content

Commit 1f5d0a9

Browse files
authored
Merge branch 'espressif:release/v5.3' into release/v5.3
2 parents fd3d4d9 + 083aad9 commit 1f5d0a9

File tree

371 files changed

+53222
-260062
lines changed

Some content is hidden

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

371 files changed

+53222
-260062
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[codespell]
22
skip = build,*.yuv,components/fatfs/src/*,alice.txt,*.rgb,components/wpa_supplicant/*,components/esp_wifi/*
3-
ignore-words-list = ser,dout,rsource,fram,inout,shs,ans,aci,unstall,unstalling,hart,wheight,ot,wel,parms
3+
ignore-words-list = ser,dout,rsource,fram,inout,shs,ans,aci,unstall,unstalling,hart,wheight,ot,wel,parms,ehen
44
write-changes = true

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ repos:
154154
require_serial: true
155155
additional_dependencies:
156156
- PyYAML == 5.3.1
157-
- idf-build-apps~=2.0
157+
- idf-build-apps~=2.5
158158
- id: sort-yaml-files
159159
name: sort yaml files
160160
entry: tools/ci/sort_yaml.py

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ if(CONFIG_COMPILER_DUMP_RTL_FILES)
152152
list(APPEND compile_options "-fdump-rtl-expand")
153153
endif()
154154

155+
idf_build_set_property(GDBINIT_FILES_PREFIX_MAP "${BUILD_DIR}/gdbinit/prefix_map")
156+
file(MAKE_DIRECTORY "${BUILD_DIR}/gdbinit")
157+
file(WRITE "${BUILD_DIR}/gdbinit/prefix_map" "")
158+
155159
if(NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS 8.0.0)
156160
if(CONFIG_COMPILER_HIDE_PATHS_MACROS)
157161
list(APPEND compile_options "-fmacro-prefix-map=${CMAKE_SOURCE_DIR}=.")

components/app_trace/sys_view/ext/heap_trace_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const static char *TAG = "sysview_heap_trace";
2121
#endif
2222

2323
static SEGGER_SYSVIEW_MODULE s_esp_sysview_heap_module = {
24-
.sModule = "ESP32 SystemView Heap Tracing Module",
24+
.sModule = "M=ESP32 SystemView Heap Tracing Module",
2525
.NumEvents = 2,
2626
};
2727

components/bootloader_support/src/esp32h2/bootloader_esp32h2.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ static inline void bootloader_hardware_init(void)
9191
SET_PERI_REG_MASK(PMU_RF_PWC_REG, PMU_XPD_FORCE_RFPLL);
9292
/* Enable analog i2c master clock */
9393
SET_PERI_REG_MASK(MODEM_LPCON_CLK_CONF_REG, MODEM_LPCON_CLK_I2C_MST_EN);
94+
REGI2C_WRITE_MASK(I2C_BIAS, I2C_BIAS_DREG_0P8, 8); // fix low temp issue, need to increase this internal voltage
95+
9496
}
9597

9698
static inline void bootloader_ana_reset_config(void)
@@ -160,7 +162,7 @@ esp_err_t bootloader_init(void)
160162
}
161163
#endif // !CONFIG_APP_BUILD_TYPE_RAM
162164

163-
// check whether a WDT reset happend
165+
// check whether a WDT reset happened
164166
bootloader_check_wdt_reset();
165167
// config WDT
166168
bootloader_config_wdt();

components/bt/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ if(CONFIG_BT_ENABLED)
753753
"host/nimble/nimble/nimble/host/store/config/src/ble_store_nvs.c"
754754
"host/nimble/nimble/nimble/host/src/ble_gattc_cache.c"
755755
"host/nimble/nimble/nimble/host/src/ble_gattc_cache_conn.c"
756+
"host/nimble/nimble/nimble/host/src/ble_eatt.c"
756757
)
757758

758759
if(CONFIG_BT_CONTROLLER_DISABLED AND CONFIG_BT_NIMBLE_TRANSPORT_UART)

components/bt/controller/esp32/bt.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ esp_err_t esp_bredr_sco_datapath_set(esp_sco_data_path_t data_path)
19311931
return ESP_OK;
19321932
}
19331933

1934-
esp_err_t esp_ble_scan_dupilcate_list_flush(void)
1934+
esp_err_t esp_ble_scan_duplicate_list_flush(void)
19351935
{
19361936
if (btdm_controller_status != ESP_BT_CONTROLLER_STATUS_ENABLED) {
19371937
return ESP_ERR_INVALID_STATE;
@@ -1940,6 +1940,11 @@ esp_err_t esp_ble_scan_dupilcate_list_flush(void)
19401940
return ESP_OK;
19411941
}
19421942

1943+
esp_err_t esp_ble_scan_dupilcate_list_flush(void)
1944+
{
1945+
return esp_ble_scan_duplicate_list_flush();
1946+
}
1947+
19431948
/**
19441949
* This function re-write controller's function,
19451950
* As coredump can not show parameters in function which is in a .a file.

components/bt/controller/esp32c2/bt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ static void esp_bt_ctrl_log_partition_get_and_erase_first_block(void);
199199
/* Local variable definition
200200
***************************************************************************
201201
*/
202+
#if CONFIG_ESP32C2_REV_MIN_FULL < 200
203+
void *g_ble_lll_rfmgmt_env_p;
204+
#endif
202205
/* Static variable declare */
203206
static DRAM_ATTR esp_bt_controller_status_t ble_controller_status = ESP_BT_CONTROLLER_STATUS_IDLE;
204207
#if CONFIG_BT_LE_CONTROLLER_LOG_ENABLED

components/bt/controller/esp32c3/bt.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ extern int API_vhci_host_register_callback(const vhci_host_callback_t *callback)
260260
extern int ble_txpwr_set(int power_type, uint16_t handle, int power_level);
261261
extern int ble_txpwr_get(int power_type, uint16_t handle);
262262

263-
extern uint16_t l2c_ble_link_get_tx_buf_num(void);
264263
extern void coex_pti_v2(void);
265264

266265
extern bool btdm_deep_sleep_mem_init(void);
@@ -1877,11 +1876,6 @@ int IRAM_ATTR esp_bt_h4tl_eif_io_event_notify(int event)
18771876
return btdm_hci_tl_io_event_post(event);
18781877
}
18791878

1880-
uint16_t esp_bt_get_tx_buf_num(void)
1881-
{
1882-
return l2c_ble_link_get_tx_buf_num();
1883-
}
1884-
18851879
static void coex_wifi_sleep_set_hook(bool sleep)
18861880
{
18871881

components/bt/controller/esp32c6/Kconfig.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,3 +689,11 @@ config BT_LE_DFT_TX_POWER_LEVEL_DBM_EFF
689689
default 18 if BT_LE_DFT_TX_POWER_LEVEL_P18
690690
default 20 if BT_LE_DFT_TX_POWER_LEVEL_P20
691691
default 0
692+
693+
config BT_LE_CTRL_CHECK_CONNECT_IND_ACCESS_ADDRESS
694+
bool "Enable enhanced Access Address check in CONNECT_IND"
695+
default n
696+
help
697+
Enabling this option will add stricter verification of the Access Address in the CONNECT_IND PDU.
698+
This improves security by ensuring that only connection requests with valid Access Addresses are accepted.
699+
If disabled, only basic checks are applied, improving compatibility.

0 commit comments

Comments
 (0)