cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK-PKG001/STEVAL-PTOOL1V1_6S_HL fails to compile

murpia
Associate

Hi,

MCSDK-PKG001/STEVAL-PTOOL1V1_6S_HL fails to compile with the errors below:

 

C:/Users/Ian/.st_workbench/projects/MCSDK-PKG001/STEVAL-PTOOL1V1_6S_HL/Src/mc_tasks.c: In function 'MC_RunMotorControlTasks':
C:/Users/Ian/.st_workbench/projects/MCSDK-PKG001/STEVAL-PTOOL1V1_6S_HL/Src/mc_tasks.c:221:9: warning: implicit declaration of function 'SixPwm_TurnOnLowSides'; did you mean 'PWMC_TurnOnLowSides'? [-Wimplicit-function-declaration]
221 | SixPwm_TurnOnLowSides(pwmcHandle[M1],M1_CHARGE_BOOT_CAP_DUTY_CYCLES);
| ^~~~~~~~~~~~~~~~~~~~~
| PWMC_TurnOnLowSides

C:/Tools/STM32/STM32CubeIDE_1.16.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.200.202406191623/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: ./Application/User/mc_tasks.o: in function `MC_RunMotorControlTasks':
C:/Users/Ian/.st_workbench/projects/MCSDK-PKG001/STEVAL-PTOOL1V1_6S_HL/Src/mc_tasks.c:221: undefined reference to `SixPwm_TurnOnLowSides'

0 REPLIES 0