This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiply definition in a empty project

Hello, I'm new in this environment and I found a problem. I'm using uVision 5.33: I made a empty project, and in the management I inserted CMSIS Core, RTOS2 (API) Keil RTX5, STM32Cube HAL, STM32CubeMX. I didn't write nothing, I compiled the program without modification, and three errors appeared:

- Error: L6200E: Symbol SysTick_Handler multiply defined (by irq_cm0.o and stm32f0xx_it.o)

- Error: L6200E: Symbol PendSV_Handler multiply defined (by irq_cm0.o and stm32f0xx_it.o)

- Error: L6200E: Symbol SVC_Handler multiply defined (by irq_cm0.o and stm32f0xx_it.o)

Can someone help me?

Thanks

Parents
  • Thank you for the answer. Yes, I know that if I remove one definition of them the program should be linked well, but I don't understand if it is normal that an autogenerated code produces two definitions of the same function. These definitions wasn't made by myself, I didn't do anything, simply I selected the modules that was necessary for the program and I compiled the autogenerated code. Is the modification of the autogenerated code normal in this environment?

Reply
  • Thank you for the answer. Yes, I know that if I remove one definition of them the program should be linked well, but I don't understand if it is normal that an autogenerated code produces two definitions of the same function. These definitions wasn't made by myself, I didn't do anything, simply I selected the modules that was necessary for the program and I compiled the autogenerated code. Is the modification of the autogenerated code normal in this environment?

Children