Laczen commented on PR #17036:
URL: https://github.com/apache/nuttx/pull/17036#issuecomment-3328251945

   > @Laczen I'm currently working on some SPI Flash related stuff which 
involve MTD options. I would be happy to look into issues that you may have 
noticed, if that means a better experience on menuconfig and overall 
organization.
   
   @fdcavalcanti what I proposed in the PR is a generic method to describe 
partitions on a mtd, this can be reused in case there are multiple mtd's. It is 
straightforward to extend this with a config to enable a certain fs on this 
(together with a specification of the partition number that would be used). So 
far no problem.
   
   A first problem arises when trying to specify if a partition is encrypted or 
not, this is not a property that is valid for all devices.
   
   A second problem occurs when a specific fs cannot be used on a specific 
partition (e.g. spiffs on an encrypted partition), it would be needed to 
"disable" certain options before including the generic mtd partition 
description.
   
   I hope this clarifies it a little. I have not yet fully given up on the 
idea, but it is more complex than I thought.


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to