Make the css and html files to firmware

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
draco.wang
Posts: 4
Joined: Tue Nov 03, 2020 3:18 am

Make the css and html files to firmware

Post by draco.wang » Fri Nov 06, 2020 9:42 am

I am using microdot as webserver in esp32, it includes some static files like css,js and html etc.
Can i make the static files to new firmware of esp32?

I succeeds make some .py files to the firmware, just copy it in ~/esp/micropython/ports/esp32/modules,and make it well.
But when i copy the css and js files to it ,make error:

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Building with ESP IDF v3
warn: unsupported file type, skipped freeze: web/jquery-3.5.1.min.js

draco.wang
Posts: 4
Joined: Tue Nov 03, 2020 3:18 am

Re: Make the css and html files to firmware

Post by draco.wang » Fri Nov 06, 2020 5:51 pm

Resolved!

facuver_26
Posts: 3
Joined: Sun Nov 22, 2020 5:11 pm

Re: Make the css and html files to firmware

Post by facuver_26 » Fri Jul 02, 2021 3:49 pm

Hello, can you tell me how do you did it?
I am tring to do the same. I have a microdot server and I want to make it all in a bin file. But I cant froze the static files.
Thanks.

Post Reply