aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-12-23 16:44:12 +0100
committerjaseg <git@jaseg.de>2023-12-23 16:44:12 +0100
commit621d39437ae66951ebfcc13ecc66704efe356c00 (patch)
tree7037c0b290e4ce26f0c06107e7e58575327ff794 /driver_fw/Makefile
parent6033f3c6b9cf824fb837f41b19a3c77b32e5b679 (diff)
download8seg-621d39437ae66951ebfcc13ecc66704efe356c00.tar.gz
8seg-621d39437ae66951ebfcc13ecc66704efe356c00.tar.bz2
8seg-621d39437ae66951ebfcc13ecc66704efe356c00.zip
Driver: Add basic remote control
Diffstat (limited to 'driver_fw/Makefile')
-rw-r--r--driver_fw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_fw/Makefile b/driver_fw/Makefile
index fb4be18..9afcbb5 100644
--- a/driver_fw/Makefile
+++ b/driver_fw/Makefile
@@ -9,7 +9,7 @@ MUSL_DIR ?= upstream/musl
# Algorithm parameters
########################################################################################################################
-# - none -
+DRIVER_ADDR ?= 0
########################################################################################################################
# High-level build parameters
@@ -91,7 +91,7 @@ CFLAGS += -fno-common -ffunction-sections -fdata-sections
COMMON_CFLAGS += -O$(OPT) -std=gnu2x -g
COMMON_CFLAGS += $(DEVICE_DEFINES)
-COMMON_CFLAGS += -DDEBUG=$(DEBUG)
+COMMON_CFLAGS += -DDEBUG=$(DEBUG) -DDRIVER_ADDR=$(DRIVER_ADDR)
GEN_HEADERS := $(BUILDDIR)/generated/waveform_tables.h