summaryrefslogtreecommitdiff
path: root/src/app/etcontroller/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/etcontroller/Makefile.inc')
-rw-r--r--src/app/etcontroller/Makefile.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/app/etcontroller/Makefile.inc b/src/app/etcontroller/Makefile.inc
new file mode 100644
index 0000000..0ac9285
--- /dev/null
+++ b/src/app/etcontroller/Makefile.inc
@@ -0,0 +1,12 @@
+ifdef app
+ override timer_s = 0
+ loop = 1
+endif
+
+ifneq (${etcontroller_reset_pin}, )
+ COMMON_FLAGS += -DCONFIG_ETCONTROLLER_RESET_PIN=${etcontroller_reset_pin}
+endif
+
+ifeq (${etcontroller_nrst}, 1)
+ COMMON_FLAGS += -DCONFIG_ETCONTROLLER_NRST
+endif