im getting a ton of errors trying to get the Os7 to work
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:53:2: error: #error Please set CONFIG_FILE as shown above.
53 | #error Please set CONFIG_FILE as shown above.
| ^~~~~
underneath is what it looks like what am i doing wrong?
/ #define CONFIG_FILE "config/test_bench_config.h"
#ifdef CONFIG_FILE_TEST
#undef CONFIG_FILE
#define CONFIG_FILE CONFIG_FILE_TEST
#endif
#ifndef CONFIG_FILE
#error Please set CONFIG_FILE as shown above.
#endif
Did make sure the path that inst remarked out in ProffieOS.ino is the one you want to upload?
Yes i think so, still new to this sort of thing
About 30 lines down, there is this line.
// #define CONFIG_FILE "config/YOUR_CONFIG_FILE_NAME_HERE.h"
This needs to be changed to your file, which should be in the config folder, and remove the two slashes.
#define CONFIG_FILE "config/My-First-Saber.h"
Or similar. And only one config line can have the slashes removed to not have it remarked out.
Okay, so i changed it to this
/ #define CONFIG_FILE "config/mysaber_config.h"
but i am getting all these errors still even though the config is in the files with the proffiev 7.15
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:54:2: error: #error Please set CONFIG_FILE as shown above.
54 | #error Please set CONFIG_FILE as shown above.
| ^~~~~
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:58:10: error: #include expects "FILENAME" or <FILENAME>
58 | #include CONFIG_FILE
| ^~~~~~~~~~~
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:618:10: error: #include expects "FILENAME" or <FILENAME>
618 | #include CONFIG_FILE
| ^~~~~~~~~~~
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:622:10: error: #include expects "FILENAME" or <FILENAME>
622 | #include CONFIG_FILE
| ^~~~~~~~~~~
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:626:10: error: #include expects "FILENAME" or <FILENAME>
626 | #include CONFIG_FILE
| ^~~~~~~~~~~
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:684:10: error: #include expects "FILENAME" or <FILENAME>
684 | #include CONFIG_FILE
| ^~~~~~~~~~~
S:\PROFIE 715\ProffieOS-v7.15\ProffieOS\ProffieOS.ino:1561:10: error: #include expects "FILENAME" or <FILENAME>
1561 | #include CONFIG_FILE
| ^~~~~~~~~~~
exit status 1
Compilation error: #error Please set CONFIG_FILE as shown above.
If what you pasted is whats in your ino, there is still one / slash at the front. Remove that and try again.