fprime-community / fprime-baremetal-reference

Apache License 2.0
5 stars 4 forks source link

Flashing pre-compiled hex files #15

Closed capsulecorplab closed 8 months ago

capsulecorplab commented 8 months ago

For the Teensy boards, I'm wondering if it's possible to flash a previously compiled hex file without having to run fprime-util build to wait for the Teensy window to pop up

ethancheez commented 8 months ago

You would still need the Teensyduino GUI to be open, but from there you can select any .hex file. If you save a .hex file under build-artifacts/teensy41/BaremetalReference/bin/BaremetalReference.hex outside of build-artifacts, you can re-select that file in the Teensyduino GUI and upload it.

Edit: There is also the CLI version of Teensyduino, haven't used it enough to know too much about it.

capsulecorplab commented 8 months ago

I think I figured it out! Just needed to dig around for where the Teensyduino GUI launcher was located Screenshot from 2023-12-13 15-51-35