diff options
-rwxr-xr-x[-rw-r--r--] | ports/stm32/mboot/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/stm32/mboot/Makefile b/ports/stm32/mboot/Makefile index 486d72e19..122abf27a 100644..100755 --- a/ports/stm32/mboot/Makefile +++ b/ports/stm32/mboot/Makefile @@ -8,6 +8,10 @@ BUILD ?= build-$(BOARD) # Allow the directory containing the board configuration to be specified BOARD_DIR ?= $(abspath ../boards/$(BOARD)) +# Set USE_MBOOT to 1 so that TEXT0_ADDR gets set properly for those boards +# that can be built with or without mboot. +USE_MBOOT ?= 1 + # Sanity check that the board configuration directory exists ifeq ($(wildcard $(BOARD_DIR)/.),) $(error Invalid BOARD specified: $(BOARD_DIR)) |