Using: Linux Mint18 -> vscode -> pio -> ESP8266/Arduino
Problem: compilation of new/ported code (written to gcc 5.x) fails.
Reason: ~/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf-g++ (et al) are too old - V4.8.2.
So I need an xtensa gcc toolchain >= V5.
I note: 5.2 is available from github.com/earlephilhower/esp-quick-toolchain.
Question: What is the simplest way (is it even possible?) of installing xtensa 5.2 without upsetting pio, arduino libs, vscode, intellisense, problem scanning; or having to spend hours fixing stuff? (Been there with Eclipse; not going again!)
Thanks for any help or please vote for:
- Don’t even think about it, go back to Eclipse.
- Just compile up the new executables, fix their names, put them in ~/.platformio/packages/toolchain-xtensa/*, sit back and watch the fireworks.
- Get help from a responsible adult.