This breakdowns the size of the `.text` section by function. This breakdown can be used to identify the largest functions in the program; those could then be modified to make them smaller.
## `cargo-flash`
`cargo-flash` is a tool that flashes a Rust program on a microcontroller.
From within a Cargo project it can be used like this:
``` console
$ # flash the `hello` program on an nRF52840 microcontroller
The tool will reset the device after flashing it so when it finishes the device will be running the new firmware.
This subcommand will build the program first so you'll always flash the latest version.
The tool can also flash pre-built Rust programs so you could distribute binary releases of your firmware to your users and they can use `cargo-flash` to flash those binaries.
``` console
$ # you
$ cargo build --bin app --release
$ # distribute target/thumb*/release/app to your users