I am making some experiments with Teensy, especially developing audio applets using the great Ornament & Crime module.

I found the Arduino IDE too basic to be used for serious development, and I switched to VSCode + Platformio, but anyway every time I have to open Arduino IDE to compile.

I would like to know if there is any tutorials on how to compile using directly the cross compiler, I am going to start a new project and I would prefer to write my own my Makefile and keep things under control (and have unit tests running before downloading).
It would be already nice to have a dump of the build commands executed by Teensyduino, to guess how to use it.

Thank you.