Error when compiling an MC WB / cubeMX generated app
When compiling a test app for the B-G431B-ESC1 board, I generated code using the MC Workbench and cube MX for a 6-step control of a BLDC.
If while in the Workbench, I choose to enable the "Electronic Speed Control" option, I get the error below when compiling inside the ST IDE:
C:/Users/pjreb/.st_workbench/projects/test_4_6s/MCSDK_v6.3.2-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.c:293: multiple definition of `TIM2_IRQHandler'; ./Application/User/stm32g4xx_mc_it.o:C:/Users/pjreb/.st_workbench/projects/test_4_6s/Src/stm32g4xx_mc_it.c:103: first defined here
How can I fix this?
Thanks
