Skip to content

Commit

Permalink
Fix RAM usage calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Oct 17, 2019
1 parent 7b00ce4 commit fac2235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf

## Compute size
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
recipe.size.regex.data=\.data\s+([0-9]+).*
recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).*
recipe.size.regex=\.text\s+([0-9]+).*

## Save hex
Expand Down Expand Up @@ -142,4 +142,4 @@ tools.stm32flash.program.params.quiet=
tools.stm32flash.program.pattern="{path}/{cmd}" {serial.port} -e 1024 -b 2400 -w "{build.path}/{build.project_name}.bin"
tools.stm32flash.erase.params.verbose=-v
tools.stm32flash.erase.params.quiet=
tools.stm32flash.erase.pattern="{path}/{cmd}" {serial.port} -e 1024 -b 2400
tools.stm32flash.erase.pattern="{path}/{cmd}" {serial.port} -e 1024 -b 2400

0 comments on commit fac2235

Please sign in to comment.