whenever I want to compile something i get the following error:
C:\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!