Hi

The closest way to achieve this, eg if you want to exercise the SD drivers, would be to simulate a SPI/SD device that the main SD driver could talk to.

The simulated SPI or SD would have to get,recognize and execute SD commands, and it would get its storage from the host disk or memory.

This is a bit cumbersome, so if only a more functional file storage is required, romfs or hostfs could be enough.

Sebastien

Le 24/01/2022 à 12:07, Fotis Panagiotopoulos a écrit :
Hello,

I am working on a system that uses an SD card to read various files.
I am also using the simulator for testing this firmware.

I would like to test the parts of the system that read and parse these
files, so I need a way to simulate the SD card.

Is there any way to achieve this?

Ideally, I would like to mount a directory of the host system directly in
NuttX.
Or maybe select a set of files to be included in compile time?

Thank you!

Reply via email to