summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-06-24 21:59:58 +1000
committerDamien George <damien.p.george@gmail.com>2019-06-24 21:59:58 +1000
commit205c6d0dc94ef1ca11d7bcef2090ef49c2015e48 (patch)
tree1e456a0af49a2db25b909767df9bbf65be097525
parent5da60ff9cba990f239bdac2cd7ecdb2f84df4d63 (diff)
stm32/Makefile: Print info messages about use of mboot/QSPI flash.
-rw-r--r--ports/stm32/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile
index 4c9a2342c..31597e88a 100644
--- a/ports/stm32/Makefile
+++ b/ports/stm32/Makefile
@@ -513,6 +513,12 @@ $(BUILD)/firmware.elf: $(OBJ)
$(ECHO) "LINK $@"
$(Q)$(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_MOD) $(LIBS)
$(Q)$(SIZE) $@
+ifneq ($(TEXT0_ADDR),0x08000000)
+ $(ECHO) "INFO: this build requires mboot to be installed first"
+endif
+ifeq ($(TEXT1_ADDR),0x90000000)
+ $(ECHO) "INFO: this build places firmware in external QSPI flash"
+endif
PLLVALUES = boards/pllvalues.py
MAKE_PINS = boards/make-pins.py