With a support entitlement you can also get direct access to our team of highly-qualified Arm experts 24-hours a day
Open a support case
i'm trying to add CMSIS-RTX5 in my project.
Without RTX5 the code run correctly.
Adding RTX5 the following error appears:
.\stm32_base.axf: Error: L6200E: Symbol PendSV_Handler multiply defined (by irq_cm4f.o and stm32l4xx_it.o)..\stm32_base.axf: Error: L6200E: Symbol SVC_Handler multiply defined (by irq_cm4f.o and stm32l4xx_it.o)..\stm32_base.axf: Error: L6200E: Symbol SysTick_Handler multiply defined (by irq_cm4f.o and stm32l4xx_it.o).
Reading the documentation I find out that:
On Cortex-M processors, the RTX5 kernel uses the following interrupt exceptions. The table below also lists the priorities that must be assigned to these interrupts.
but i still don't know how to face the problem.
I assume you are using STM32CubeMX to configure your system? You need to disable the IRQ Handlers for "System Service call via SWI instruction", "Pendable request for system service", and "Time base: System tick timer". These handlers are already defined in RTX and must not be used by the code generated from CubeMX: