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
  • You must have an incompatible set of components, then.

    You know what source files the multiple definitions are coming from - so it should be easy to find which of those "components" they belong to?

    I would imagine that the STM32Cube stuff would include the CMSIS Core.

    You need to study the STM32Cube documentation for details; that's an ST thing - nothing to do with Keil or ARM.

    AIUI, if you're using Cube to create your project then you should just import whatever that creates into Keil - not be adding stuff to it - but you need to check the ST documentation for the correct procedure.

    multiply definitions

    They are multiple definitions - not multiply definitions.

Reply
  • You must have an incompatible set of components, then.

    You know what source files the multiple definitions are coming from - so it should be easy to find which of those "components" they belong to?

    I would imagine that the STM32Cube stuff would include the CMSIS Core.

    You need to study the STM32Cube documentation for details; that's an ST thing - nothing to do with Keil or ARM.

    AIUI, if you're using Cube to create your project then you should just import whatever that creates into Keil - not be adding stuff to it - but you need to check the ST documentation for the correct procedure.

    multiply definitions

    They are multiple definitions - not multiply definitions.

Children