File System support for custom FreeRTOS port of RaspberryPi

Hello all,

I’m working on a project where I port some code to RpiZero and Rpi4. I execute some model simulations on tasks. To this point, I was using a seperate uart task to verify my outputs. I’ve been considering to use the SD card in a way that I create a file on it and write model outputs to it. The problem is, I don’t know where to start. There are two main repositories for FreeRTOS+FAT support, I am not sure what part of it I should add to my project, both of the projects seems too big and complicated. I’ve checked FatFs, seems quiet simple, but I’m missing low level disk I/O for raspberry boards.

In short, I need some pointers and hints on where to begin. There quiet good experts on the forum, any help is appreciated.

Thanks in advance,
Regards,
S.

Search Google for an older project called BitThunder. If I recall correctly that is FreeRTOS on a Pi including the file system. Would provide a link but not at my computer.