AnsweredAssumed Answered

STM32L1xx Discovery Example Project

Question asked by Marty.Benjamin on May 8, 2017
Latest reply on May 10, 2017 by Imen D

I'm currently trying to compile the STM32L1xx Discovery Board Example Project with the Dispaly driving, current meassurement and Touch Bar sensing.


I tried to import the Project in TrueSTUDIO on Windows and Linux. Both doesn't work. on Linux I get the following Error on compiling:

20:54:30 **** Rebuild of configuration Debug for project STM32L152RB(STM32L-Discovery) ****
Info: Internal Builder is used for build
arm-atollic-eabi-gcc -c -mthumb -mcpu=cortex-m3 -std=gnu11 -DUSE_STDPERIPH_DRIVER -DSTM32L1XX_MD -I..\..\..\ -I..\..\..\inc -I..\..\..\..\..\Libraries\CMSIS\Include -I..\..\..\..\..\Libraries\CMSIS\Device\ST\STM32L1xx\Include -I..\..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\inc -I..\..\..\..\..\Utilities\STM32L-DISCOVERY -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mlong-calls -Wno-pointer-sign -Wno-missing-braces -Wformat=0 -o StdPeriph_Driver/stm32l1xx_syscfg.o ../../../../../Libraries/STM32L1xx_StdPeriph_Driver/src/stm32l1xx_syscfg.c
../../../../../Libraries/STM32L1xx_StdPeriph_Driver/src/stm32l1xx_syscfg.c:70:30: fatal error: stm32l1xx_syscfg.h: No such file or directory
 #include "stm32l1xx_syscfg.h"
compilation terminated.

20:54:30 Build Finished (took 71ms)


How can I compile the Project? My favourite method would be a "universal" Makefile. But ST doesn't provide a Makefile?