-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Even though buffers are provided to littlefs (see storman_service.c in 94b76e4), it still seems to be calling malloc() and causing FreeRTOS to overflow its heap. Increasing FreeRTOS heap in hardware/[platform]/rtos_config.h is a workaround, but we really shouldn't have LFS or any other task calling malloc.
This can be tested by placing a breakpoint at littlefs/littlefs/lfs_util.h line 249 and calling a flash filesystem function via /mnt/flash0, it will only hit the breakpoint if LFS is using malloc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels