rust-embedded / cargo-binutils

Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
Apache License 2.0
491 stars 43 forks source link

cargo size, total size? #130

Closed tomasApo closed 1 year ago

tomasApo commented 1 year ago

Quick question,

How much flash memorry does my project take up?

Running cargo size Total flash memory = text + data? What does bbs mean?

image

Emilgardis commented 1 year ago

text = flash, bss = uninitalized, data = initialized, dec = total

see https://docs.rust-embedded.org/book/start/qemu.html#inspecting

tomasApo commented 1 year ago

@Emilgardis Thank you