This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit b7bc0e542cf2995e8275cf96588fa6cef0fcf1a0
Author: Marco Casaroli <marco.casar...@gmail.com>
AuthorDate: Tue Oct 10 10:58:31 2023 +0000

    fix(esp32s3-eye): spiflash declaration
---
 boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3-eye.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3-eye.h 
b/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3-eye.h
index 46fe3522c6..2b0d143a43 100644
--- a/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3-eye.h
+++ b/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3-eye.h
@@ -85,6 +85,18 @@ int esp32s3_bringup(void);
 int esp32s3_gpio_init(void);
 #endif
 
+/****************************************************************************
+ * Name: board_spiflash_init
+ *
+ * Description:
+ *   Initialize the SPIFLASH and register the MTD device.
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_ESP32S3_SPIFLASH
+int board_spiflash_init(void);
+#endif
+
 /****************************************************************************
  * Name: board_i2c_init
  *

Reply via email to