This is my ramloader tool. In this demo, it does this sequence twice (once on command, then I hit save so it retriggers):
- connects to the nrf52 over USB, figures out an app is running, sends a "reboot to bootloader" command (the nrf52 then disconnects)
- reconnects, uploads the program, sends a bootload command (that's actually two separate connections lol)
- waits for the device to re-enumerate, then exits
Rust takes 2.0 seconds to recompile the project with no changes, then my loader tool takes 1.3 seconds.
So 3.3 seconds after you hit save, your new firmware is running.
Pretty happy with that.
