diff options
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,7 @@ OPENOCD_BOARD_DIR ?= /usr/share/openocd/scripts/board # the OPENOCD_BOARD_DIR directory. # OPENOCD_PROC_FILE ?= stm32f4discovery.cfg +#OPENOCD_PROC_FILE ?= st_nucleo_f4.cfg # MCU selection parameters # @@ -61,7 +62,7 @@ SIZE=arm-none-eabi-size GDB=arm-none-eabi-gdb OPENOCD=openocd -CFLAGS = -ggdb -O2 -Wall -Wextra -Warray-bounds +CFLAGS = -ggdb -O1 -Wall -Wextra -Warray-bounds CFLAGS += -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 CFLAGS += $(STDPERIPH_SETTINGS) |