I have recently started with SmartThings and have managed to successfully direct-connect an ESP8266 to the platform.
As the switch_example C code uses FreeRTOS, I am now wondering how to properly include the Arduino.h library as well as other arduino libraries such as NeoPixel etc.
Hi, @Mathew
The team mentioned that the SmartThings Device SDK for direct-connected wasn’t released with integration with Arduino.
I know of others that have made different integrations with Direct-Connect like @TAustin. Todd, have you done something with Arduino?
I have not done anything with Arduino. But @Mathew, if you want to try creating your own ‘BSP’, I can help you with the core pieces, but the toolchain pieces you’d have to figure out since I’ve not had to deal with those in my work getting this to work on a Raspberry Pi.
But I would suspect it would just be a modification of the ESP stuff.
I have downloaded the esp8266 arduino core but I don’t know how to include it properly. Is it possible to add the path to Makefile? Because at the moment I am able to include arduino.h, but it does not find its dependencies and manually pasting in all the missing files does not work either…