diff options
Diffstat (limited to 'driver_fw/Makefile')
-rw-r--r-- | driver_fw/Makefile | 4 |
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) |