Skip to content

Add --code-size option#83

Open
toonn wants to merge 1 commit intoPaulStoffregen:masterfrom
toonn:print-code-size
Open

Add --code-size option#83
toonn wants to merge 1 commit intoPaulStoffregen:masterfrom
toonn:print-code-size

Conversation

@toonn
Copy link

@toonn toonn commented Oct 27, 2022

This will print the available program size for a given MCU and then exit.

I was looking for an authoritative source of the available program size for the Teensy LC in particular and I couldn't find one. I did find the MCUs array in teensy_loader_cli.c and figured maybe the CLI can be this authoritative source.

Consider this a first swing at this. Any criticism of the implementation is welcome!

This will print the available program size for a given MCU and then
exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant