SQLite Forum

SQLite3 for Teensy 4.1 - dirent.h
Login
Teensy 4.1 is an embedded ARM Cortex-M7 powered board with 512KB of RAM. It has a comfortable SD card slot and I would like to use SQLite to store data on it. I'm trying to cross-compile the sqlite3 amalgamation (3.34 version) with the gcc-arm-none-eabi but it fails stating that the dirent.h header is not supported. After a brief investigation, it seems that that header provides "advanced" FS utilities and helpers that an embedded system obviously does not have / need.

The filesystem I'd use for the SD card would be the SPIFFS filesystem.

How should I proceed?

Thank you

Riccardo