mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
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:
@@ -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
|
||||
|
||||
2
ports/stm32/boards/PYBV10/manifest.py
Normal file
2
ports/stm32/boards/PYBV10/manifest.py
Normal file
@@ -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)
|
||||
|
||||
1
ports/stm32/boards/manifest_pyboard.py
Normal file
1
ports/stm32/boards/manifest_pyboard.py
Normal file
@@ -0,0 +1 @@
|
||||
include("$(MPY_DIR)/drivers/display", lcd160cr=True)
|
||||
Reference in New Issue
Block a user