aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/Makefile
diff options
context:
space:
mode:
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