-->
Page 1 of 1

Compiling Error with new Arduino IDE

PostPosted: Sun Apr 26, 2015 4:46 am
by Johnny doey
Hey guys,

whenever I want to compile something i get the following error:
Code: Select allC:\Users\MY USERNAME\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266\core_esp8266_wiring_digital.c: In function '__attachInterrupt':
C:\Users\MY USERNAME\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266\core_esp8266_wiring_digital.c:146:38: error: 'GPIO_PIN_INTR_ANYEDGE' undeclared (first use in this function)
         gpio_pin_intr_state_set(pin, GPIO_PIN_INTR_ANYEDGE);
                                      ^
C:\Users\MY USERNAME\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266\core_esp8266_wiring_digital.c:146:38: note: each undeclared identifier is reported only once for each function it appears in


Hope you can help!

Re: Compiling Error with new Arduino IDE

PostPosted: Mon Apr 27, 2015 6:01 am
by GerryKeely
Hi try including the following at the start of your program.Error indicates you are missing a file

Code: Select allextern "C" {
#include "user_interface.h"
#include "gpio.h"
}


Gerry