This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new c1cc9a4dc70 arch/risc-v/espressif: Fix CMake build issues for new
peripheral support
c1cc9a4dc70 is described below
commit c1cc9a4dc704f16e544297565f0f167026c02fa3
Author: Eren Terzioglu <[email protected]>
AuthorDate: Thu May 21 18:29:27 2026 +0200
arch/risc-v/espressif: Fix CMake build issues for new peripheral support
Fix CMake build issues
Signed-off-by: Eren Terzioglu <[email protected]>
---
arch/risc-v/src/common/espressif/CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/risc-v/src/common/espressif/CMakeLists.txt
b/arch/risc-v/src/common/espressif/CMakeLists.txt
index 193ac31d979..e91ebe9e4bc 100644
--- a/arch/risc-v/src/common/espressif/CMakeLists.txt
+++ b/arch/risc-v/src/common/espressif/CMakeLists.txt
@@ -188,6 +188,14 @@ if(CONFIG_CRYPTO_CRYPTODEV_HARDWARE)
list(APPEND SRCS esp_crypto.c)
endif()
+if(CONFIG_ESPRESSIF_TOUCH)
+ list(APPEND SRCS esp_touch.c)
+endif()
+
+if(CONFIG_COMP)
+ list(APPEND SRCS esp_ana_cmpr.c)
+endif()
+
if(CONFIG_ESPRESSIF_USE_LP_CORE)
message(
WARNING