2025-03-07 12:57 AM
I need to add the BSP libraries for the STM32H735G-DK board to enable display functionality. I have downloaded the STM32CubeH7 package and navigated to the Driver folder, where I selected my board and found the necessary BSP libraries.
However, when I open STM32CubeIDE, go to Project Properties → C/C++ General, and attempt to add the BSP folder path, the IDE does not recognize the libraries. Instead, I only see the _htmresc file within the folder. Normally, when I open the directory manually, the libraries are present, but they do not appear within the IDE.
Solved! Go to Solution.
2025-03-12 1:01 AM
Hello @zaidmoha;
For you project bsp32, I tested and you missed step4 "generate code" after enabling DMA2D.
Also for step 8, you forgot to keep "stm32h735g_discovery_errno.h" and "stm32h735g_discovery_conf_template.h"
For step9, you messed to change the name file "stm32h735g_discovery_conf_template.h" to "stm32h735g_discovery_conf.h"
Please use the same format for include path shared in step 13. it is recommended to use “/” and not the “\” in the paths.
I've corrected your project and you can find it the attachment.
Are you testing my BSP project? I think it is working well and the steps for including BSP drivers are all detailed.
Thank you for your contribution in STCommunity.
Please click on Accept as Solution on the reply which solved your issue or answered your question.
Kaouthar
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.
2025-03-07 5:08 AM
Hello @zaidmoha and welcome to the community;
I recommend you to look at this FAQ: How to add a BSP to an STM32CubeIDE project
STMicroelectronics offers BSPs (Board Support Packages) for all STM32 Evaluation and Nucleo boards as well as Discovery Kits. In this article we will see how to add a BSP to your STM32CubeIDE project.
I hope this help you.
Thank you.
Kaouthar
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.
2025-03-07 5:35 AM
Thank you for your response, much appreciated @KDJEM.1 . I have followed the steps as described in the article, but I am still unable to get it to work. Could you provide me with the correct download link for the BSP of my STM32H735G-DK board? The package I downloaded, cubeh7, does not contain the Inc and Src folders.
2025-03-07 6:13 AM - edited 2025-03-11 3:56 AM
Hello @zaidmoha;
You can download the STM32CubeH7 via STM32CubeH7/Projects at master · STMicroelectronics/STM32CubeH7 · GitHub.
In the STM32CubeH7 directory go to the Drivers directory to find the BSP
Now copy this directory and paste it into the Drivers folder of your Project in the other window.
Delete the rest of the folder and keep only "Components" and "STM32H735G-DK" ones which are relative to the STM32H735G-DK board.
Now go to the Components directory and keep only the folder used in your project.
For example if you need to use only the LCD you need to keep in the Components folder only "Common" Folder and keep only the LCD drivers.
In the STM32H735G-DK, For display example, you can keep needs files as we won't use all of the features of the board.
You can get inspired from BSP example in STM32CubeH7 package under this path "STM32Cube\Repository\STM32Cube_FW_H7_V1.12.1\Projects\STM32H735G-DK\Examples\BSP"
Thank you.
Kaouthar
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.
2025-03-07 7:26 AM
hi @KDJEM.1 , Is it normal that when I download the master ZIP file and navigate to drivers - BSP - STM32H735G-DK, the folder appears empty? However, when I check online, I see that the libraries should be inside.
2025-03-10 12:58 AM
Hello @zaidmoha,
Could you please refer to this FAQ to download STM32Cube packages from GitHub correctly: Downloading STM32Cube packages from GitHub correctly - STMicroelectronics Community.
Also you can download the STM32CubeH7 from STM32CubeMX or from here.
Thank you.
Kaouthar
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.
2025-03-10 1:09 AM
Hello @KDJEM.1 , I really appreciate your availability, but i checked, and it shows me that the packages are already installed.
2025-03-10 2:18 AM
Hello @zaidmoha,
Thank you for updating this post and glad to know that the STM32CubeH7 is already installed.
Now, I recommend you to refer to my replies and the steps shared in my comments to add the BSP drivers.
If you get any build error, please don't hesitate to share the error and your project.
Thank you.
Kaouthar
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.
2025-03-10 4:29 AM
2025-03-10 4:51 AM - edited 2025-03-10 4:51 AM
Hello @zaidmoha;
Please share your project, as I mentioned in my latest reply.
Make sure that you add the include paths for BSP drivers.
Thank you.
Kaouthar
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.