gustavonihei opened a new pull request #4719:
URL: https://github.com/apache/incubator-nuttx/pull/4719


   ## Summary
   This PR intends to improve usability of the `menuconfig` for the SPI Flash 
FS mount options.
   
   Currently, when no file system is selected, the `choice` lists zero entries, 
which is very confusing to the user. To handle this the `choice` options have 
their dependencies (`depends on`) transformed into reverse dependencies 
(`select`).
   
   Second, the user may have the option to simply not mount the SPI Flash MTD 
on bringup. Currently, this is achievable only when SmartFS (which is the 
default FS option) is disabled by force. This behavior is fixed by using the 
`optional` Kconfig keyword on the `choice`, which makes it selectable.
   
   Last, but not least important, `MTD_SMART` is also added as a dependency of 
`ESP32_SPIFLASH_SMARTFS`. If `MTD_SMART` is not selected for build, it will 
result in a build error.
   
   ## Impact
   No changes to any defconfig, so there should be no impact.
   
   ## Testing
   CI build pass.
   
   


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