This is the 1st real sketch. I am trying to migrate a "C" project for the Raspberry Pi Pico board.
I need to store data so I am trying follow the example "LittleFS->FSUpload.ino". I can compile this example with no issues.
When I put "#include <LittleFS.h>" in my sketch.ino, I get the following error:
In file included from C:\Users\Dave\Dropbox\My PC (DAVID-SPLITZ)\Desktop\RSI Watcher System\Base Design\R-PI_PollDevice\PollDevice\C_PollDevice.c:1:
C:\Users\Dave\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.6.4\cores\rp2040/FS.h:23:10: fatal error: memory: No such file or directory
23 | #include
| ^~~~~~~~
LittleFS.h includes <FS.h> which includes
#include <LittleFS.h> is the 1st statement in my sketch.
Why can I compile FSUpload.ino but my schetch fails?