stm32/boards: Only freeze LCD160CR driver in PYB board firmware.

Although this driver and associated hardware can be used on any board, it
makes to only freeze it for PYB and PYBD boards.  It can be easily copied
to any board if needed.

Fixes issue #8056.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2022-09-06 11:53:36 +10:00
parent 655c29351a
commit 4e4c28bf27
7 changed files with 13 additions and 1 deletions

View File

@ -1,2 +1,3 @@
include("$(PORT_DIR)/boards/manifest.py")
include("$(PORT_DIR)/boards/manifest_pyboard.py")
include("$(MPY_DIR)/extmod/webrepl")

View File

@ -24,3 +24,6 @@ endif
ifeq ($(BOARD_VARIANT),"network")
MICROPY_PY_NETWORK_WIZNET5K=5200
endif
# PYB-specific frozen modules
FROZEN_MANIFEST ?= boards/PYBV10/manifest.py

View File

@ -0,0 +1,2 @@
include("$(PORT_DIR)/boards/manifest.py")
include("$(PORT_DIR)/boards/manifest_pyboard.py")

View File

@ -34,3 +34,6 @@ endif
ifeq ($(BOARD_VARIANT),"network")
MICROPY_PY_NETWORK_WIZNET5K=5200
endif
# PYB-specific frozen modules
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py

View File

@ -34,3 +34,6 @@ endif
ifeq ($(BOARD_VARIANT),"network")
MICROPY_PY_NETWORK_WIZNET5K=5200
endif
# PYB-specific frozen modules
FROZEN_MANIFEST ?= boards/PYBV10/manifest.py

View File

@ -1,5 +1,4 @@
include("$(MPY_DIR)/extmod/uasyncio")
include("$(MPY_DIR)/drivers/dht")
include("$(MPY_DIR)/drivers/display", lcd160cr=True, test=True)
include("$(MPY_DIR)/drivers/onewire", ds18x20=False)

View File

@ -0,0 +1 @@
include("$(MPY_DIR)/drivers/display", lcd160cr=True)