Rainmaker development using VSCode & PlatformIO issues

mottibz
Posts: 24
Joined: Tue Jun 02, 2020 12:20 pm

Rainmaker development using VSCode & PlatformIO issues

Postby mottibz » Mon Aug 21, 2023 6:21 pm

Hello,
For my development, I am using VSCode and PlatformIO.
I also installed the Arduino IDE on my machine for testing.
I tried the Rainmaker Switch sample code with the Arduino IDE. It complied, loaded to my ESP32 and run with no issues.
I tried to do the same with VSCode & PlatformIO and encountered the following:
- Same code that took about 59% Flash using the Arduino IDE, took almost 92% with VSCode
- Some of the functions (e.g. the include of App Insignts header, RMaker.enableScenes();, initAppInsights();, and RMaker.enableSystemService(SYSTEM_SERV_FLAGS_ALL, 2, 2, 2); - where not recognized (produced compile errors). I commented these out, compiled, and uploaded to the ESP32, but nothing happend (no output at all to the terminal and no way to provision). Looks like I am doing something wrong.
Can you please help in setting Rainmaker to be used with VSCode and PlatformIO?
Thanks a lot!

Who is online

Users browsing this forum: No registered users and 13 guests