-
Notifications
You must be signed in to change notification settings - Fork 236
Intellisense autogen fails to include definitions for PORTA #1529
Comments
Thanks for the report. To help us reproduce the issue, can you provide a sample |
From arduino.json: Project.ino has no issues, uses the following includes:
The ScreenLCD.cpp has the intellisense issues, here are the relevant parts:
Here is the beginning of the defines section of the c_cpp_properties.json file:
|
This issue has been automatically marked as stale because it has been inactive for 30 days. To reactivate the issue, simply post a comment with the requested information to help us diagnose this issue. If this issue remains inactive for another 7 days, it will be automatically closed. |
Still running into this issue, related to #1279 |
maybe it is related to #1354 (comment) in the Pico core. |
It seems like the intellisense autogen that inserts items into the defines list in c_cpp_properties.json is not working properly.
My project compiles fine, but I get intellisense warnings in my Ardunio code that PORTA is undefined.
If I manually add "AVR_ATmega328P" to the defines list in c_cpp_properties.json then intellisense works fine.
The text was updated successfully, but these errors were encountered: