linguini1 commented on PR #18408: URL: https://github.com/apache/nuttx/pull/18408#issuecomment-4048033093
@fdcavalcanti I have tested on the `esp32c3-xiao:ble` config with debug assertions enabled and everything is working fine (logs at bottom of PR description). This is my only ESP device right now, and it's RISC-V not Xtensa, so maybe not particularly useful in reproducing the issue you noticed. I took a look at the mainline initialization vs this patch, and the `esp32-devkitc` board already had an implemented version of `board_late_initialize` which is not modified in this patch. I did notice that in SMP builds it adds a memory region, but this step isn't performed in `board_app_initialize`. The two init methods are otherwise identical. Would you be able to perform your test on `esp32-devkitc` for mainline again but this time enable `CONFIG_BOARD_LATE_INITIALIZE` instead of `NSH_ARCHINIT`? I'm wondering if the `board_late_initialize` logic was always faulty and it just wasn't noticed because `NSH_ARCHINIT` was used. -- 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]
