2025-11-21 1:23 AM
Dear STM Community,
I'm familiar with the STM32CubeMX and the STM32CubeIDE, and I began discovering a motor control evaluation kit.
The default project generated with the motor control SDK does not compile with default settings (even without touching an option), even though Cube was able to generate a project, and switched miiediately to the IDE. Most of the files were missing, so I had to manually re-import the whole directory structure, and adding all folders with header files in. I never experienced such a problem with a project directly created with the CubeMX.
I've updated all STM tools to the latest version, tried to remove and re-download some STM firmware packages, I got further in the compile process, and stuck at a missing speed_duty_ctrl.h header, awhich I was not able to locate on my computer.
In the Motor Control Workbench, I selected STM32CubeIDE as target platform, with matching version numbers for the CubeMX.
STM32CubeIDE version: 2.0.0
STM32CubeMX version: 6.15.0
Motor Control Workbench version: 6.4.1
Latest compile error log:
In file included from ../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/profiler.c:24:
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/profiler.h:30:10: fatal error: profiler_types.h: No such file or directory
30 | #include "profiler_types.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/mcptl.c:21:
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:35:69: error: unknown type name 'uint8_t'
35 | typedef bool (* MCTL_GetBuf)(MCTL_Handle_t *pHandle, void **buffer, uint8_t syncAsync);
| ^~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:28:1: note: 'uint8_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
27 | #include <stdbool.h>
+++ |+#include <stdint.h>
28 |
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:36:18: error: expected declaration specifiers or '...' before '*' token
36 | typedef uint8_t (* MCTL_SendPacket)(MCTL_Handle_t *pHandle, void *txBuffer, uint16_t txDataLength, uint8_t syncAsync);
| ^
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:37:9: error: unknown type name 'uint8_t'
37 | typedef uint8_t *(* MCTL_RXpacketProcess)(MCTL_Handle_t *pHandle, uint16_t *packetLength);
| ^~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:37:67: error: unknown type name 'uint16_t'
37 | typedef uint8_t *(* MCTL_RXpacketProcess)(MCTL_Handle_t *pHandle, uint16_t *packetLength);
| ^~~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:37:67: note: 'uint16_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:49:3: error: unknown type name 'uint8_t'
49 | uint8_t *buffer;
| ^~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:50:3: error: unknown type name 'uint16_t'
50 | uint16_t length;
| ^~~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:63:3: error: unknown type name 'MCTL_GetBuf'
63 | MCTL_GetBuf fGetBuffer;
| ^~~~~~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:64:3: error: unknown type name 'MCTL_SendPacket'
64 | MCTL_SendPacket fSendPacket;
| ^~~~~~~~~~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:65:3: error: unknown type name 'MCTL_RXpacketProcess'
65 | MCTL_RXpacketProcess fRXPacketProcess;
| ^~~~~~~~~~~~~~~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:66:3: error: unknown type name 'uint16_t'
66 | uint16_t txSyncMaxPayload;
| ^~~~~~~~
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/mcptl.h:67:3: error: unknown type name 'uint16_t'
67 | uint16_t txAsyncMaxPayload;
| ^~~~~~~~
make: *** [MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/subdir.mk:154: MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/profiler.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/subdir.mk:154: MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/mcptl.o] Error 1
In file included from C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/otf_sixstep.h:32,
from ../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/otf_sixstep.c:51:
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/revup_ctrl_sixstep.h:33:10: fatal error: speed_duty_ctrl.h: No such file or directory
33 | #include "speed_duty_ctrl.h"
| ^~~~~~~~~~~~~~~~~~~
In file included from C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/ipd_sixstep.h:32,
from ../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/ipd_sixstep.c:51:
C:/a/STEVAL_SPIN3201_TEST/MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc/revup_ctrl_sixstep.h:33:10: fatal error: speed_duty_ctrl.h: No such file or directory
33 | #include "speed_duty_ctrl.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
make: *** [MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/subdir.mk:154: MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/otf_sixstep.o] Error 1
make: *** [MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/subdir.mk:154: MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/ipd_sixstep.o] Error 1
../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.c: In function 'TIM2_IRQHandler':
../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.c:604:3: error: 'ESC_M1' undeclared (first use in this function); did you mean 'ESC_H'?
604 | ESC_M1.Ton_value = esc_capture_filter(&ESC_M1, LL_TIM_OC_GetCompareCH2(TIM2));
| ^~~~~~
| ESC_H
../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.c:604:3: note: each undeclared identifier is reported only once for each function it appears in
make: *** [MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/subdir.mk:154: MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
10:08:26 Build Failed. 21 errors, 0 warnings. (took 8s.212ms)
Solved! Go to Solution.
2025-12-02 11:48 PM
Dear Members,
I've finally got some time to reinstall the whole STM32Cube environment. After carefully making backups of the previous projects, then uninstalling, and wiping all files, workpspaces, and packages, then reinstalling the newest version of everything from scratch, the default project compiles as a charm for the first click.
I don't have an idea what was broken. I think, that after several version upgrades, and package installations, something went wrong in the Cube firmware package definitions.
Thanks for Your patience.
2025-11-21 1:42 AM
Hi @PThiering
Once you have set all parameters in MC Workbench, and you proceed with Save & Generate, the tool will ask you to select a Firmware Package version.
You should normally choose the recommended version shown by the Workbench, because this is the version that has been tested and validated with your selected MCU, power board, and motor control features. Using the recommended package helps avoid compatibility or build issues.
If you are using an older project or want to test a newer firmware package, you can select a different version — but the safest option is always the recommended one.
2025-11-21 2:03 AM
Hi, thanks for the tip. I always selected the "recommended" version, in my case, it was always matching the version installed in cubeMX.
See you later!
2025-11-21 2:33 AM
After making an empty project, with this settings, the same almost empty file system showed up in the IDE, without manually re-importing all subfolders. What is Your recommendation?
2025-11-21 3:28 AM
Actually, you generated the project with the toolchain set to CubeIDE. My suggestion is:
Generate the code normally.
After the code generation finishes, open STM32CubeIDE.
Go to File → Open Projects from File System…
Select the STM32CubeIDE folder inside your project directory and import it.
Build the project — it should compile properly.
Important: Before generating the code again, make sure to choose a different project name, not the same as the previous one. This should help solve the issue.
2025-11-21 10:35 AM
Did exactly the same. Result is not changed, only a few files are present in this folder. Imported from the "stm32cubeIDE" folder as filesystem. Important files are present, but outside of this folder... After copying everything inside from outside, the same issue begins, claiming some missing files in esc.c
Result on compile after Your instructions:
19:26:57 **** Build of configuration Debug for project SPIN_TEST_NEW ****
make -j12 all
arm-none-eabi-gcc "../Application/User/syscalls.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F031x6 -c -I../../Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/F0xx/Inc -I../../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../Drivers/CMSIS/Include -I../../Drivers/CMSIS/DSP/Include -Ofast -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Application/User/syscalls.d" -MT"Application/User/syscalls.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/syscalls.o"
arm-none-eabi-gcc "../Application/User/sysmem.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F031x6 -c -I../../Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/F0xx/Inc -I../../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../Drivers/CMSIS/Include -I../../Drivers/CMSIS/DSP/Include -Ofast -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Application/User/sysmem.d" -MT"Application/User/sysmem.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/sysmem.o"
arm-none-eabi-gcc -mcpu=cortex-m0 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Application/Startup/startup_stm32f031c6tx.d" -MT"Application/Startup/startup_stm32f031c6tx.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/Startup/startup_stm32f031c6tx.o" "../Application/Startup/startup_stm32f031c6tx.s"
arm-none-eabi-gcc -o "SPIN_TEST_NEW.elf" @"objects.list" -mcpu=cortex-m0 -T"C:\Users\PeterThiering\.st_workbench\projects\SPIN_TEST_NEW\STM32CubeIDE\STM32F031C6TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="SPIN_TEST_NEW.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
C:/ST/STM32CubeIDE_1.13.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: ./Application/Startup/startup_stm32f031c6tx.o: in function `Reset_Handler':
C:/Users/PeterThiering/.st_workbench/projects/SPIN_TEST_NEW/STM32CubeIDE/Debug/../Application/Startup/startup_stm32f031c6tx.s:55:(.text.Reset_Handler+0x4): undefined reference to `SystemInit'
C:/ST/STM32CubeIDE_1.13.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/PeterThiering/.st_workbench/projects/SPIN_TEST_NEW/STM32CubeIDE/Debug/../Application/Startup/startup_stm32f031c6tx.s:91:(.text.Reset_Handler+0x32): undefined reference to `main'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:63: SPIN_TEST_NEW.elf] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.Result on compile after copying all outside files into the STM32CubeIDE folder:
../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.c:604:3: error: 'ESC_M1' undeclared (first use in this function); did you mean 'ESC_H'?
604 | ESC_M1.Ton_value = esc_capture_filter(&ESC_M1, LL_TIM_OC_GetCompareCH2(TIM2));
| ^~~~~~
| ESC_H
../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.c:604:3: note: each undeclared identifier is reported only once for each function it appears in
arm-none-eabi-gcc "../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/hall_speed_pos_fdbk_sixstep.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F031x6 -c -I../../Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/F0xx/Inc -I../../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../Drivers/CMSIS/Include -I../../Drivers/CMSIS/DSP/Include -Ofast -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/hall_speed_pos_fdbk_sixstep.d" -MT"MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/hall_speed_pos_fdbk_sixstep.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/hall_speed_pos_fdbk_sixstep.o"
arm-none-eabi-gcc "../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/inrush_current_limiter.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DARM_MATH_CM0 -DUSE_HAL_DRIVER -DSTM32F031x6 -c -I../../Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc -I../../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Inc -I../../MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/F0xx/Inc -I../../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../../Drivers/CMSIS/Include -I../../Drivers/CMSIS/DSP/Include -Ofast -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/inrush_current_limiter.d" -MT"MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/inrush_current_limiter.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/inrush_current_limiter.o"
make: *** [MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/subdir.mk:154: MCSDK_v6.4.1-Full/MotorControl/MCSDK/MCLib/Any/Src/esc.o] Error 1
2025-11-21 8:56 PM - edited 2025-11-21 8:57 PM
Please generate the code in MC Workbench, and once it is completed, take a screenshot and share it with me. Also, ensure that you are logged in to your STM account so that all required firmware packages and updates are properly installed. After you send the screenshot, I will review it. I suspect the code may not be generating properly, possibly due to missing or incomplete firmware packages.
2025-11-24 2:56 AM
Thanks, it seems to be the issue, but I don't know which packages are missing. Generation completes without any errors. I had to strip the log to fit into the 30k characters limit.
In the generated folder, STM32CubeIDE/Middlewares/MotorControl is empty. These files may be in the folder MCSDK_v6.4.1-Full/Motorcontrol. That's what I copied in the previous attempt into the Middlewares, but I still encountered missing linked files. If You cannot figure it out what is missing, I think I will uninstall and wipe the whole STM32CubeMX/IDE/Programmer toolchain, and I will try to reinstall everything from scratch.
2025-11-24 11:44:18,064 DEBUG [WB_to_MX.run] Targeted MCU family = F0
2025-11-24 11:44:18,076 DEBUG [WB_to_MX.run] Minimum associated CubeMx to the `6.0.0-a0` targeted MCU family is `F0`
2025-11-24 11:44:34,750 DEBUG [EnvironmentChecker.checkPack] STM32CubeMX.Version: 6.15.0-RC4
2025-11-24 11:44:34,754 DEBUG [RetrieveFirmwareVersion.from_zip] Trying to read Firmware version from zipped version Pack: C:\Program Files (x86)\STMicroelectronics\MC_SDK_6.4.1\Utilities\PC_Software\STMCWB\assets\MotorControlPack\MotorControl.zip
2025-11-24 11:44:34,797 DEBUG [RetrieveFirmwareVersion.minimum_supporte_version] minimum_supporte_version MotorControlFirmware.Version: 6.4.1-RC1-Full
2025-11-24 11:44:34,797 DEBUG [PackInfoFactory.deploy_MCPack_to_MxRepo] Deployment strategy class: VersionedFolderStyle_MCPackDeployer
2025-11-24 11:44:34,798 DEBUG [PackInfoFactory.deploy_MCPack_to_MxRepo] Expected MC Pack 6.4.1-Full already deployed
2025-11-24 11:44:34,816 DEBUG [DataSetUpdater.update] Updating data set
2025-11-24 11:44:34,817 DEBUG [DataSetUpdater.update] Update done
2025-11-24 11:44:34,818 INFO [IocGenerator.logModulesVersionInfo] Version info:
2025-11-24 11:44:34,832 INFO [IocGenerator.logModulesVersionInfo] MC Workbench : 6.4.1
2025-11-24 11:44:34,832 INFO [IocGenerator.logModulesVersionInfo] WB_to_Mx : 6.4.1-RC1-Full.template-25-05-06
2025-11-24 11:44:34,833 INFO [IocGenerator.logModulesVersionInfo] STM32CubeMX : 6.15.0
2025-11-24 11:44:34,833 INFO [IocGenerator.logModulesVersionInfo] MC Firmware Library: 6.4.1-Full
2025-11-24 11:44:34,834 INFO [IocGenerator.logModulesVersionInfo]
Generation options:
2025-11-24 11:44:34,834 INFO [IocGenerator.logModulesVersionInfo] Target Toolchain : ST STM32CubeIDE
2025-11-24 11:44:34,834 INFO [IocGenerator.logModulesVersionInfo] Target Driver : HAL - Hardware Abstraction Layer
2025-11-24 11:44:34,835 INFO [IocGenerator.logModulesVersionInfo] Target STM32 FW : 1.11.5
2025-11-24 11:44:34,836 DEBUG [IocGenerator.process] C:\Users\PeterThiering\.st_workbench\projects\SPIN_TEST_NEW2\SPIN_TEST_NEW2.ioc ioc file: Generating
2025-11-24 11:44:34,837 DEBUG [IocGenerator.createOutput] Generating file from template templates\wb_ioc_template.ftl
2025-11-24 11:44:35,683 DEBUG [IocGenerator.process] ioc file C:\Users\PeterThiering\.st_workbench\projects\SPIN_TEST_NEW2\SPIN_TEST_NEW2.ioc Generated
2025-11-24 11:44:35,687 INFO [LineInfo_to_exitCode.log_LineInfo] C:\Users\PeterThiering\.st_workbench\projects\SPIN_TEST_NEW2\SPIN_TEST_NEW2.ioc ioc: Generated
2025-11-24 11:44:35,738 INFO [Wb2MxProcess.lambda$copyFolder$e7a869af$1] Folder Copied: C:\Users\PeterThiering\.st_workbench\projects\SPIN_TEST_NEW2\ftl
2025-11-24 11:44:35,773 INFO [extSettings.lambda$writeContentToFile$f5919002$1] Generated C:\Users\PeterThiering\.st_workbench\projects\SPIN_TEST_NEW2\.extSettings
2025-11-24 11:44:35,779 INFO [Wb2MxProcess.lambda$run$$19]
Started STM32CubeMX for final c-code generation
2025-11-24 11:44:35,792 DEBUG [CubeMxRunner.create_code_generation_script_for] Generated CubeMx script file: C:\Users\PETERT~1\AppData\Local\Temp\WB_to_Mx-spintestnew-14885524266743250213.script
2025-11-24 11:44:36,591 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,587 [INFO] MicroXplorer:98 - [MX] MX Start == 463119937465100
2025-11-24 11:44:36,592 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,591 [INFO] MicroXplorer:653 - Detected Java Version = 21.0.3
2025-11-24 11:44:36,595 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,594 [INFO] ApplicationProperties:184 - Using Application install path: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX
2025-11-24 11:44:36,614 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,614 [INFO] DbMcusXml:78 - Set database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/mcu/
2025-11-24 11:44:36,615 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,614 [INFO] ApiDb:274 - Set plugin database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/boardmanager/
2025-11-24 11:44:36,618 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,618 [INFO] McuFinderGlobals:63 - Set McuFinder mode to 1 (CubeMX integrated)
2025-11-24 11:44:36,636 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,636 [INFO] ApiDb:250 - Set database path to: C:\Users\PeterThiering\.stmcufinder\plugins\mcufinder//mcu/
2025-11-24 11:44:36,638 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,638 [INFO] DbMcusAds:125 - Set database path to: C:\Users\PeterThiering\.stmcufinder\plugins\mcufinder//mcu/
2025-11-24 11:44:36,651 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,651 [INFO] CrossReferenceDbSqlite:203 - Set database path to: C:\Users\PeterThiering\.stmcufinder\plugins\mcufinder//mcu/cs/
2025-11-24 11:44:36,789 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,788 [INFO] RulesReader:64 - Compatibility file has been processed (317 Rules)
2025-11-24 11:44:36,821 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:36,821 [INFO] STM32CubeMX:60 - Starting STM32CubeMX
2025-11-24 11:44:37,162 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,162 [INFO] MainPanel:274 - HeapMemory: 50331648
2025-11-24 11:44:37,359 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,359 [INFO] DbMcusXml:78 - Set database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/mcu/
2025-11-24 11:44:37,360 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,359 [INFO] ApiDb:274 - Set plugin database path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/boardmanager/
2025-11-24 11:44:37,360 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,360 [INFO] ApiDb:261 - Set plugin images path to: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\\db\/plugins/mcufinder/images/
2025-11-24 11:44:37,361 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,361 [INFO] ApiDb:250 - Set database path to: C:\Users\PeterThiering\.stmcufinder\plugins\mcufinder//mcu/
2025-11-24 11:44:37,361 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,361 [INFO] DbMcusAds:125 - Set database path to: C:\Users\PeterThiering\.stmcufinder\plugins\mcufinder//mcu/
2025-11-24 11:44:37,363 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,363 [INFO] CrossReferenceDbSqlite:203 - Set database path to: C:\Users\PeterThiering\.stmcufinder\plugins\mcufinder//mcu/cs/
2025-11-24 11:44:37,385 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,384 [INFO] ApplicationProperties:184 - Using Application install path: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX
2025-11-24 11:44:37,386 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,386 [INFO] PluginManage:196 - Search for loadable plugins [exclusion list=, ]
2025-11-24 11:44:37,389 DEBUG [LineInfo_to_exitCode.log_LineInfo] 2025-11-24 11:44:37,388 [INFO] PluginManage:310 - Check plugin analytics
2025-12-02 11:48 PM
Dear Members,
I've finally got some time to reinstall the whole STM32Cube environment. After carefully making backups of the previous projects, then uninstalling, and wiping all files, workpspaces, and packages, then reinstalling the newest version of everything from scratch, the default project compiles as a charm for the first click.
I don't have an idea what was broken. I think, that after several version upgrades, and package installations, something went wrong in the Cube firmware package definitions.
Thanks for Your patience.