Discovery F7 BSP Drivers for display, stm32CubeMx, SW4
Hello, I am having quite some trouble using the BSP Drivers of my STM32F746G_Discovery.
I found several tutorials with uVision and IAR, but I use SW4.
I tried to create a project with CubeMX, unassigned the pis, then added LTDC and DMA2D (ehcih I think it is used by the display drivers).
Generated the code, imported and tried to add the BSP Drivers including the two directories
C:\Users\me\STM32Cube\Repository\STM32Cube_FW_F7_V1.6.0\Drivers\BSP\STM32746G-Discovery
and
C:\Users\me\STM32Cube\Repository\STM32Cube_FW_F7_V1.6.0\Drivers\BSP\Components\rk043fn48h
Then added these includes :
- include “stm32746g_discovery.h”
- include “stm32746g_discovery_lcd.h”
- include “stm32746g_discovery_sdram.h”
- include “rk043fn48h.h”
then I get an error that says it cannot find the SDRAM typedef structure... fair enough, so I add
- include “stm32f7xx_hal_sdram.h”
and then I get
unknown type name ‘UART_HandleTypeDef’
UART??? where am I using the UART?
I think I am doing it completely wrong.
What am I supposed to do if I want to add display support (possibly using the BSP drivers) for my project?
Any suggestions?
Thanks!
Francesco