Wat does this mean and how to fix.
:\Users\User\Desktop\ProffieOS\ProffieOS.ino:57:10: error: #include expects “FILENAME” or
57 | #include CONFIG_FILE
| ^~~~~~~~~~~
Wat does this mean and how to fix.
:\Users\User\Desktop\ProffieOS\ProffieOS.ino:57:10: error: #include expects “FILENAME” or
57 | #include CONFIG_FILE
| ^~~~~~~~~~~
Did you save your config file in “ProffieOS/config” and define your CONFIG_FILE in Arduino after the large box explaining configs?
#define CONFIG_FILE "config/YOUR_CONFIG_FILE_NAME_HERE.h"
If not, see step 4 and 5 on this page (assuming you did the previous steps correctly).
If you did, then you may have a typo. The file name needs to match exactly (spelling and case) and the file needs to be a .h file. Sometimes users type an extra .h so it becomes myconfig.h.h in the config folder. If your unsure see if you config filename looks like the other filenames in the config folder.
You’ll want to look at the ProffieOS.ino file that you open with Arduino.
so I have my file name in the right place and the error doesn’t show on that line in arduino . Each one of thoes numbers is a different line and shows these errors . C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:53:2: error: #error Please set CONFIG_FILE as shown above.
53 | #error Please set CONFIG_FILE as shown above.
| ^~~~~
C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:57:10: error: #include expects “FILENAME” or
57 | #include CONFIG_FILE
| ^~~~~~~~~~~
C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:610:10: error: #include expects “FILENAME” or
610 | #include CONFIG_FILE
| ^~~~~~~~~~~
C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:614:10: error: #include expects “FILENAME” or
614 | #include CONFIG_FILE
| ^~~~~~~~~~~
C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:618:10: error: #include expects “FILENAME” or
618 | #include CONFIG_FILE
| ^~~~~~~~~~~
C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:676:10: error: #include expects “FILENAME” or
676 | #include CONFIG_FILE
| ^~~~~~~~~~~
C:\Users\User\Desktop\ProffieOS\ProffieOS.ino:1554:10: error: #include expects “FILENAME” or
1554 | #include CONFIG_FILE
| ^~~~~~~~~~~
I’d love to send you a copy of my config to have a look
The first error is really the only issue.
The line numbers are not the lines in your config file, as you can see the file it’s referring to is C:\Users\User\Desktop\ProffieOS\ProffieOS.ino, line 53.
That’s where your config file gets checked for existence with the lines
#ifndef CONFIG_FILE
#error Please set CONFIG_FILE as shown above.
#endif
The config file is not the issue. It’s the way you have your #define CONFIG_FILE
line in ProffieOS.ino, which you open with Arduino.
It needs to point to the file you want to use, along the correct path.
The example line given is:
// #define CONFIG_FILE "config/YOUR_CONFIG_FILE_NAME_HERE.h"
You just remove the 2 leading slashes from the beginning of the line (so it’s not ignored by the compiler) and change the file name to YOUR config file name.
The config file itself needs to reside in the ProffieOS/config folder.
That’s really all there is to it.
If you get that error, you either:
Hello. I have the same problem and I cannot solve it. Any other ideeas?
I`m on Proffiedoard V3 3.6
Read this and see if it helps:
I reinstalled everything and somehow it worked. Pure insanity!