Can a .bin compiled/uploaded to an ESP32 from an android?
I like to connect my android tablet to an ESP32 via a USB cable (type C on the android side, and USB micro on ESP32 side,) compile a program and upload the result to the ESP32.
I have a separate power supply to the ESP32 using the Vin pin, so power from the android is not needed.
I understand and have used OTA from a laptop, I guess OTA from android might work too (any insight here would be nice, thanks,) but if I hose the code, OTA won’t work and USB will be needed to recover.
The ESP-IDF codebase plus toolchain are available in ARM Linux flavour, so you could possibly try installing them in a chroot on the tablet. You can install Arduino as an ESP-IDF subcomponent as well if you want to use that API.
The ESP-IDF codebase plus toolchain are available in ARM Linux flavour, so you could possibly try installing them in a chroot on the tablet.
You can install Arduino as an ESP-IDF subcomponent as well if you want to use that API.
See less