STM32CubeIDE: why when I specify Core/Inc path as include path, IDE shows warning about missing CM4/Debug/Core/Inc?
I try to specify relative paths without a lot of ../../.. spaghetti, but every time I shoot into the correct directory, I get an error like a /Debug/ was added to my path?
I moved all my code files, now I want to make include paths right, but it's either using workspace folder, or... IDK. It accepts absolute paths, but I don't accept absolute paths.
My whole point is to make the simplest possible folder structure for both STM32CubeIDE and other tools.
I don't get it. My project root (a directory where the .project file is located) is ROOT. I'd think when I have to include directory ROOT/DIR all I have to do is to specify "DIR" as include path. Or "./DIR". But nothing works. STM32CubeIDE insists on adding /Debug/ to my paths. I tried adding "../" 1, 2, 3, 4 times. If I add too many "../" then it resolves the directory correctly as incorrect - so the path ending is correct, as specified, just the root is wrong. However, when my "root" is just ".", then it adds "/Debug/" to it and treat is as invalid, because naturally there's nothing there.
OK, I found out that the include path root is "Debug/CM4" - how to change it to "/"?