tmedicci commented on code in PR #13022:
URL: https://github.com/apache/nuttx/pull/13022#discussion_r1722219431
##########
arch/risc-v/src/common/espressif/esp_start.c:
##########
@@ -470,15 +478,6 @@ void __esp_start(void)
showprogress('A');
- /* Clear .bss. We'll do this inline (vs. calling memset) just to be
- * certain that there are no issues with the state of global variables.
- */
-
- for (uint32_t *dest = (uint32_t *)_sbss; dest < (uint32_t *)_ebss; )
Review Comment:
Yes, it's either cleared by
[`bootloader_init`](https://github.com/apache/incubator-nuttx/blob/3446f2a977944813b52014b28143341081dbf6e3/arch/risc-v/src/common/espressif/esp_start.c#L403)
or by
[`bootloader_clear_bss_section`](https://github.com/apache/incubator-nuttx/blob/3446f2a977944813b52014b28143341081dbf6e3/arch/risc-v/src/common/espressif/esp_start.c#L409)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]