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

commit 8a758b6a10aa3c346a1d029b9169a968c49832de
Author: Eren Terzioglu <[email protected]>
AuthorDate: Fri Jul 24 14:08:16 2026 +0200

    boards/risc-v/esp32c6: Add SW LP Mailbox board support
    
    Add software lp mailbox board support
    
    Signed-off-by: Eren Terzioglu <[email protected]>
---
 boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c 
b/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c
index d44081a652f..d50b9e0a341 100644
--- a/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c
+++ b/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c
@@ -158,6 +158,10 @@
 #  endif
 #endif
 
+#  ifdef CONFIG_ESPRESSIF_LP_MAILBOX
+#    include "espressif/esp_lp_mailbox.h"
+#  endif
+
 #include "esp32c6-devkitc.h"
 
 /****************************************************************************
@@ -549,6 +553,10 @@ int esp_bringup(void)
 
 #ifdef CONFIG_ESPRESSIF_USE_LP_CORE
 
+#  ifdef CONFIG_ESPRESSIF_LP_MAILBOX
+  esp_lp_mailbox_init();
+#  endif
+
   /* ULP initialization should be the handled later than
    * peripherals to use supported peripherals properly on ULP core
    */

Reply via email to