From c8c8601751d857c60faab8fe15f6c9f9130644b1 Mon Sep 17 00:00:00 2001 From: Firmware Batman Date: Wed, 19 Jul 2017 17:09:55 -0700 Subject: [PATCH] well that's a concern, O2 breaks comm over SPI --- board/build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/build.mk b/board/build.mk index a4a8b1256..5d34c9d94 100644 --- a/board/build.mk +++ b/board/build.mk @@ -1,4 +1,4 @@ -CFLAGS += -I inc -I ../ -nostdlib -fno-builtin -std=gnu11 -O2 +CFLAGS += -I inc -I ../ -nostdlib -fno-builtin -std=gnu11 -O0 CFLAGS += -Tstm32_flash.ld CC = arm-none-eabi-gcc