aboutsummaryrefslogtreecommitdiff
path: root/stmhal/Makefile
diff options
context:
space:
mode:
authorDamien George2017-01-23 14:37:49 +1100
committerDamien George2017-01-23 14:37:49 +1100
commitcffe00d6ab3406f4c0f1985176ccc730ba092d42 (patch)
tree9b81006fce2885bae82d9c81507583514ffed3f9 /stmhal/Makefile
parente72e3439086ca16d376d939a60bafa95f7da6748 (diff)
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.
Diffstat (limited to 'stmhal/Makefile')
-rw-r--r--stmhal/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index 3735172dc..9a9c50f06 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