rusefi-1/firmware/bootloader/bootloader.mk

15 lines
401 B
Makefile
Raw Normal View History

2017-05-30 15:38:51 -07:00
# Added if USE_BOOTLOADER=yes in Makefile
BOOTLOADERSRC= $(PROJECT_DIR)/bootloader/bootloader_storage.c
ifeq ($(BOOTLOADERINC),)
BOOTLOADERINC=$(PROJECT_DIR)/bootloader
endif
2017-06-04 12:01:40 -07:00
USE_OPT += -Wl,--defsym=BOOTLOADER=1
2017-05-30 15:38:51 -07:00
# Add bootloader code to the firmware
DDEFS += -DEFI_BOOTLOADER_INCLUDE_CODE=TRUE
# Relocate interrupt vectors for the new application start address
DDEFS += -DCORTEX_VTOR_INIT=0x8000