summaryrefslogtreecommitdiff
path: root/controller/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-02-28 18:29:41 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-02-28 18:29:41 +0100
commit89b32316aa46f22a4f967ca7953089a3df0c16e7 (patch)
treefddb3fd4538d3a52ab7a23a9275497f824d482bc /controller/fw/Makefile
parent9cf1fee2e9f625ca6787e3b14c759be43ea663e6 (diff)
downloadmaster-thesis-89b32316aa46f22a4f967ca7953089a3df0c16e7.tar.gz
master-thesis-89b32316aa46f22a4f967ca7953089a3df0c16e7.tar.bz2
master-thesis-89b32316aa46f22a4f967ca7953089a3df0c16e7.zip
embedded ldpc decoder 50% working
Diffstat (limited to 'controller/fw/Makefile')
-rw-r--r--controller/fw/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/controller/fw/Makefile b/controller/fw/Makefile
index e2f0f4c..291f840 100644
--- a/controller/fw/Makefile
+++ b/controller/fw/Makefile
@@ -50,7 +50,7 @@ CFLAGS += -nostdlib -ffreestanding
CFLAGS += -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
CFLAGS += -fno-common -ffunction-sections -fdata-sections
-INT_CFLAGS += -Wall -Wextra -Wshadow -Wimplicit-function-declaration -Wundef
+INT_CFLAGS += -Wall -Wextra -Wpedantic -Wshadow -Wimplicit-function-declaration -Wundef
INT_CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes
CXXFLAGS += -Os -g
@@ -97,6 +97,9 @@ $(BUILDDIR)/tinyaes/aes.o:
mkdir -p $(@D)
make -C $(@D) -f $(TINYAES_DIR_ABS)/Makefile VPATH=$(TINYAES_DIR_ABS) CFLAGS="$(CFLAGS) -c" CC=$(CC) LD=$(LD) AR=$(AR) aes.o
+ldpc_decoder_test.so: ldpc_decoder.c
+ gcc -fPIC -shared -Wall -Wextra -Wpedantic -std=gnu11 -O0 -g -o $@ $^
+
clean:
-rm -r $(BUILDDIR)/src
-rm $(BUILDDIR)/$(BINARY)