aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc176x/Makefile')
-rw-r--r--src/lpc176x/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc176x/Makefile b/src/lpc176x/Makefile
index 94e6a268..7edd26eb 100644
--- a/src/lpc176x/Makefile
+++ b/src/lpc176x/Makefile
@@ -33,7 +33,7 @@ target-y := $(OUT)LPC1768.ld $(target-y)
$(OUT)LPC1768.ld: lib/lpc176x/device/TOOLCHAIN_GCC_ARM/LPC1768.ld $(OUT)board-link
@echo " Preprocessing $@"
- $(Q)$(CPP) -P -MD -MT $@ $< -o $@
+ $(Q)$(CPP) -P -MD -MT $@ -DMBED_APP_START=$(CONFIG_FLASH_START) -DMBED_APP_SIZE="(512K - $(CONFIG_FLASH_START))" $< -o $@
# Build the additional bin output file
target-y += $(OUT)klipper.bin