Hi,
Can anyone tell me what the best way to store a large website (815kB) in the ESP32's external flash? I assume, hard coding the website directly into a header file would not utilise the external flash and therefore causes the user app not to boot. I have converted the website to a hex dump as recommended by Mr. Kolban, but I'm not really sure what the best way to proceed would be.
Storing a Large (800kB) Website
-
- Posts: 7
- Joined: Mon Jan 09, 2017 1:32 pm
- Location: Germany
Re: Storing a Large (800kB) Website
Have you checked https://github.com/espressif/esp-idf/bl ... inary-data?
You'll probably want to use COMPONENT_EMBED_TXTFILES. Works fine for HTML...
You'll probably want to use COMPONENT_EMBED_TXTFILES. Works fine for HTML...
Re: Storing a Large (800kB) Website
Excellent. I would probably opt for the COMPONENT_EMBED_FILES because of any escape characters in a string such as a backslash. Thanks! Let me give it a go.
Re: Storing a Large (800kB) Website
For anyone who comes across this thread, there is a very similar thread which goes into greater detail here:
viewtopic.php?t=676
viewtopic.php?t=676
Who is online
Users browsing this forum: hyansuper and 122 guests