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:
parent
655c29351a
commit
4e4c28bf27
|
@ -1,2 +1,3 @@
|
|||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
include("$(PORT_DIR)/boards/manifest_pyboard.py")
|
||||
include("$(MPY_DIR)/extmod/webrepl")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
include("$(PORT_DIR)/boards/manifest_pyboard.py")
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
include("$(MPY_DIR)/drivers/display", lcd160cr=True)
|
Loading…
Reference in New Issue