I am looking for the file system_stm32f4xx.c for the compilation of the code. I am working on the board stm32f411vet6. While compiling the code for gpio I am getting this error. Thanks in advance for any help.
What code, exactly, is that?
Where did you obtain it?
system_stm32f4xx.c sounds like part of the ST Standard Peripheral Library - available from the ST website
Review the project templates provide by ST that demonstrate the files, and placement within the library tree.
startup_stm32fxxx.c can be part of the project directory if you need to customize it to your board and hardware, ie pins, clocks, operating speed, etc.
Hi,
Thanks for the quick response .
I got the file and I have placed it in the proper directory.
But my problem is not yet resolved.
The error which I am getting while compiling the file is as follows :
*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'Target 1' assembling startup_stm32f411xe.s... compiling hal_gpio_driver.c... compiling led.c... compiling system_stm32f4xx.c... linking... .\Objects\GPIO_LAB.axf: Error: L6218E: Undefined symbol hal_gpio_init (referred from led.o). Not enough information to list image symbols. Finished: 1 information, 0 warning and 1 error messages. ".\Objects\GPIO_LAB.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01
Can you please help on what should I do to fix the error .
I am writing this code to toggle the LED .
Thanks in Advance !!!
Fixed the problem .
Actually there was a function definition missing, which I just added and the code is compiling perfectly after that .
Thanks to all .
Hi , I just have got a problem which u have faced once upon a time. .\Objects\GPIO_DRIVER.axf: Error: L6218E: Undefined symbol hal_gpio_init (referred from main.o). I am using STM32F407VG board. I have developed my own code and missing with hal_gpio_inti(). can u pls tell from were u got that code. It would be helpful in solving my problem.
Thank you in advance.