cancel
Showing results for 
Search instead for 
Did you mean: 

BSP example code generation issue

theelectricguy
Associate

Hi,

I am currently encountering an issue with STM32CubeMX (v6.12.1) when trying to generate the sample BSP code for the STM32H755ZI-6U (Nucleo-H755ZI-Q development board). Specifically, the usual pop-up prompt to select BSP drivers for demonstration code is no longer appearing when I create a new project.

This issue started after I installed STM32CubeIDE alongside STM32CubeMX on my system (Windows 11) to compare the workflows between STM32CubeIDE and VS Code. At that point, I made modifications to some library files, particularly the CMSIS-DSP libraries, which seems to have triggered the problem. Prior to this, the BSP code generation was working correctly.

I have tried reinstalling STM32CubeMX, and I am currently using MCU package version 1.11.2, but the issue persists. 

Additionally, I have noticed that the BSP dropdown is missing from the pinout configuration in STM32CubeMX. However, the BSP dependency files are present in the repository at the installation location, which suggests that the files are available but not properly recognized by the tool.

This further complicates the situation, and I am unsure if this is related to the changes I made to the library files or if there is an issue with the STM32CubeMX configuration itself. Any advice on how to restore BSP code generation or resolve this missing dropdown issue would be greatly appreciated.

Sam

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @theelectricguy 

After checking the CubeMX 6.12.1 

GhofraneGSOURI_0-1728556149650.png

 

GhofraneGSOURI_1-1728556215038.png

 

I suggest to clean Installation:
Completely uninstall both STM32CubeMX and STM32CubeIDE. Make sure to remove any residual files or configurations.
Reinstall STM32CubeMX (without STM32CubeIDE for now) and verify if the BSP code generation functionality returns.
If the issue is resolved, you can then consider reinstalling STM32CubeIDE and checking if the problem reoccurs.

THX

Ghofrane

View solution in original post

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @theelectricguy 

After checking the CubeMX 6.12.1 

GhofraneGSOURI_0-1728556149650.png

 

GhofraneGSOURI_1-1728556215038.png

 

I suggest to clean Installation:
Completely uninstall both STM32CubeMX and STM32CubeIDE. Make sure to remove any residual files or configurations.
Reinstall STM32CubeMX (without STM32CubeIDE for now) and verify if the BSP code generation functionality returns.
If the issue is resolved, you can then consider reinstalling STM32CubeIDE and checking if the problem reoccurs.

THX

Ghofrane