44b1bc0ab9
Added .rtc_noinit and .noinit section definitions into linker file /esp32/ld/esp32.common.ld. The macro __NOINIT_ATTR, RTC_NOINIT_ATTR declared in esp32/esp_attr.h file. Added unit test file to test added behavior for noinit variables and its attributes. Added documentation changes for new added attributes. Make some corrections after code review: The linker file has been corrected to place noinit section before bss_start to make it safer. Documentation file has been modified to clarify reset behavior of allocated data . Corrected typos in test_noinit.c and removed assertion of noinit variable to avoid possible issues with ROM boot loader memory allocation. The linker file has been corrected to place noinit section before bss_start to make it safer. Documentation file has been modified to clarify reset behavior of allocated data . Corrected typos in test_noinit.c and removed assertion of noinit variable to avoid possible issues with ROM boot loader memory allocation. Update test_noinit.c file to address RTCWDT_RTC_RESET reset reason instead of POWERON_RESET. Test optimized to pass automated unit testing. esp32: Add .noinit and .rtc_noinit sections to the linker script Update of general-notes.rst documentation to fomat examples as code and attributes as identifiers. Test test_noinit.c corrected to pass automated testing (support ofTEST_CASE_MULTIPLE_STAGES()) https://ezredmine.espressif.cn:8765/issues/15878 |
||
---|---|---|
.. | ||
component.mk | ||
logo.jpg | ||
test_ahb_arb.c | ||
test_ahb_arb_asm.S | ||
test_delay.c | ||
test_dport.c | ||
test_esp32.c | ||
test_esp_timer.c | ||
test_ets_timer.c | ||
test_exception.c | ||
test_fastbus.c | ||
test_fastbus_asm.S | ||
test_fp.c | ||
test_int_wdt.c | ||
test_intr_alloc.c | ||
test_miniz.c | ||
test_noinit.c | ||
test_pm.c | ||
test_restart.c | ||
test_sleep.c | ||
test_spiram_cache_flush.c | ||
test_stack_check.c | ||
test_stack_check_cxx.cpp | ||
test_tjpgd.c | ||
test_tsens.c | ||
test_unal_dma.c |