platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
330 stars 219 forks source link

Neovim + platformio Unknown argument -mtext-section-literals #308

Open cpt-n3mo opened 11 months ago

cpt-n3mo commented 11 months ago

Configuration

on arch linux. using neovim and clangd

when generating a project with pio project init --ide vim nodemcuv2 compiler_commands.json is generated

i get the following error while including adruino.h

Unknown argument: '-mtext-section-literals'

this happens with a default project

how can i solve this issue...?

#include "Arduino.h"

void setup(){}

void loop(){}

kind regards.