Laczen commented on code in PR #19255:
URL: https://github.com/apache/nuttx/pull/19255#discussion_r3531662100


##########
arch/arm/src/rp23xx/Kconfig:
##########
@@ -1059,3 +1059,69 @@ config RP23XX_BOARD_HAS_WS2812
        ---help---
                See the Board Selection menu to configure the pins used
                by ws2812.
+
+#####################################################################
+#  On-chip Flash File System Configuration
+#####################################################################
+
+config RP23XX_FLASH_MTD
+       bool "MTD device over the on-chip QSPI flash"
+       default n
+       select MTD
+       ---help---
+               Create an MTD device spanning the entire on-chip QSPI flash,
+               using the RP2350 bootrom flash programming functions.  It is
+               registered as /dev/rpflash.  Because the MTD covers the whole
+               chip, the region the NuttX image lives in stays addressable (for
+               example, for a firmware/OTA update).  Filesystem and OTA
+               partitions are layered on top with mtd_partition().
+
+if RP23XX_FLASH_MTD
+
+config RP23XX_FLASH_LENGTH

Review Comment:
   Is RP23XX_FLASH_SIZE a better name?



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