stmhal: Add default frozen-bytecode directory and link lcd160cr driver.
stmhal will now be built by default with frozen bytecode from scripts stored in the stmhal/modules/ directory. This can be disabled or changed to another directory by overridding the make variable FROZEN_MPY_DIR.
This commit is contained in:
parent
e72e343908
commit
cffe00d6ab
|
@ -15,6 +15,9 @@ include boards/$(BOARD)/mpconfigboard.mk
|
|||
# qstr definitions (must come before including py.mk)
|
||||
QSTR_DEFS = qstrdefsport.h $(BUILD)/pins_qstr.h $(BUILD)/modstm_qstr.h
|
||||
|
||||
# directory containing scripts to be frozen as bytecode
|
||||
FROZEN_MPY_DIR ?= modules
|
||||
|
||||
# include py core make definitions
|
||||
include ../py/py.mk
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../drivers/display/lcd160cr.py
|
|
@ -0,0 +1 @@
|
|||
../../drivers/display/lcd160cr_test.py
|
Loading…
Reference in New Issue