Tag: openocd

STM32CubeF7 BSP LCD尝试

我正在尝试使用STM32CubeF7的BSP库在stm32f769i-disco的LED上显示一个字符串。 然而,没有任何反应。 这是代码: #include “stm32f7xx_hal.h” #include “stm32f769i_discovery.h” #include “stm32f769i_discovery_lcd.h” #include “stm32f7xx.h” #include char str[] = “Hello from BSP LCD demo!”; void LCDInit() { // Initialize the LCD using the BSP_LCD_Init() function. BSP_LCD_Init(); // Select the LCD layer to be used using the BSP_LCD_SelectLayer() function. //BSP_LCD_SelectLayer(0); BSP_LCD_LayerDefaultInit(LTDC_DEFAULT_ACTIVE_LAYER, LCD_FB_START_ADDRESS); BSP_LCD_SelectLayer(LTDC_DEFAULT_ACTIVE_LAYER); // Enable the LCD display using the […]