When removing the ~/.platformio/packages/framework-arduinoespressif8266 folder and PlatformIO reinstalls it, there are already two choices
Processing nodemcuv2_serial (platform: espressif8266; board: nodemcuv2; framework: arduino; upload_protocol: esptool; extra_scripts: add_gdb.py)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing framework-arduinoespressif8266 @ ~3.20704.0
Tool Manager: Warning! More than one package has been found by framework-arduinoespressif8266 @ ~3.20704.0 requirements:
- platformio/framework-arduinoespressif8266 @ 3.20704.0
- tasmota/framework-arduinoespressif8266 @ 2.7.4.9
Tool Manager: Please specify detailed REQUIREMENTS using package owner and version (showed above) to avoid name conflicts
Unpacking [####################################] 100%
Tool Manager: framework-arduinoespressif8266 @ 3.20704.0 has been installed!
When removing the
~/.platformio/packages/framework-arduinoespressif8266
folder and PlatformIO reinstalls it, there are already two choicesand it thankfully uses the right one here, not Tasmota's version, but maybe in the future it would mis-choose. This is already fixed in commit https://github.com/platformio/platform-espressif8266/commit/08593360198973e724a32a66c774616faccef059#diff-0184adedc292a93218525209d37dabe7330a013e6ff8fa46fd6328c5eb4598fa but no official new platform version has been released since.