CLionArduinoPlugin icon indicating copy to clipboard operation
CLionArduinoPlugin copied to clipboard

Arduino.h not found when selecting run configuration "upload"

Open AlexSchmid22191 opened this issue 8 years ago • 1 comments

After upgrading to the latest CLion 2016.3.2 and installing the CLionArduinoPlugin 1.2.3 the IDE no longer finds the Arduino.h, i.e. it displays Arduino.h not found. Inbuilt Arduino specific functions like digitalRead produce the warning "Can't resolve the variable digitalRead". However, this happens only while the run configuration upload is selected. When selecting "build all", Arduino.h gets properly found. Nevertheless, the sketch can still be uploaded with the upload configuration, despite the displayed error messages.

AlexSchmid22191 avatar Feb 14 '17 21:02 AlexSchmid22191

I'm having the same issue with 2017.2 and 1.2.3 of the plugin. Also the -size behaves the same way.

ghost avatar Jul 26 '17 01:07 ghost