2020-03-08 03:03 PM
Hello!
In attach - project for CubeMX.
If I generate project for Keil and try to compile, I get errors
H743\H743.axf: Error: L6200E: Symbol SystemInit multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol SystemCoreClock multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol D1CorePrescTable multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol SystemD2Clock multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol __asm___18_system_stm32h7xx_c_5d646a67____REV16 multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol __asm___18_system_stm32h7xx_c_5d646a67____REVSH multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol __asm___18_system_stm32h7xx_c_5d646a67____RRX multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
H743\H743.axf: Error: L6200E: Symbol SystemCoreClockUpdate multiply defined (by system_stm32h7xx_1.o and system_stm32h7xx.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 8 error messages.
How to fix KEil project?
2020-03-10 02:50 PM
Hi,
looks like you compiled the file system_stm32h7xx.c twice.
One file is usually provided by Keil (Keil-Packs). You will find it under "Device".
Find and remove the other file.
Peter.
2021-11-02 01:09 AM
it helped me a lot
really really thank you