tmedicci commented on code in PR #9022: URL: https://github.com/apache/nuttx/pull/9022#discussion_r1175552966
########## arch/xtensa/Kconfig: ########## @@ -82,6 +82,7 @@ config ARCH_CHIP_ESP32S3 select ARCH_HAVE_RESET select ARCH_HAVE_TESTSET select ARCH_VECNOTIRQ + select FORCE_LIBC_ARCH_KERNEL if BUILD_PROTECTED select LIBC_ARCH_MEMCPY if BUILD_FLAT Review Comment: The option `FORCE_LIBC_ARCH_KERNEL` forces the kernel to use the alternative version (or ROM functions, in this case) on the kernel while allowing the userspace to build the C version. Specifically, S3 does not allow userspace to directly access the ROM functions through the MMU. That's why the userspace would need to build the C version. On the other hand, the Wi-Fi driver requires the usage of the ROM functions on the kernel-side. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org