gustavonihei commented on a change in pull request #3126:
URL: https://github.com/apache/incubator-nuttx/pull/3126#discussion_r598776135



##########
File path: arch/risc-v/src/esp32c3/Kconfig
##########
@@ -379,4 +394,42 @@ config ESP32C3_WIFI_FS_MOUNTPT
 
 endmenu # ESP32C3_WIRELESS
 
+menu "SPI Flash configuration"
+       depends on ESP32C3_SPIFLASH
+
+config ESP32C3_MTD_OFFSET
+       hex "MTD base address in SPI Flash"
+       default 0x180000
+       help
+               MTD base address in SPI Flash.
+
+config ESP32C3_MTD_SIZE
+       hex "MTD size in SPI Flash"
+       default 0x100000
+       help
+               MTD size in SPI Flash.
+
+config ESP32C3_SPIFLASH_DEBUG
+       bool "Debug SPI Flash"
+       default n
+       depends on DEBUG_FS_INFO
+       help
+               Enable this option, read and write of SPI Flash
+               will show input arguments and result.

Review comment:
       ```suggestion
                If this option is enabled, SPI Flash driver read and write 
functions
                will output input parameters and return values (if applicable).
   ```




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to