STM32MXCube - PendSV_Handler,SVC_Hander Multiple definition FREE RTOS
Hello,
I have the goal of using STM32MX cube out of the box to generate working project and importing them int System Workbench. I have had to make a couple of tweaks to get the project to build straight from code generation from Cube...
Modification#1
I’m using FreeRTOS and I’ve had to
stm32f4xx_it.c
__weak void SVC_Handler(void) //conflicts with FreeRTOS port.c definition
__weak void PendSV_Handler(void) //conflicts with FreeRTOS port.c definition
Modification#2
After import
Project->properties->C/C++ General/Paths and Symbols->Add
LWIP_TIMEVAL_PRIVATE 0
Cube Question:
Is there a way to get cube to not generate those handlers?
Is there a way get cube to generate them withe the __weak directive?
Thanks,
Brian