Freezing resources that are not Python scripts
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?
Make ROMFS Bootable.
Description
The new ROMFS feature allows users to deploy their application with all necessary resources as a package. This is hugely valuable. However, while ROMFS partitions can contain code, they are not actively searched by default for code. I'd like to suggest that ROMFS partition(s) are searched whenever before/after frozen scripts.
E.g. pyexec_file_if_exists() searches frozen scripts first before the current path. Searching ROMFS should be added in between. When used from main.c to run "boot.py" and "main.py" this would ensure that the ROMS partition is considered and executed first.
Similarly, when searching for an import, before searching for frozen scripts, ROMFS is also interrogated.
...
Generally, the goal here is one where you can put your whole application on ROMFS and then /flash or /sdcard don't matter except for storing logs or config files.
Code Size
This can be an optional feature.
Implementation
I hope the MicroPython maintainers or community will implement this feature
Code of Conduct
Yes, I agree