1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

REVONANO - Fix BU target

This commit is contained in:
Alessio Morale 2014-12-03 00:30:40 +01:00
parent 210b75fcb9
commit 4ec44cea90

View File

@ -52,12 +52,10 @@ ifeq ($(MCU),cortex-m3)
LDFLAGS += -T$(LINKER_SCRIPTS_PATH)/link_$(BOARD)_sections.ld
else ifeq ($(MCU),cortex-m4)
include $(PIOS)/stm32f4xx/library.mk
# Set linker-script name depending on selected submodel name
LDFLAGS += -T$(PIOS_DEVLIB)/link_stm32f4xx_fw_memory.ld
# Using the _compat ld script ensure that the bootloader updated is compiled with irqstack in sram
# This allow to be used with bootloader earlier than rel5
LDFLAGS += -T$(PIOS_DEVLIB)/link_stm32f4xx_sections_compat.ld
LDFLAGS += $(addprefix -T,$(LINKER_SCRIPTS_APP))
SRC += $(HWDEFSINC)/firmware/cm3_fault_handlers.c
SRC += $(HWDEFSINC)/firmware/dcc_stdio.c
else