How to enable littlefs in mcuboot (not in the app)

My project needs to enable Litlefs to read files in the bootloader. I added it in the configuration file of mcuboot

CONFIG_FILE_SYSTEM=y
CONFIG_FILE_SYSTEM_LITTLEFS=y

But when these errors occur ,I can't find the reason

Can you help me solve this problem? (I think it is feasible to enable LFS in bootloader)

Thank you.

Related