diff --git a/ports/stm32/boards/NUCLEO_WL55/manifest.py b/ports/stm32/boards/NUCLEO_WL55/manifest.py new file mode 100644 index 0000000000..8998166a3e --- /dev/null +++ b/ports/stm32/boards/NUCLEO_WL55/manifest.py @@ -0,0 +1,6 @@ +# Don't include default frozen modules because MCU is tight on flash space. + +# Only install the sync version of the LoRa driver because this board doesn't +# have asyncio by default. +require("lora-sync") +require("lora-stm32wl5") diff --git a/ports/stm32/boards/NUCLEO_WL55/mpconfigboard.mk b/ports/stm32/boards/NUCLEO_WL55/mpconfigboard.mk index 210f3058c1..ced2e7619b 100644 --- a/ports/stm32/boards/NUCLEO_WL55/mpconfigboard.mk +++ b/ports/stm32/boards/NUCLEO_WL55/mpconfigboard.mk @@ -9,5 +9,5 @@ TEXT0_ADDR = 0x08000000 MICROPY_VFS_FAT = 0 MICROPY_VFS_LFS2 = 1 -# Don't include default frozen modules because MCU is tight on flash space -FROZEN_MANIFEST ?= +# Board-specific manifest (doesn't include default modules, adds LoRa driver). +FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py