aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-09-25 12:45:42 +0200
committerjaseg <git@jaseg.de>2023-09-25 12:45:47 +0200
commit583ac10d1450610a4110849c26cc16f03154d26e (patch)
treefc8781d53b80666b2d8c253b16972e5c0f54c848 /driver_fw/Makefile
parent5629273bcb6c92a5a9b58ae0f43d25585a01a5ab (diff)
download8seg-583ac10d1450610a4110849c26cc16f03154d26e.tar.gz
8seg-583ac10d1450610a4110849c26cc16f03154d26e.tar.bz2
8seg-583ac10d1450610a4110849c26cc16f03154d26e.zip
Driver fw works
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 8ae65b2..b847134 100644
--- a/driver_fw/Makefile
+++ b/driver_fw/Makefile
@@ -30,7 +30,7 @@ DEVICE := STM32G070RB
ASM_SOURCES := startup.s
-C_SOURCES := src/main.c $(BUILDDIR)/generated/waveform_tables.c
+C_SOURCES := src/main.c $(BUILDDIR)/generated/waveform_tables.c common/8b10b.c
CPP_SOURCES := # - none -
@@ -79,7 +79,7 @@ DEVICE_DEFINES := -DSTM32$(DEVICE_FAMILY) $(addprefix -D,$(shell cat stm32_buil
ARCH_FLAGS ?= -mthumb -mcpu=cortex-m0 -mfloat-abi=soft
SYSTEM_FLAGS ?= -nostdlib -ffreestanding -nostartfiles
-COMMON_CFLAGS += -I$(abspath include)
+COMMON_CFLAGS += -I$(abspath include) -I$(abspath common)
COMMON_CFLAGS += -I$(BUILDDIR)
CFLAGS += -I$(abspath tools/musl_include_shims)