summaryrefslogtreecommitdiff
path: root/controller/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-16 19:19:34 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-16 19:19:34 +0100
commita1dc923315514ed6f23da5f2c0950830975299f8 (patch)
tree9954004d0517c73b57a2021213a91975b7779931 /controller/fw/Makefile
parentfed186a49fc8f27a8a31fd40f8c8b26d32a4b932 (diff)
downloadmaster-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.tar.gz
master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.tar.bz2
master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.zip
Fix serial
Diffstat (limited to 'controller/fw/Makefile')
-rw-r--r--controller/fw/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/controller/fw/Makefile b/controller/fw/Makefile
index 0fea8ae..50d162d 100644
--- a/controller/fw/Makefile
+++ b/controller/fw/Makefile
@@ -42,8 +42,18 @@ PRESIG_KEYFILE ?= presig_test_key.secret
# Sources
########################################################################################################################
-C_SOURCES := src/main.c src/mspdebug_wrapper.c src/spi_flash.c src/freq_meas.c src/dsss_demod.c src/adc.c \
- src/protocol.c
+C_SOURCES := src/main.c
+C_SOURCES += src/mspdebug_wrapper.c
+C_SOURCES += src/spi_flash.c
+C_SOURCES += src/freq_meas.c
+C_SOURCES += src/dsss_demod.c
+C_SOURCES += src/adc.c
+C_SOURCES += src/protocol.c
+C_SOURCES += src/serial.c
+C_SOURCES += src/con_usart.c
+C_SOURCES += src/dma_util.c
+C_SOURCES += tinyprintf/tinyprintf.c
+
C_SOURCES += $(MSPDEBUG_DIR)/drivers/jtaglib.c
CMSIS_SOURCES += $(CMSIS_DIR)/CMSIS/DSP/Source/TransformFunctions/arm_rfft_fast_init_f32.c
@@ -121,6 +131,7 @@ SYSTEM_FLAGS ?= -nostdlib -ffreestanding -nostartfiles
COMMON_CFLAGS += -Imspdebug/util -Imspdebug/drivers -Ilevmarq
COMMON_CFLAGS += -I$(CMSIS_DIR_ABS)/CMSIS/DSP/Include -I$(CMSIS_DIR_ABS)/CMSIS/Core/Include
CFLAGS += -I$(abspath musl_include_shims)
+CFLAGS += -Itinyprintf
COMMON_CFLAGS += -I$(BUILDDIR) -Isrc -Itinyaes
CFLAGS += -I$(CUBE_DIR)/Drivers/CMSIS/Device/ST/STM32F4xx/Include