I am looking at a way to expose 3x on-board MTD NOR flash and an EEPROM device (2 formatted with LittleFS and the larger NOR flash probably with FAT) to users so they can download log files, upload new firmware for MCUboot to use, or customization files etc.
This will probably be via USBMSD (hence FAT being a likely choice for the third system, especially as it will have MUCH fewer erases needed over the lifetime of the product) and/or via a device-hosted web server over CDC/NCM. I’m thinking a UnionFS is possibly a way to do this but the relevant fs driver is hard-coded to only allow 2 bindings and I would need 3. Before I look at embarking on expanding that to be a few more: a) Is my idea sound or is there a better/easier POSIX/NuttX approach to this? b) If sound, is there a fundamental problem with expanding what we have to allow for 3 or 4 - or even a Kconfig-set “n” bindings - other than the hours needed to achieve it!? Thanks!!