← index #5394PR #5291
Related · medium · value 0.849
QUERY · ISSUE

Freezing resources that are not Python scripts

openby RJSDevelopened 2019-12-07updated 2020-01-08
enhancement

I want to flash modules with html files together, but I can't read them.
e.g list
_boot.py
public/index.html

I modified makemanifest.py to pass other files types as path, I cheked existing it in the firmware.elf, and it exist, but I cant read it for send by http

May be exist way for read those files or what sorces can I modify for get this possibility?

CANDIDATE · PULL REQUEST

Follow links: Restore old behaviour of freezing (linked) directories in modules/

closedby mirkoopened 2019-11-04updated 2019-11-06

While the new manifest.py style got introduced for freezing python code
into the binary, the old way - where files and modules within
ports/*/modules where baked into the resulting binary - was still
supported via "freeze('$(PORT_DIR)/modules')" within manifest.py.

However behaviour changed for symlinks to modules (=directories), as
those links weren't followed anymore.

Restore old behaviour by explicitly following symlinks within modules/
directory.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied