AnsweredAssumed Answered

Problems with STM32F746 Discovery repository template

Question asked by mich.lei on May 23, 2017
Latest reply on May 26, 2017 by mich.lei

Keil gives odd errors or warnings.

#include "main.h" gives an error about missing file Cmsis_armcc.h, but is not missing and the compilation continues. The project should compile correctly without modifications. At least other projects from repository seem to do so.

 

This code in the main.c has problems says Keil:

../Src/main.c(94): warning: #223-D: function "BSP_LCD_Init" declared implicitly
BSP_LCD_Init ();
../Src/main.c(95): warning: #223-D: function "BSP_LCD_DisplayChar" declared implicitly
BSP_LCD_DisplayChar((uint16_t*) 44, (uint16_t*) 66, (uint8_t*) 'h');

 

  /* Add your application code here
     */

BSP_LCD_Init ();
BSP_LCD_DisplayChar((uint16_t*) 44, (uint16_t*) 66, (uint8_t*) 'h');
  /* Infinite loop */
     
  while (1)
  {
                    BSP_LCD_DisplayChar((uint16_t*) 44, (uint16_t*) 66, (uint8_t*) 'h');
  }

How should those functions be called, especially because there is no text on the screen. LCD init works because the LCD goes dark.

Outcomes