Open VanceVagell opened 1 week ago
Whomever works on this can start by seeing what I was trying to do, to see how it should roughly fit into the flow.
See FirmwareUtils.flashFirmware() where loadStubFromFile() is commented out, and see the unused implementation of that method. This does not work as-is, but might give a hint as to a working direction.
FirmwareUtils and CommandInterfaceESP32 need to be updated to install the ESP32 stub loader into RAM, then increase the baud to 921600 and increase packet size once the stub loader is successfully installed.
The stub loader bytes are already bundled with the Android app in the raw/ directory, they just need to be installed.