STM32CubeMX2 not working as expected with Keil Studio IDE
Hi everyone,
I'm not sure how many of you are already working with the STM32C5, STM32CubeMX2, and Keil Studio, but I'm experiencing some issues with this setup. I know that both STM32CubeMX2 and Keil Studio are relatively new products, so some issues are to be expected. However, I'd be interested to know whether anyone else is experiencing the same problems.
I'm using STM32CubeMX2 to create a project for the NUCLEO-C562RE board. I then generate the IDE project in Open-CMSIS format. Once the generation is complete, I open the project in Keil Studio. So far, everything works fine: I can open, build, and debug the project without any problems.
However, when I navigate to CMSIS → Components → STMicroelectronics:Device Codegen Code@2.0.0 and click Run Configuration Generator, I get the following error:
executing generator 'stm32c5xx_hal_mx2codegen' for context 'test.debug_AC6+NUCLEO-C562RE' failedWhen I run the generator manually in verbose mode, I get the following error:
csolution run c:\git\nucleo\test_open-cmsis\test.csolution.yml -g stm32c5xx_hal_mx2codegen -a NUCLEO-C562RE --verbose
C:/git/nucleo/test_open-cmsis/tmp/test.debug_AC6+NUCLEO-C562RE.cbuild-gen.yml - info csolution: file is already up-to-date
info csolution: generator 'stm32c5xx_hal_mx2codegen' for context 'test.debug_AC6+NUCLEO-C562RE' reported:
[GEN-ERROR] codegen not found: STOP
error csolution: executing generator 'stm32c5xx_hal_mx2codegen' for context 'test.debug_AC6+NUCLEO-C562RE' failedI can't tell whether this is an issue on my end (e.g., a missing configuration or something similar), a problem with STM32CubeMX2, or an issue with Arm Keil Studio.
I'd appreciate any insights that might help me narrow down the cause or point me in the right direction.
Thanks in advance!
