Yes, you can set up a local toolchain.
A nice and easy installer was put together by @mumblepins and can be found here
Toolchain for Windows Installer
Just saw you got it working now - congrats
One thing you need to watch out is that you have to save the file, since only the stored files will be compiled and not what you see in the IDE.
This comes from the fact that only stored edits can actually be sent to the build farm
But to test the accessability of functions like WiFi.on()
and such you could try this short sketch (saved in a .INO
file)
SYSTEM_MODE(SEMI_AUTOMATIC)
void setup()
{
pinMode(D7, OUTPUT);
digitalWrite(D7, HIGH);
WiFi.off();
Serial.begin(115200);
while(!Serial.available); // wait till you enter some byte via USB serial
WiFi.connect();
while(!WiFi.ready());
{
Particle.process();
delay(100);
}
digitalWrite(D7, LOW);
Serial.println("Now we are connected to WiFi");
Particle.connect();
}
void loop()
{
}