diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-02-17 23:04:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-02-17 23:04:41 +0100 |
commit | b3cea73a75cb46e39ed7c7e6f765fc842a40fabf (patch) | |
tree | 320bef063400a210d28be9e6c53072f20e27e235 /src/arch/esp8266 | |
parent | cf97c18554b9aa88202b9d2463ee08cafd1252b0 (diff) |
esp8266, stm32f446re-nucleo: Fix ROM/RAM usage report
Diffstat (limited to 'src/arch/esp8266')
-rw-r--r-- | src/arch/esp8266/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc index adc7a66..18877ee 100644 --- a/src/arch/esp8266/Makefile.inc +++ b/src/arch/esp8266/Makefile.inc @@ -81,7 +81,7 @@ build/system.elf: build/system.ar -Wl,--gc-sections \ -Wl,--start-group -lc -lgcc -lhal -lpp -lphy -lnet80211 -llwip -lwpa \ -lmain $< -Wl,--end-group -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/4194304) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/81920) "%)" }' build/0x00000.bin: build/system.elf ${ESPTOOL} --chip esp8266 elf2image -o build/ $< |