fix 3, add hardfault pre handler

This commit is contained in:
2017-10-31 17:04:38 +01:00
parent b1a6399e82
commit 2d794f56d8
2 changed files with 6 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
#####################################################################################
#Add Files and Folders below#########################################################
CFILES = main.c syscalls/syscalls.c uart/uart.c startup/system_stm32f4xx.c
ASFILES = boot/startup_stm32f4xx.S
ASFILES = boot/startup_stm32f4xx.S hardfault/hardfault_prehandler.S
INCLUDEPATH = -Iinclude
@@ -32,7 +32,7 @@ LFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 --disable-newlib-supplied-syscalls
LFLAGS += -Tstm32f407vgt6_flash.ld -Wl,-Map=$(mapfile).map -Wl,--gc-sections
CFLAGS = -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -nostartfiles -Wall -O3
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -nostartfiles -Wall -O0 -g3
####################################################################################