This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Not able to combine OpenThread, MCUBoot and LittleFS

Hi,

I'm trying to combine OpenThread, MCUBoot and LittleFS in a sample in nRF Connect SDK v1.5.1, but I'm getting the following error:

C:/ncs/v1.5.0/nrf/include/flash_map_pm.h:29:2: error: #error "Not supported"
   29 | #error "Not supported"

I have checked the file, and it seems to suggest that combining NVS (used by OpenThread/settings module for storing network data) with LittleFS is not supported:

#if (CONFIG_SETTINGS_FCB || CONFIG_SETTINGS_NVS) && CONFIG_FILE_SYSTEM_LITTLEFS
#error "Not supported"
#endif

I can reproduce this issue by adding the following configs to the Zephyr LittleFS sample prj.conf file:

CONFIG_BOOTLOADER_MCUBOOT=y

CONFIG_NET_L2_OPENTHREAD=y
CONFIG_NETWORKING=y

Is there any ways I can successfully combine these modules?

Parents Reply Children
No Data
Related