Bi-dir CCM Totem-Pole PFC STEVAL-7BIDIRCB code not compiling in Cube IDE
- June 9, 2026
- 0 replies
- 42 views
Hello, i have downloaded Bi-dir CCM Totem-Pole PFC (STEVAL-7BIDIRCB) firmware, and i opened .ioc file in MX and in toolchain it was EWARM , i changed to Cube IDE and generated code and tried to build but code is not building it’s giving error.
Please help me to solve the issue
i have attached images for reference
15:46:43 **** Incremental Build of configuration Debug for project itp_ccm_pfc_stm32g474 ****
make -j12 all
arm-none-eabi-gcc -o "itp_ccm_pfc_stm32g474.elf" @"objects.list" -mcpu=cortex-m4 -T"C:\Users\anudeep\STM32CubeIDE\E_Watt\itp_ccm_pfc_stm32g474\STM32G474RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="itp_ccm_pfc_stm32g474.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
C:/ST/STM32CubeIDE_1.18.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.100.202509120712/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: ./Core/Src/main.o: in function `main':
C:/Users/anudeep/STM32CubeIDE/E_Watt/itp_ccm_pfc_stm32g474/Debug/../Core/Src/main.c:119:(.text.main+0x60): undefined reference to `MX_ITP_CCM_BIDIR_Init'
C:/ST/STM32CubeIDE_1.18.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.100.202509120712/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/Users/anudeep/STM32CubeIDE/E_Watt/itp_ccm_pfc_stm32g474/Debug/../Core/Src/main.c:129:(.text.main+0x64): undefined reference to `MX_ITP_CCM_BIDIR_Process'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:65: itp_ccm_pfc_stm32g474.elf] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:46:44 Build Failed. 3 errors, 0 warnings. (took 1s.70ms)
