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