summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLennart <lekaiser@uos.de>2020-08-18 17:31:49 +0200
committerLennart <lekaiser@uos.de>2020-08-18 17:31:49 +0200
commit550482401d95720306873d1fa1de11717c5845dc (patch)
treeaa38f8aa4cf239dfdb1f7da3d8389ea0871e8f63 /Makefile
parent714e5788be7b89f937fe8dbf270b8035c4f7d436 (diff)
Working version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 98779b1..727ea37 100644
--- a/Makefile
+++ b/Makefile
@@ -141,11 +141,15 @@ ifneq ($(findstring resistive_load,${drivers}), )
resistor2_pin ?= p3_1
resistor3_pin ?= p3_2
resistor4_pin ?= p3_3
+ resistor5_pin ?= p1_4
+ resistor6_pin ?= p1_5
COMMON_FLAGS += -DDRIVER_RESISTIVE_LOAD
COMMON_FLAGS += -DRESISTIVE_LOAD_PIN1=GPIO::${resistor1_pin}
COMMON_FLAGS += -DRESISTIVE_LOAD_PIN2=GPIO::${resistor2_pin}
COMMON_FLAGS += -DRESISTIVE_LOAD_PIN3=GPIO::${resistor3_pin}
COMMON_FLAGS += -DRESISTIVE_LOAD_PIN4=GPIO::${resistor4_pin}
+ COMMON_FLAGS += -DRESISTIVE_LOAD_PIN5=GPIO::${resistor5_pin}
+ COMMON_FLAGS += -DRESISTIVE_LOAD_PIN6=GPIO::${resistor6_pin}
endif
ifneq ($(findstring softi2c,${drivers}), )