summaryrefslogtreecommitdiff
path: root/src/arch/stm32f446re-nucleo
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-02-17 23:04:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-02-17 23:04:41 +0100
commitb3cea73a75cb46e39ed7c7e6f765fc842a40fabf (patch)
tree320bef063400a210d28be9e6c53072f20e27e235 /src/arch/stm32f446re-nucleo
parentcf97c18554b9aa88202b9d2463ee08cafd1252b0 (diff)
esp8266, stm32f446re-nucleo: Fix ROM/RAM usage report
Diffstat (limited to 'src/arch/stm32f446re-nucleo')
-rw-r--r--src/arch/stm32f446re-nucleo/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/stm32f446re-nucleo/Makefile.inc b/src/arch/stm32f446re-nucleo/Makefile.inc
index f5ca344..dd0de00 100644
--- a/src/arch/stm32f446re-nucleo/Makefile.inc
+++ b/src/arch/stm32f446re-nucleo/Makefile.inc
@@ -98,7 +98,7 @@ build/system.elf: ${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a
-T src/arch/stm32f446re-nucleo/stm32f446.ld \
${OBJECTS} -lopencm3_stm32f4 \
-o $@
- ${QUIET}${SIZE} build/system.elf | tail -n1 | awk '{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/49152) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/4096) "%)" }'
+ ${QUIET}${SIZE} build/system.elf | tail -n1 | awk '{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/524288) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/131072) "%)" }'
program: build/system.elf
openocd -c 'source [find interface/stlink-v2-1.cfg]' \