aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-07 11:59:43 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-07 11:59:43 -0400
commit2dd70b171bde90620a631b6ba8d129acc911f93e (patch)
tree11c0c83e21c34dea4f9d6914908d03dce8835add /Makefile
parentea4eda95284cd3d34b9956bf1e27046a0d8c3cf6 (diff)
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).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
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