2024-02-27 01:47 AM
Info: Internal Builder is used for build
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o "Core\\Src\\system_stm32f4xx.o" "..\\Core\\Src\\system_stm32f4xx.c"
..\Core\Src\system_stm32f4xx.c:48:23: fatal error: stm32f4xx.h: No such file or directory
#include "stm32f4xx.h"
Instead of adding "stm32f4xx.h" file it showi
2024-02-27 01:56 AM
Hello @mr_vineet and welcome to the ST Community :smiling_face_with_smiling_eyes:.
It seems the include paths are not properly set up.
Make sure to configure the include paths and check the path of the stm32f4xx.h header file. Maybe that folder was not in the include folder list.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-27 02:42 AM
@mr_vineet wrote:Compilation error in STM32F407VET6 board
Note that this isn't anything to do with the board - the compilation error is in your code.
@mr_vineet wrote:stm32f4xx.h: No such file or directory
So the first thing to check is: does that file actually exist at all anywhere on your system?
Clearly, if the file is not on your system, then the compiler is not going to be able to find it!
If the file does exist, then the next question is: is it in a place where the compiler can find it?
That's where the Include Paths that @STTwo-32 mentioned come in ...
@mr_vineet wrote:
Instead of adding "stm32f4xx.h" file it showi
Did you mean to add something further there?