diff options
author | Lennart <lekaiser@uos.de> | 2020-07-17 12:39:15 +0200 |
---|---|---|
committer | Lennart <lekaiser@uos.de> | 2020-07-17 12:39:15 +0200 |
commit | 5c4045862bf55be0b8dc755ac3d5c5bd24b5fedf (patch) | |
tree | c104a31c95b5a6498f9c195da4cdc406286d9768 /Makefile | |
parent | dd188370afa340d3b717b8747890bc304c0e3346 (diff) | |
parent | 52f23fad43b47c6cebb38fa387c39d0e27a12797 (diff) |
Merge branch 'master' into state-duration-timers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -130,6 +130,19 @@ ifneq ($(findstring sharp96,${drivers}), ) COMMON_FLAGS += -DSHARP96_CS_PIN=GPIO::${sharp96_cs_pin} endif +ifneq ($(findstring resistive_load,${drivers}), ) + CXX_TARGETS += src/driver/resistive_load.cc + resistor1_pin ?= p3_0 + resistor2_pin ?= p3_1 + resistor3_pin ?= p3_2 + resistor4_pin ?= p3_3 + 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} +endif + ifneq ($(findstring softi2c,${drivers}), ) CXX_TARGETS += src/driver/soft_i2c.cc COMMON_FLAGS += -DDRIVER_SOFTI2C |