mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
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:
@@ -49,3 +49,14 @@ idf_component_register(SRCS ${srcs}
|
||||
PRIV_REQUIRES ${priv_requires}
|
||||
REQUIRES ${public_requires}
|
||||
LDFRAGMENTS linker.lf)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||
# GCC -fanalyzer false positives on early-return cleanup paths (see build logs with -Werror=analyzer-malloc-leak).
|
||||
set_source_files_properties("src/esp_lcd_panel_ssd1306.c"
|
||||
"src/esp_lcd_panel_st7789.c"
|
||||
PROPERTIES COMPILE_FLAGS "-Wno-analyzer-malloc-leak")
|
||||
if(CONFIG_SOC_I2C_SUPPORTED)
|
||||
set_source_files_properties("i2c/esp_lcd_panel_io_i2c.c"
|
||||
PROPERTIES COMPILE_FLAGS "-Wno-analyzer-malloc-leak")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user