summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-17 15:41:13 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-17 15:41:13 +0200
commite704cc1193babd25db46055a6de436be687aba18 (patch)
tree8935e59e23aee3f80232fda964bdb96f20900c80 /Makefile
parent583ece21a3484fa4a923cfcd2d3a66828485da40 (diff)
Add mmsubstate driver for sub-state detection evaluation
mmsubstate is a synthetic peripheral which uses a LED to create well-defined power sub-states in select power states.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 45501e2..98779b1 100644
--- a/Makefile
+++ b/Makefile
@@ -88,6 +88,11 @@ ifneq ($(findstring mmsimple,${drivers}), )
COMMON_FLAGS += -DDRIVER_MMSIMPLE
endif
+ifneq ($(findstring mmsubstate,${drivers}), )
+ CXX_TARGETS += src/driver/mmsubstate.cc
+ COMMON_FLAGS += -DDRIVER_MMSUBSTATE
+endif
+
ifneq ($(findstring nrf24l01,${drivers}), )
CXX_TARGETS += src/driver/nrf24l01.cc
ifeq (${arch}, msp430fr5994lp)