mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 21:11:12 +02:00
Enables the ability to use frozen modules in the zephyr port. Enabled by adding `CONFIG_MICROPY_FROZEN_MODULES` to the board configuration file. Manually set manifest path with `CONFIG_MICROPY_FROZEN_MANIFEST`. Signed-off-by: Vdragon <mail@massdriver.space>
8 lines
226 B
Python
8 lines
226 B
Python
# This is an example frozen module manifest. Enable this by configuring
|
|
# the Zephyr project and enabling the frozen modules config feature.
|
|
|
|
freeze("$(PORT_DIR)/modules")
|
|
|
|
# Require a micropython-lib module.
|
|
require("upysh")
|