Skip to content
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ledereyes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants