From fcbdab4ab27e83acf0ed721583db4ddbf6222341 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 26 Feb 2020 13:40:37 +0100 Subject: demo: SPI Flash interface working --- controller/fw/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller/fw/Makefile') 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 -- cgit