cancel
Showing results for 
Search instead for 
Did you mean: 

How to add BSP drivers for a STM32F769I-DISCO project

Cwoo.1
Associate II

Thread split from this post.

I am using STM32CubeIDE version 2.1.0.

CubeMX generates a project for STM32F769I-DISCO without BSP, but the BSP for this board clearly exists in STM32CubeF7 and is used in official examples.

Is there a way to add BSP directly from CubeIDE?

If not, what is the correct way to integrate BSP into the project?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
MOBEJ
ST Employee

Hello @Cwoo.1 , 

You can get the BSP drivers integrated automatically by starting from one of the Cube firmware package examples and then opening that project in STM32CubeIDE.

Example procedure

  1. Install the corresponding Cube firmware package (e.g. STM32CubeF7).
  2. Inside the package, go to the example for your board. For instance:
    STM32Cube_FW_F7_Vx.x.x/Projects/STM32769I-Discovery/Examples/BSP/
  3. Pick one BSP example folder and import the project into STM32CubeIDE:
    • File → Open Projects from File System… (or Import → Existing Projects into Workspace)
    • Point to the example folder and finish the import.
  4. STM32CubeIDE will read the existing .project and project structure.
    All BSP drivers under Drivers/BSP (Components + board folder) are added automatically to the project, as shown in your screenshot, and the project compiles without any additional manual BSP configuration.
     
     

Screenshot 2026-04-07 103215.png

So, instead of adding BSP “from CubeIDE”, you start from an example that already includes BSP, open it in STM32CubeIDE, and the IDE integrates all BSP sources and paths for you automatically.

Br

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
mƎALLEm
ST Employee

Hello,

You need to tell what problems you've faced when you added the BSP drives to your project.

If you have errors you need to share them here.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
ST Employee

Hello @Cwoo.1 

You have to integrate the BSP drivers manually to your project.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
MOBEJ
ST Employee

Hello @Cwoo.1 , 

You can get the BSP drivers integrated automatically by starting from one of the Cube firmware package examples and then opening that project in STM32CubeIDE.

Example procedure

  1. Install the corresponding Cube firmware package (e.g. STM32CubeF7).
  2. Inside the package, go to the example for your board. For instance:
    STM32Cube_FW_F7_Vx.x.x/Projects/STM32769I-Discovery/Examples/BSP/
  3. Pick one BSP example folder and import the project into STM32CubeIDE:
    • File → Open Projects from File System… (or Import → Existing Projects into Workspace)
    • Point to the example folder and finish the import.
  4. STM32CubeIDE will read the existing .project and project structure.
    All BSP drivers under Drivers/BSP (Components + board folder) are added automatically to the project, as shown in your screenshot, and the project compiles without any additional manual BSP configuration.
     
     

Screenshot 2026-04-07 103215.png

So, instead of adding BSP “from CubeIDE”, you start from an example that already includes BSP, open it in STM32CubeIDE, and the IDE integrates all BSP sources and paths for you automatically.

Br

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.