Getting started with OTA sketch updates from PlatformIO #2826
-
Hello, My current ini is:
Thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The critical part is to configure the upload protocol as "espota" (yes it's heavily borrowed from the ESP8266/32 OTA tool). Pretty much always you want to have two environments: One to upload via USB, one to upload via OTA. The "arduino-ota" example in the platform demonstrates exactly that. https://github.com/maxgerhardt/platform-raspberrypi/blob/develop/examples/arduino-ota/platformio.ini |
Beta Was this translation helpful? Give feedback.
The critical part is to configure the upload protocol as "espota" (yes it's heavily borrowed from the ESP8266/32 OTA tool). Pretty much always you want to have two environments: One to upload via USB, one to upload via OTA.
The "arduino-ota" example in the platform demonstrates exactly that.
https://github.com/maxgerhardt/platform-raspberrypi/blob/develop/examples/arduino-ota/platformio.ini