bigcat-2026 commented on code in PR #21480:
URL: https://github.com/apache/nuttx/pull/21480#discussion_r4702558041


##########
boards/xtensa/esp32s3/esp32s3-r8/Kconfig:
##########
@@ -0,0 +1,99 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+if ARCH_BOARD_ESP32S3_R8
+
+config ESP32S3_STORAGE_MTD_OFFSET
+       hex "Storage MTD base address in SPI Flash"
+       default 0x180000
+       depends on ESP32S3_MTD
+       ---help---
+               MTD base address in SPI Flash.
+
+config ESP32S3_STORAGE_MTD_SIZE
+       hex "Storage MTD size in SPI Flash"
+       default 0x100000
+       range 0x0 0x400000 if ESP32S3_FLASH_4M
+       range 0x0 0x800000 if ESP32S3_FLASH_8M
+       range 0x0 0x1000000 if ESP32S3_FLASH_16M
+       range 0x0 0x2000000 if ESP32S3_FLASH_32M
+       depends on ESP32S3_MTD
+       ---help---
+               MTD size in SPI Flash.
+
+choice ESP32S3_SPIFLASH_FS
+       prompt "Mount SPI Flash MTD on bring-up"
+       default ESP32S3_SPIFLASH_SMARTFS
+       depends on ESP32S3_MTD
+       optional

Review Comment:
   > This copy of the `ESP32S3_SPIFLASH_FS` choice with `optional` is back. A 
named choice is shared, so SmartFS is no longer the default for every ESP32-S3 
board: CI xtensa-03 shows `< CONFIG_NSH_DISABLE_LOSMART=y` for 
esp32s3-devkit:spiflash, kernel_n8r2 and kernel_oct.
   > 
   > Fix: delete lines 8-54 again, as in the 20 November push.
   
   Done. Restored the board files from the 20 November push and applied only
   the three requested changes on top. The duplicated ESP32S3_SPIFLASH_FS
   choice and other stale options have been removed again.
   
   Pushed. Please re-run CI.



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

To unsubscribe, e-mail: [email protected]

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

Reply via email to