mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
4aaf02b093
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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
partitions_example.csv | ||
README.md | ||
sdkconfig.ci.anti_rollback | ||
sdkconfig.ci.default | ||
sdkconfig.ci.flash_encryption | ||
sdkconfig.ci.rtc_retain | ||
sdkconfig.defaults |
Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 |
---|
We have no rtc memory on ESP32-C2.