esp-idf/tools/test_apps/system
Mahavir Jain 40c1529b4b
bootloader_support: fix stringop-overflow warning with PERF compiler optimization
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).

Build failure log:
-----------------

In function 'bootloader_common_reset_rtc_retain_mem',
    inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
  159 |     memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 13:40:22 +05:30
..
bootloader_sections bootloader_support: fix stringop-overflow warning with PERF compiler optimization 2022-09-05 13:40:22 +05:30
build_test kconfig: refactor xtal freq kconfig to common configuration item 2022-08-08 13:53:02 +08:00
cxx_build_test mcpwm: don't use keyword operator 2022-08-18 10:59:42 +08:00
cxx_no_except tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
eh_frame docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
flash_psram ci: migrate system test apps to pytest 2022-07-26 11:47:28 +08:00
g0_components docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
g1_components esp_app_format: Fixed build errors and resolved dependencies 2022-08-24 14:46:32 +05:30
gdb_loadable_elf build system: re-add -Wno-format as private flag for some test_apps 2022-08-03 16:42:47 +04:00
longjmp_test build system: re-add -Wno-format as private flag for some test_apps 2022-08-03 16:42:47 +04:00
memprot Merge branch 'ci/system_apps_pytest' into 'master' 2022-08-01 16:45:09 +08:00
monitor_ide_integration tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
no_embedded_paths docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
panic tools: fix test_abort backtrace 2022-08-29 15:41:14 +04:00
startup docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00