ESP32 + LittleFS. How to access a file included by manifest. #963
AlexLucardGoodman
started this conversation in
General
Replies: 1 comment
-
|
The files referenced by the import Resource from "Resource";
let bytes = new Uint8Array(new Resource("mydata"));The files/resource example goes a bit deeper. If you want to make the resource data available through a file system, you can write some code to copy the data from the resource to a file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm experimenting with LittleFS filesystem on Esp32. I've been able to read directory's contents, create and delete files, but I was wondering how to access a file included in the Moddable Project in my manifest.json???
During some WifiAP tests I created a server and was able to send a file included as follows in manifest:
... "data": { "*": [ "./assets/textfile" ] } ...but this file doesn't appear in the filesystem. Is there a way to access it through LittleFS?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions