Trying to use PlatformIO/Visual Studio Code as my IDE for ArduinoIOT Cloud projects. Doing this with Heltec WIFI Kit32 board. Started by using the online Arduino IOT Cloud tools then transferred the files to Visual Studio Code. Appear to have lots of conflicts between the Heltec libraries and the ArduinoIoT libraries. Anyone had success with using PlatformIO/Visual Studio Code with ArduinoIOT and have any advice for me?
SOLVED: (Thanks to Max Gerhardt of Platformio Community)
The ArduinoIoTCloud library uses compile-time conditionals. Also, it references the WiGiNina code which creates duplicate references. To address these two issues, the following two lines inserted into platformio.ini for the project, respectively, fix the problem.
lib_ldf_mode = deep+
lib_ignore = WiFiNINA
You will still see a BUNCH of warning for the depricated code and sloppy type usage in the ArduinoIoTCloud software. (Take care to notice the capitalization of WiFiNINA).
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.