micropython/tools
Jim Mussared e0bf4611c3 py: Only search frozen modules when '.frozen' is found in sys.path.
This changes makemanifest.py & mpy-tool.py to merge string and mpy names
into the same list (now mp_frozen_names).

The various paths for loading a frozen module (mp_find_frozen_module) and
checking existence of a frozen module (mp_frozen_stat) use a common
function that searches this list.

In addition, the frozen lookup will now only take place if the path starts
with ".frozen", which needs to be added to sys.path.

This fixes issues #1804, #2322, #3509, #6419.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-18 00:01:59 +11:00
..
autobuild tools/autobuild: Automatically build all esp32 boards. 2021-12-10 21:29:27 +11:00
mpremote tools/mpremote: Implement seek and flush in ioctl method. 2021-12-09 13:35:59 +11:00
.gitattributes
.gitignore
cc1
ci.sh stm32/boards: Build NUCLEO_WB55 and STM32F769DISC without mboot enabled. 2021-11-22 17:12:16 +11:00
codeformat.py drivers/ninaw10: Add ublox Nina-W10 WiFi/BT module driver. 2021-11-13 23:01:03 +11:00
codestats.sh
dfu.py tools/dfu.py: Make tool work with python3 when parsing DFU files. 2021-11-01 15:46:59 +11:00
file2h.py
gen-changelog.sh
gen-cpydiff.py tools/gen-cpydiff.py: Don't rename foo to ufoo in diff output. 2021-08-13 23:14:08 +10:00
gendoc.py
insert-usb-ids.py ports: Rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID. 2021-08-07 23:13:55 +10:00
makemanifest.py py: Only search frozen modules when '.frozen' is found in sys.path. 2021-12-18 00:01:59 +11:00
metrics.py
mpy-tool.py py: Only search frozen modules when '.frozen' is found in sys.path. 2021-12-18 00:01:59 +11:00
mpy_bin2res.py
mpy_cross_all.py all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 2021-09-16 16:04:03 +10:00
mpy_ld.py all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 2021-09-16 16:04:03 +10:00
pyboard.py tools/pyboard.py: Make --no-soft-reset consistent with other args. 2021-08-25 15:47:01 +10:00
pydfu.py all: Update Python formatting to latest Black version 21.12b0. 2021-12-09 12:09:40 +11:00
tinytest-codegen.py tests/basics: Split f-string debug printing to separate file with .exp. 2021-08-26 23:56:02 +10:00
uf2conv.py
uncrustify.cfg tools/uncrustify: Force 1 newline at end of file. 2021-08-31 13:14:45 +10:00
upip.py tools/upip.py: Support == to specify exact package version. 2021-12-15 12:49:14 +11:00
upip_utarfile.py
verifygitlog.py