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.
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 inteensy_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!