2018-05-24 03:42 AM
Hello!
I am trying to compile the BSP example provided in STM32Cube_FW_F7_V1.11.0/Projects/STM32746G-Discovery/Examples/BSP , but I get the following error: src/log.c:38:10: fatal error: lcd_log.h: No such file or directory
There is a comment block (in the lcd_log_conf.h) which says:
******************************************************************************
* @file BSP/Inc/lcd_log_conf.h
* @author MCD Application Team
* @brief lcd_log configuration template file.
* This file should be copied to the application folder and modified
* as follows:
* - Rename it to 'lcd_log_conf.h'.
* - Update the name of the LCD driver's header file, depending on
* the EVAL board you are using, see line40 below (be default this
* file will generate compile error unless you do this modification).
******************************************************************************
I don't know what name should I update, since there is nothing really on line 40 and the file included:
&sharpinclude
'stm32746g_discovery_lcd.h'
Where can I find the missing header file lcd_log.h?
#bsp #stm32-stm32cube #f7 #exampleSolved! Go to Solution.
2018-05-24 03:49 AM
look in your Cube repository in Utilities/Log. you'll find a lcd_log_conf_template.h to use.
for example, STM32Cube/Repository/STM32Cube_FW_L4_V1.11.0/Utilities/Log/
2018-05-24 03:49 AM
look in your Cube repository in Utilities/Log. you'll find a lcd_log_conf_template.h to use.
for example, STM32Cube/Repository/STM32Cube_FW_L4_V1.11.0/Utilities/Log/
2018-05-24 05:57 AM
Aaah okay, I would never guess where to find it >.<
I had to include the files lcd_log.c , lcd_log.h and lcd_log_conf.h to my project, then it works well
Thanks for help!