Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --code-size option #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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