Hello All,
Has anyone else experienced horrendously long compile times when using NativeEthernet.h?
I first started with a Hello-World type project, just blink an LED. The initial compile time was a bit long, but subsequent compile times were the normal 45 seconds.
Then, the only change I made was I inlcuded the line #include "NativeEthernet.h". The first compile took 9 minutes, 52 seconds.
Is there maybe a setting I accidentally set somewhere?
Has anyone else experienced horrendously long compile times when using NativeEthernet.h?
I first started with a Hello-World type project, just blink an LED. The initial compile time was a bit long, but subsequent compile times were the normal 45 seconds.
Then, the only change I made was I inlcuded the line #include "NativeEthernet.h". The first compile took 9 minutes, 52 seconds.
Is there maybe a setting I accidentally set somewhere?
Code:
#include "NativeEthernet.h"
const byte pinOut_LED = 13;
boolean LED_st = 1;
unsigned long t1,t2,t3,t4;
unsigned long CycleTime_ms = 500;
///////////////////////////////////////////////////////////////////////////////////////////////
void setup()
{
pinMode(pinOut_LED,OUTPUT);
digitalWrite(pinOut_LED,HIGH);
Serial.begin(115200);
delay(100);
t1 = millis();
t2 = t1;
t3 = t1;
t4 = t1;
}
///////////////////////////////////////////////////////////////////////////////////////////////
void loop()
{
t1 = millis();
if(((t1-t2) >= CycleTime_ms) || (t2 > t1))
{
LED_st = !LED_st;
digitalWrite(pinOut_LED,LED_st);
t2 = t1;
}
}