organize memory layout options for debug/release

This commit is contained in:
Conor Patrick
2018-12-04 21:12:21 -05:00
parent 173b8833ce
commit 5ee91048e2
12 changed files with 449 additions and 18 deletions

View File

@@ -2,6 +2,17 @@
all:
$(MAKE) -f application.mk -j8 solo.hex
debug:
$(MAKE) -f application.mk -j8 solo.hex DEBUG=1
debugboot-app:
$(MAKE) -f application.mk -j8 solo.hex DEBUG=1 \
LDSCRIPT=linker/stm32l4xx_extra.ld EXTRA_DEFINES='-DAPPLICATION_START_PAGE=16'
debugboot-boot:
$(MAKE) -f bootloader.mk -j8 bootloader.hex DEBUG=1 \
LDSCRIPT=linker/bootloader_stm32l4xx_extra.ld EXTRA_DEFINES='-DAPPLICATION_START_PAGE=16'
boot:
$(MAKE) -f bootloader.mk -j8 bootloader.hex