nRF5340 - Conflicting configurations for Settings and Littlefs

Hi,
with appropriate pm_static.yml and dts.overlay we managed to setup a LittleFS instance over external flash.
However this broke the Settings storage subsystem the BLE stuff relied on.
The problem showed up as a conflicting CONFIG_NVS=y and CONFIG_FILE_SYSTEM_LITTLEFS=y at compile time.

The compile error reports:
# <spiro>/nrf53sdk/ncs/nrf/include/flash_map_pm.h:31:2: error: #error "Not supported"

This is odd because Settings is stored in the internal flash, which is disjoint from the external flash.
Working around with CONFIG_SETTINGS_NONE=y unlocks the build conflict, but it is unacceptable, because it will configure Settings backend as non-persistent.

Related