Raspberry Pi Pico - LittleFS.h: No such file or directory


#1

Hi, I am trying to install uLisp on Raspberry Pi Pico from the Arduino IDE, following the turotial on the uLisp RP2040 page. When uploading uLisp to the Pico I get this compilation error:

sketch_may06a:179:12: fatal error: LittleFS.h: No such file or directory
   #include <LittleFS.h>
            ^~~~~~~~~~~~
compilation terminated.
exit status 1
LittleFS.h: No such file or directory

I found and installed a library called LittleFS_Mbed_RP2040 in the library manager, but get the same error afterwards. What am I missing?


#2

Are you using Earle Philhower’s Raspberry Pi RP2040 Boards core?

https://github.com/earlephilhower/arduino-pico

I should have given a link on the RP2040 page.


#3

Ah… I used Arduino’s official core for RP2040 boards because that was initially the only thing I found in the boards manager. I have now added Earle’s core and can successfully upload. I see you mentioned Earle’s core on the page; I am just new to the Pico (or microcontrollers in general) and had no idea what the core was for.

Thanks a lot :-)


#4

Great - glad it’s working!


#5