From 2dd70b171bde90620a631b6ba8d129acc911f93e Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 7 Jun 2016 11:59:43 -0400 Subject: Check the HARDWARE_EARLY_DFU_JUMP flag as soon as possible in the boot process. This avoids the situation where the bootloader systick happens during firmware initialization, and freaks out. Also build the bootloader with the minimum resources needed (no RTOS, no SPI, no I2C). --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 87cc787..b96ea64 100644 --- a/Makefile +++ b/Makefile @@ -34,11 +34,11 @@ export TOPLEVEL = $(shell pwd) BOARD = TARGET_CRYPTECH_ALPHA # Location of the Libraries folder from the STM32F4 Standard Peripheral Library -LIBS_DIR = $(TOPLEVEL)/libraries -MBED_DIR = $(LIBS_DIR)/mbed -CMSIS_DIR = $(MBED_DIR)/targets/cmsis/TARGET_STM/TARGET_STM32F4 -BOARD_DIR = $(CMSIS_DIR)/$(BOARD) -RTOS_DIR = $(MBED_DIR)/rtos +export LIBS_DIR = $(TOPLEVEL)/libraries +export MBED_DIR = $(LIBS_DIR)/mbed +export CMSIS_DIR = $(MBED_DIR)/targets/cmsis/TARGET_STM/TARGET_STM32F4 +export BOARD_DIR = $(CMSIS_DIR)/$(BOARD) +export RTOS_DIR = $(MBED_DIR)/rtos export LIBTFM_DIR = $(LIBS_DIR)/thirdparty/libtfm export LIBHAL_DIR = $(LIBS_DIR)/libhal export LIBCLI_DIR = $(LIBS_DIR)/libcli -- cgit v1.2.3