VSCode, PIO, xtensa gcc upgrade from 4.8.2

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 - earlephilhower/esp-quick-toolchain: GCC toolchain for esp8266/arduino on MacOS, Linux, ARM64, Raspberry Pi, and Windows.

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:

  1. Don’t even think about it, go back to Eclipse.
  2. Just compile up the new executables, fix their names, put them in ~/.platformio/packages/toolchain-xtensa/*, sit back and watch the fireworks.
  3. Get help from a responsible adult.
1 Like

Does this toolchain work for you?

In any case, we will need this feature