This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
esp-idf
kopia lustrzana
https://github.com/espressif/esp-idf
Obserwuj
1
Polub
0
Forkuj
You've already forked esp-idf
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
ed30c4a106
esp-idf
/
tools
/
test_apps
/
system
/
bootloader_sections
/
sdkconfig.ci.rtc_retain
3 wiersze
84 B
Plaintext
Czysty
Zwykły widok
Historia
Unescape
Escape
bootloader: move rtc_retain_mem functions back into .iram_loader.text Introduced 66a32c17 when bootloader_common was moved out of the loader section. Also add a test for this configuration.
2020-09-09 08:35:29 +00:00
CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y
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-02 11:23:45 +00:00
CONFIG_COMPILER_OPTIMIZATION_PERF=y