diff --git a/stmhal/Makefile b/stmhal/Makefile index 3735172dce..9a9c50f065 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -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 diff --git a/stmhal/modules/lcd160cr.py b/stmhal/modules/lcd160cr.py new file mode 120000 index 0000000000..c0e180714d --- /dev/null +++ b/stmhal/modules/lcd160cr.py @@ -0,0 +1 @@ +../../drivers/display/lcd160cr.py \ No newline at end of file diff --git a/stmhal/modules/lcd160cr_test.py b/stmhal/modules/lcd160cr_test.py new file mode 120000 index 0000000000..56f091351b --- /dev/null +++ b/stmhal/modules/lcd160cr_test.py @@ -0,0 +1 @@ +../../drivers/display/lcd160cr_test.py \ No newline at end of file