const int led = 2;
void setup() {
// put your setup code here, to run once:
pinMode(led, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(led, 1);
delay(100);
digitalWrite(led, 0);
delay(100);
}
The above test ( using mycode) is very very very simple and it works
This is a fresh install of Arduino on a win7 64 pro OS. I xxx'd out my folder in users/xxxxx
I downloaded from git hub a zip file arduino-esp8266-master-zip and unzipped it into User/xxxxx/Arduino/hardware
Now when I try the examples in this case hello world there are issues...__dso_handle is missing
Arduino: 1.6.2 (Windows 7), Board: "Generic ESP8266 board"
Build options changed, rebuilding all
HelloServer.cpp.o:(.text.startup+0x8): undefined reference to `__dso_handle'
c:/users/xxxx/documents/arduino/hardware/arduino-esp8266-master/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Doug\AppData\Local\Temp\build5892183759428858024.tmp/HelloServer.cpp.elf: hidden symbol `__dso_handle' isn't defined
c:/users/xxxx/documents/arduino/hardware/arduino-esp8266-master/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: final link failed: Bad value
collect2.exe: error: ld returned 1 exit status
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.