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
|
||||
|
||||
|
1
stmhal/modules/lcd160cr.py
Symbolic link
1
stmhal/modules/lcd160cr.py
Symbolic link
@ -0,0 +1 @@
|
||||
../../drivers/display/lcd160cr.py
|
1
stmhal/modules/lcd160cr_test.py
Symbolic link
1
stmhal/modules/lcd160cr_test.py
Symbolic link
@ -0,0 +1 @@
|
||||
../../drivers/display/lcd160cr_test.py
|
Loading…
Reference in New Issue
Block a user