Merge branch 'feature/upgrade_toolchain_to_16.1.0_20260609' into 'master'

Upgrade GNU toolchain to 16.1.0_20260609

See merge request espressif/esp-idf!49523
This commit is contained in:
Alexey Lapshin
2026-06-18 00:55:07 +04:00
42 changed files with 288 additions and 1781 deletions
+8
View File
@@ -232,3 +232,11 @@ endif()
# Required in `adc_share_hw_ctrl.h`
idf_component_optional_requires(PUBLIC esp_hal_ana_conv)
if(CONFIG_COMPILER_STATIC_ANALYZER AND CONFIG_IDF_TOOLCHAIN_GCC)
set_source_files_properties(
sleep_retention.c
PROPERTIES COMPILE_FLAGS
-Wno-analyzer-null-dereference
)
endif()
@@ -489,9 +489,9 @@ static IRAM_ATTR void smp_core_do_retention(void)
}
// Wait another core start to do retention
ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE("-Wanalyzer-infinite-loop")
bool smp_skip_retention = false;
smp_retention_state_t another_core_state;
ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE("-Wanalyzer-infinite-loop")
while (1) {
another_core_state = atomic_load(&s_smp_retention_state[!core_id]);
if (another_core_state == SMP_SKIP_RETENTION) {
@@ -407,9 +407,9 @@ static SPM_IRAM_ATTR void smp_core_do_retention(void)
}
// Wait another core start to do retention
ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE("-Wanalyzer-infinite-loop")
bool smp_skip_retention = false;
smp_retention_state_t another_core_state;
ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE("-Wanalyzer-infinite-loop")
while (1) {
another_core_state = atomic_load(&s_smp_retention_state[!core_id]);
if (another_core_state == SMP_SKIP_RETENTION) {
@@ -430,9 +430,9 @@ static IRAM_ATTR void smp_core_do_retention(void)
}
// Wait another core start to do retention
ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE("-Wanalyzer-infinite-loop")
bool smp_skip_retention = false;
smp_retention_state_t another_core_state;
ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE("-Wanalyzer-infinite-loop")
while (1) {
another_core_state = atomic_load(&s_smp_retention_state[!core_id]);
if (another_core_state == SMP_SKIP_RETENTION) {