Can LittleFS files be accessed from a PC? #2
-
Hello! I'm very new to this stuff and I was wondering whether files created via LittleFS in the flash memory of a Raspberry Pico can be read by a PC via the Pico's USB port, or (vice versa) files can be uploaded from the PC to LittleFS and accessed from the Pico firmware? If that's possible, what would be required on the PC side to do so? If it's not possible, is there any other way to make files in the Pico flash memory accessible from both the Pico firmware and the PC? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Everything is possible, but certainly somebody needs to write some code for it, if not available yet. Check the examples in my libraries
where you can use the PC's
So, the easiest way is to use a WiFiWebServer or EthernetWebServer to generate a full-fledged WebServer, then you can read / write any LittleFS (SPIFFS, FlashStorage, or SD-based) file using TCP/IP, Browser, etc.. Just adapt / port the ESP32/ESP8266 code to fulfil your use-case. I'm sorry I can't help write that code now. Possibly in the future if there are more use-cases and requests. Who knows when. Good Luck, |
Beta Was this translation helpful? Give feedback.
Everything is possible, but certainly somebody needs to write some code for it, if not available yet.
Check the examples in my libraries
where you can use the PC's
curl
function to load the software onto ESP32 LittleFS bySo, the easiest way is to use a WiFiWebServer or EthernetWebServer to generate a full-fledged WebServer, then you can read / write any LittleFS…