Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIO Core 6.1.17 brakes compile_commands.json from compiledb #5090

Open
Nathan-ma opened this issue Feb 16, 2025 · 0 comments
Open

PIO Core 6.1.17 brakes compile_commands.json from compiledb #5090

Nathan-ma opened this issue Feb 16, 2025 · 0 comments
Milestone

Comments

@Nathan-ma
Copy link

Hi folks, no big deal, reporting an issue with 6.1.17.
After upgrading to 6.1.17, the clangd stopped working as expected; I just downgraded the core version back to 6.1.16 and everything is now working again.

OS: macOS
Basic .ini config:

[device]
platform = [email protected]
board = esp32dev
framework = arduino

.clangd:

CompileFlags:
  Remove: [-fno-tree-switch-conversion, -mtext-section-literals, -mlongcalls, -fstrict-volatile-bitfields]

My LSP when on 6.1.17, fails to find any Arduino framework lib like: WiFi, EEPROM, WiFiProv, etc.

Downgrading to 6.1.16 solves it right away:

pip install platformio==6.1.16

This is a great opportunity to start supporting version selection with the brew package manager.

@ivankravets ivankravets added this to the 6.1.18 milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants