After enabling MCUBoot in NCS, external flash doesn't get picked up by littleFS

Hello:

I am using an nrf52840 on a custom board with W25Q01NV NOR Flash with the Nordic QSPI-NOR driver. Programming is with NCS v 1.8.0 (upgraded yesterday) and the VS Code extension.  I am using the external Flash partition only for storage of data collected by the device and not for use with MCUBoot or for anything else. This setup was previously working with nrf5 SDK and recently moved to NCS.

When the CONFIG_BOOTLOADER_MCUBOOT option is not enabled, the code works fine, mounts the parittion and starts recording the data, but when I enable MCUBoot, LittleFS mounts on an internal flash parition. I found this related issue here: https://devzone.nordicsemi.com/f/nordic-q-a/62212/external-spi-flash-to-use-with-littlefs-on-nrf9160-w-mcuboot, but that was from a year ago and there was no resolution to that issue.

Again, I do not want to store MCUBoot images on the external flash, but I want to still use it for storage and I need MCUBoot enabled for upgrades as usual with the internal flash only. 

Any help is appreciated. 

Ashwin

Related