Paul - from T4 thread post 1543 - had to hand edit boards.txt to use FrankB's Compile.cmd - that runs the full installed Arduino Builder from Windows CmdLine ( editor, etc. ).
Since boards.txt isn't on github hoping these changes look safe and easy for you to apply for next beta? IT already works with no change on T_3.x and T_LC but for T4::
1 of 2:: The way the builder runs it seems to expect result HEX name to match the prefix part [ 'teensy4b.' ] to find the file in the end.
line:: teensy4b.build.board=TEENSY40
becomes:: teensy4b.build.board=TEENSY4b
2 of 2:: Also with no Menu.Speed in the end some positional CMD line Arg seems to fail and then so does the build with a NULL 'variable'
After::
teensy4b.menu.usb.disable=No USB
teensy4b.menu.usb.disable.build.usbtype=USB_DISABLED
Add::
teensy4b.menu.speed.600=600 MHz
teensy4b.menu.speed.600.build.fcpu=600000000
Since you don't run Windows may not have followed, but I did an Upgrade to Frank's Hand edited Compile.cmd and posted as
github.com/Defragster/Tset. I added a batch file to prompt for and complete the needed Build for any Teensy.
There has to be an equivalent was for Linux users to emulate the batch file - but I haven't looked to learn hard enough yet
This runs with no other changes to kick off installed Arduino Builder with TeensyDuino installed - On Windows. I customized for SublimeText and 'F7' does a rebuild and upload is complete in under 6 seconds - using TyCommander. And Sublime Parses console output to take you to any Error file in the build.
The above would help for each install. The below is likely for future as it will change when the 1062 comes online...
BONUS for FrankB - did you look at adding "
imxrt-size.exe for T4 to show segment allocations? ::
Teensy-4-0-First-Beta-Test
Code:
C:\\Arduino\\hardware\\teensy/../tools/teensy_post_compile" -file=sketch_feb10a.ino "-path=c:\\temp\\arduino_build_965921" "-tools=C:\\Arduino\\hardware\\teensy/../tools/" -board=TEENSY40
cmd /c "C:\\Arduino\\hardware\\teensy\\..\\tools\\arm\\bin\\arm-none-eabi-gcc-nm -n c:\\temp\\arduino_build_965921\\sketch_feb10a.ino.elf | C:\\Arduino\\hardware\\teensy\\..\\tools\\imxrt-size"
ITCM : 5056 B ( 3.86% of 128 KB)
DTCM : 8896 B ( 6.79% of 128 KB)
OCRAM: 0 B ( 0.00% of 256 KB)
Flash: 11984 B ( 0.76% of 1536 KB)
"C:\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-size" -A "c:\\temp\\arduino_build_965921/sketch_feb10a.ino.elf"
Der Sketch verwendet 6496 Bytes (0%) des Programmspeicherplatzes. Das Maximum sind 1572864 Bytes.
Globale Variablen verwenden 8896 Bytes (3%) des dynamischen Speichers, 253248 Bytes für lokale Variablen verbleiben. Das Maximum sind 262144 Bytes.
If it is no Teensy4, there is no additional output.