Has anyone compiled/uploaded a .bin to an ESP32 from an android?
I'd 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 sketch (well, Arduino calls them sketches, but real programmers call them programs.) then 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.
Thanks, Mark.
Code, Compile, upload via USB from Android
-
- Posts: 12
- Joined: Wed Oct 20, 2021 3:58 am
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: Code, Compile, upload via USB from Android
Well, 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? That should give you at least the basics, albeit without a nice tablet-oriented UI; you'd have to run stuff command-line. You can install Arduino as an ESP-IDF subcomponent as well if you want to use that API.
Who is online
Users browsing this forum: No registered users and 112 guests