espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
431 stars 145 forks source link

OTA with Arduino IDE project (MEGH-5188) #295

Open FloBer431 opened 5 months ago

FloBer431 commented 5 months ago

Answers checklist.

General issue report

Hello there,

I'm trying to do my first OTA updates. But it fails everytime I try to start it in the ESP Rainmaker App. I realized, that I wasn't able to change the version and model in the first upload to the boards. In the Rainmaker Dashboard i read:

Now my new OTA file should be named otherwise, because from now on it should has the real name, not the standardname provided by the Arduino Lib. But how can I change the name and version from the beginning on in the Arduino IDE, as I am planing on flashing some more modules, and I don't want to have these errors all the time.

Thanks!

Florian

PS: Sorry for my english, as I am not a native english speaker.

vikramdattu commented 5 months ago

Hello @FloBer431 we have an Arduino project available here: https://github.com/espressif/arduino-esp32 Provides access to multiple ESP libs including RainMaker. Can you please try these?

Please follow the README here.

vikramdattu commented 5 months ago

@FloBer431 since, the libs in Arduino are pre-built, unfortunately, it is not possible to have custom app description information out of the box. I found a workaround by PlatformIO user, which patches the app description afterwards. You may find the discussion here.. Script.

Hope this helps.