summaryrefslogtreecommitdiff
path: root/controller/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-02-26 13:40:37 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-02-26 13:40:37 +0100
commitfcbdab4ab27e83acf0ed721583db4ddbf6222341 (patch)
tree4961086fc593dd734619ebd4a3ad79b005dca934 /controller/fw/Makefile
parent2964bda23c98b81b6853f542e98fb3d55dafa14c (diff)
downloadmaster-thesis-fcbdab4ab27e83acf0ed721583db4ddbf6222341.tar.gz
master-thesis-fcbdab4ab27e83acf0ed721583db4ddbf6222341.tar.bz2
master-thesis-fcbdab4ab27e83acf0ed721583db4ddbf6222341.zip
demo: SPI Flash interface working
Diffstat (limited to 'controller/fw/Makefile')
-rw-r--r--controller/fw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/fw/Makefile b/controller/fw/Makefile
index 5672f8a..52951b1 100644
--- a/controller/fw/Makefile
+++ b/controller/fw/Makefile
@@ -24,7 +24,7 @@ GDB := $(PREFIX)gdb
CFLAGS += -I$(OPENCM3_DIR)/include -Imspdebug/util -Imspdebug/drivers
-CFLAGS += -Os -std=c11 -g -DSTM32F4
+CFLAGS += -Os -std=gnu11 -g -DSTM32F4
# Note: libopencm3 requires some standard libc definitions from stdint.h and stdbool.h, so we don't pass -nostdinc here.
CFLAGS += -nostdlib -ffreestanding
CFLAGS += -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g