I'm using the an ESP-12 mounted on a Wemos D1 board.
I'm using PlatformIO [Core 4.2.1] on VSCodium.
PLATFORM: Espressif 8266 2.3.3 > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif8266 3.20603.200130 (2.6.3)
- tool-esptool 1.413.0 (4.13)
- tool-esptoolpy 1.20800.0 (2.8.0)
- toolchain-xtensa 2.40802.191122 (4.8.2)
To enable debug massages during development I thought of adding some
#ifdef DEBUG
Now the problem: if I enable my DEBUG option, i.e. I insert a
#define DEBUG
In file included from /home/giotherobot/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/assert.h:10:0,
from /home/giotherobot/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/reent.h:459,
from /home/giotherobot/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/errno.h:11,
from /home/giotherobot/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/errno.h:9,
from /home/giotherobot/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp:26:
/home/giotherobot/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h: In function 'uint32_t pgm_read_dword_unaligned(const void*)':
/home/giotherobot/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:107:1: error: a15 cannot be used in asm here
}
^
If i do not enble the DEBUG option I can compile without problems. Now i can use a "custom" debug define but this should not happen, right?
Thanks for your time.