Headerfile not found

Hi there, at my machine the system can’t find the header file <Arduino.h>, but she is in a defined directory. Where I can set up or say if the file is not find that the system can find it?

What is the difference betwenne <Arduino.h> and when some other header files are defined with ““ like “pins_arduino.h” ??

Below some screenshot.

Remove the include_dir in the platformio.ini. That’s not the way it is intented to be used!

Does the issue also happen with a blank new project?
(Create a new project and open the project folder in VS Code.)

Hi sivar2311. That doesn’t help. I created a new project, to see what happens. It’s the same. Something is twisted :unamused_face:. I didn’t touch the INI-file.

Whats’s wrong?

Sound’s like a broken platform / framework.

  1. Close VS Code
  2. Delete the folders:
  • C:\Users\markus\.platformio\packages\framework-arduino-avr
  • C:\Users\markus\.platformio\platforms\atmelavr
  1. Restart VS Code and let PlatformIO reinstall the missing platform and framework files
  2. Try to build the project again