Can I call this littlefs-uploader via the VScode/PlatformIO environment? #102
-
|
Hi. In my current project, I have a plan that some text file would be uploaded to the pico, which has internal flash formated as the LittleFS file system. My development environment is the PlatformIO in the VScode. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
No. The uploader here works using a bunch of state variables set by the Arduino IDE. Plain VSCode won't have that. That said, it's a 2-line command to upload a filesystem to a chip. I'm sure P.IO can have that as an additional build or upload stage. They might even already have a special build target for that. If not, you just need to have P.IO call |
Beta Was this translation helpful? Give feedback.
No. The uploader here works using a bunch of state variables set by the Arduino IDE. Plain VSCode won't have that.
That said, it's a 2-line command to upload a filesystem to a chip. I'm sure P.IO can have that as an additional build or upload stage. They might even already have a special build target for that. If not, you just need to have P.IO call
mklittlefsand the appropriate uploader exe for your chip (you could even copy the command lines the IDE plugin shows)