AnsweredAssumed Answered

STM32F769I-Discovery BSP Example broken

Question asked by john doe on Jan 12, 2017
Latest reply on Jan 12, 2017 by Clive One

I should not have to edit a conf file to build an example specific to the hardware, but ok

 

bug #1

 

Building file: /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.c Invoking: MCU GCC Compiler /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Projects/STM32F769I-Discovery/Examples/BSP/SW4STM32/STM32769I-Discovery/Debug arm-none-eabi-gcc -mthumb -mfloat-abi=soft -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"Utilities/lcd_log.d" -MT"Utilities/lcd_log.o" -o "Utilities/lcd_log.o" "/Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.c" In file included from /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.c:51:0: /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.h:44:26: fatal error: lcd_log_conf.h: No such file or directory #include "lcd_log_conf.h" ^ compilation terminated. make: *** [Utilities/lcd_log.o] Error 1 12:17:47 Build Finished (took 2s.37ms)

 

so, ok, I edit the conf file and change

#include "stm32xxx_eval_lcd.h" /* replace 'stm32xxx' with your EVAL board name, ex: stm324x9i_eval_lcd.h */

to

#include "stm32f769i_discovery_lcd.h"

 

which yields bug #2:

Building file: /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.c
Invoking: MCU GCC Compiler
/Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Projects/STM32F769I-Discovery/Examples/BSP/SW4STM32/STM32769I-Discovery/Debug
arm-none-eabi-gcc -mthumb -mfloat-abi=soft -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"Utilities/lcd_log.d" -MT"Utilities/lcd_log.o" -o "Utilities/lcd_log.o" "/Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.c"
In file included from /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.h:44:0,
                 from /Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log.c:51:
/Users/john/STM32Cube/Repository/STM32Cube_FW_F7_V1.5.1/Utilities/Log/lcd_log_conf.h:51:39: fatal error: stm32f769i_discovery_lcd.h: No such file or directory
 #include "stm32f769i_discovery_lcd.h"
                                       ^
compilation terminated.
make: *** [Utilities/lcd_log.o] Error 1

 

12:23:24 Build Finished (took 1s.252ms)

Outcomes