← index #5495PR #6755
Related · medium · value 0.459
QUERY · ISSUE

NRF - Frozen Modules not Available in REPL

openby pacmacopened 2020-01-06updated 2020-01-08

3 Files in freeze folder, sh.py and flashbdev.py and symbolic links.

freeze % ls -all
-rwxrwxrwx  1 pac  staff    118  5 січ 21:18 flashbdev.py
-rwxrwxrwx  1 pac  staff   1463  7 кві  2019 sh.py
-rwxrwxrwx  1 pac  staff     63  5 січ 21:18 test.py

Frozen Folder is called during make and all 3 are built with MPY:

make -j8 BOARD=holyiot_18010 SD=s140 FROZEN_MPY_DIR=freeze MICROPY_FATFS=1
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Warning: FROZEN_MPY_DIR is deprecated in favour of FROZEN_MANIFEST
.....
mkdir -p build-holyiot_18010-s140/py/
MPY freeze/test.py
MPY freeze/sh.py
MPY freeze/flashbdev.py
Create build-holyiot_18010-s140/pins_gen.c

But my 2 symbolic linked files not available in REPL:

>>> help('modules')
__main__          machine           test              uos
ble               math              time              ustruct
board             micropython       uarray            utime
builtins          random            ubluepy
gc                sys               ucollections
Plus any modules on the filesystem
CANDIDATE · PULL REQUEST

NRF: Add support for using frozen manifest in the nrf port.

closedby iabdalkaderopened 2021-01-06updated 2022-07-17

FROZEN_MPY_DIR is still supported, modules can be added to boards/manifest.py or with make FROZEN_MPY_DIR=freeze

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