STM32N6570-DK – CubeMX not generating required LCD BSP files causing LTDC build errors
- February 28, 2026
- 2 replies
- 267 views
Hi ,
I am creating an LCD test project for the STM32N6570-DK using STM32CubeMX and STM32CubeIDE.
I have started the cube mx project by selecting 'Access to board selector' menu from the cube mx. After enabling the LCD (LTDC) peripheral and generating the project, the build fails because required BSP files are missing in workspaces.
The error observed is:
fatal error: stm32n6570_discovery_conf.h: No such file or directory
#include "stm32n6570_discovery_conf.h"
The error is caused by:
#include "stm32n6570_discovery_conf.h"
#include "stm32n6570_discovery_lcd.h"
#include "stm32_lcd.h"
However, CubeMX does not generate or populate the required BSP LCD files and dependencies automatically. Fixing one missing file leads to additional LCD-related build errors, indicating incomplete code generation.
Please let me know solution for this other than copy in all the required files manually. I looking for solution related to stm cube mx.
