We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809ad51 commit 6a24ee0Copy full SHA for 6a24ee0
firmware/Makefile
@@ -35,7 +35,7 @@ INCLUDES+=-I$(SPL_USB_PATH)inc
35
INCLUDES+=-I$(SRC_DIR)
36
INCLUDES+=-I$(USB_DIR)
37
38
-CFLAGS=-g -Wall -Werror
+CFLAGS=-g -Wall -Werror -O3
39
CFLAGS+=$(INCLUDES) -MMD -MP
40
CFLAGS+=-ffunction-sections -fdata-sections
41
CFLAGS+=-mcpu=cortex-m3 -mthumb
firmware/libs/spl/Makefile
@@ -19,7 +19,7 @@ INCLUDES+=-ISTM32_USB-FS-Device_Driver/inc/
19
INCLUDES+=-ICMSIS/CM3/DeviceSupport/ST/STM32F10x/
20
INCLUDES+=-ICMSIS/CM3/CoreSupport/
21
22
23
CFLAGS+=-D$(CHIP) $(INCLUDES) -MMD -MP
24
25
CFLAGS+=-ffreestanding -nostdlib
0 commit comments