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 16776059d28193292d2fc016f01ed8416525a2e9
Author: Eren Terzioglu <[email protected]>
AuthorDate: Tue May 19 16:11:12 2026 +0200

    boards/risc-v/esp32p4: Add LP Mailbox board support
    
    Add LP Mailbox board support for esp32p4
    
    Signed-off-by: Eren Terzioglu <[email protected]>
---
 .../risc-v/esp32p4/esp32p4-function-ev-board/src/esp32p4_bringup.c  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/boards/risc-v/esp32p4/esp32p4-function-ev-board/src/esp32p4_bringup.c 
b/boards/risc-v/esp32p4/esp32p4-function-ev-board/src/esp32p4_bringup.c
index 5ba5cb3b48d..d4cc36bd60b 100644
--- a/boards/risc-v/esp32p4/esp32p4-function-ev-board/src/esp32p4_bringup.c
+++ b/boards/risc-v/esp32p4/esp32p4-function-ev-board/src/esp32p4_bringup.c
@@ -130,6 +130,9 @@
 #  ifdef CONFIG_ESPRESSIF_ULP_USE_TEST_BIN
 #    include "ulp/ulp_code.h"
 #  endif
+#  ifdef CONFIG_ESPRESSIF_LP_MAILBOX
+#    include "espressif/esp_lp_mailbox.h"
+#  endif
 #endif
 
 #include "esp32p4-function-ev-board.h"
@@ -501,6 +504,9 @@ int esp_bringup(void)
 #endif
 
 #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