Goodmorning,
I write you since I recently move from MCUExpresso version 11.5.1 from version 11.3.0. A new problem arises: in some cases, I had to provide the "full-path" for including a file, otherwise the compiler cannot find it, even if given it's an auto-generated file. In the image below you can see in the Project Explorer window the position of disk.h and ff.h respect to peripheral.h. I had to modify peripherals.h (which is a file generated with ConfigTools) providing the full path for files, ff.h and diskio.h.
I changed it from:
#include "ff.h"
#include "diskio.h"
to:
#include "../fatfs/source/ff.h"
#include "../fatfs/source/diskio.h"
Below you can see that the include paths are correct.
How can I solve it?
Thank you
what if you add
"../fatfs"
"../fatfs/source"
to your include directory list (-I option)?
Additionally: keep in mind that your dialog shows the release build, but maybe things are different for the debug build?
Hello @ErichStyger,
As my project is very big, I only use Release Mode for having the maximum optimization, in Debug mode the project is too slow.
I try to include the relative paths to the include path list as you suggested but I get the same error.
However, thank you for your answer.