Jump to content

Mutiple definitions uGFX + Eclipse + STM32L1


tombalabomba

Recommended Posts

Hi!

First of all I have to apologize, the question I have exposes me to be quite a newbie.

I'm using openSTM system workbench (Neon.3 Release (4.6.3)) and desperately try to get a bare-metal application using a STM32L1 nucleo board (CubeMX HAL) and ILI9225 TFT running.

Since this IDE is essentially based on Eclipse I followed the guide https://wiki.ugfx.io/index.php/Using_Eclipse to set up the project. So I did the following steps.

  • Library Import : demo -> Import ugfx
  • Configure Include Paths : demo -> properties -> C/C++ General -> Paths and Symbols -> Includes : adding /demo/ugfx to all languages and configurations
  • Specify Sources : demo -> properties -> C/C++ General -> Paths and Symbols -> Source Location : adding /demo/ugfx, filter everything except /demo/ugfx/src/gfx_mk.c
  • Copying /demo/ugfx/ gfxconf.example.h to /demo/inc/gfxconf.h, enabling raw32 by #define GFX_USE_OS_RAW32  GFXON
  • Copying and modifing /demo/ugfx/boards/base/STM32F439i-Eval/CubeHal/stm32f439i_raw32_ugfx.c to /demo/src/stm32l1152RE_raw32_ugfx.c
  • Including "gfx.h" in and calling gfxInit() in main.c

In stm32l1152RE_raw32_ugfx.c there is no code specified in _init(), but it should compile without errors. Unfortunately, it doesn't since I get the following error message. 

Quote

23:41:21 **** Incremental Build of configuration Debug for project demo ****
make -j4 all
Building file: ../startup/startup_stm32l152xe.s
Invoking: MCU GCC Assembler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-as -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -g -o "startup/startup_stm32l152xe.o" "../startup/startup_stm32l152xe.s"
Finished building: ../startup/startup_stm32l152xe.s
 
Building target: demo.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -T"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "demo.elf" @"objects.list"   -lm
src/stm32l1152RE_raw32_ugfx.o: In function `_init':
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug/../src/stm32l1152RE_raw32_ugfx.c:13: multiple definition of `_init'
/opt/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.16.0.201807130628/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crti.o:(.init+0x0): first defined here
collect2: error: ld returned 1 exit status
makefile:37: recipe for target 'demo.elf' failed
make: *** [demo.elf] Error 1

So it looks there is a problem with multiple definitions of void _init(void). I did a grep on my working directory and the only two matches was /demo/ugfx/boards/base/STM32F439i-Eval/CubeHal/stm32f439i_raw32_ugfx.c and  /demo/src/stm32l1152RE_raw32_ugfx.c. Since the first is excluded from build I doubt that there is really a problem with multiple definitions here.

Has anyone faced a similar problem yet? Any help is kindly appreciated.

 

 

 

 

 

 

Link to comment
Share on other sites

Hi!

As mentioned, I modified the example code so that it fits to my CPU. Basically, the only difference to the example code in demo/ugfx/boards/base/STM32F439i-Eval/CubeHal/stm32f439i_raw32_ugfx.c is that the clock configuration is different to the Cortex M4 HAL.

 

//stm32l1152RE_raw32_ugfx.c


#include "gfx.h"

#if GFX_COMPAT_V2 && GFX_COMPAT_OLDCOLORS
	#undef Red
	#undef Green
	#undef Blue
#endif

#include "stm32l1xx_hal.h"

#if GFX_USE_OS_RAW32
	void _init(void)
	{
	}

	gTicks gfxSystemTicks(void)
	{
		return HAL_GetTick();
	}

	gTicks gfxMillisecondsToTicks(gDelay ms)
	{
		return ms;
	}
#endif

static void SystemClock_Config(void);

void Raw32OSInit(void)
{
    HAL_Init();

    SystemClock_Config();
}

/**
  * @brief  System Clock Configuration
  *         The system Clock is configured as follow : 
  *            System Clock source            = PLL (HSE)
  *            SYSCLK(Hz)                     = 32000000
  *            HCLK(Hz)                       = 32000000
  *            AHB Prescaler                  = 1
  *            APB1 Prescaler                 = 1
  *            APB2 Prescaler                 = 1
  *            HSE Frequency(Hz)              = 8000000
  *            PLLMUL                         = 12
  *            PLLDIV                         = 3
  *            VDD(V)                         = 3.3
  *            Main regulator output voltage  = Scale1 mode
  *            Flash Latency(WS)              = 1
  * @param  None
  * @retval None
  */
static void SystemClock_Config(void)
{
  RCC_ClkInitTypeDef RCC_ClkInitStruct;
  RCC_OscInitTypeDef RCC_OscInitStruct;

  /* Enable Power Control clock */
  __HAL_RCC_PWR_CLK_ENABLE();

  /* The voltage scaling allows optimizing the power consumption when the device is 
     clocked below the maximum system frequency, to update the voltage scaling value 
     regarding system frequency refer to product datasheet.  */
  __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);

  /* Enable HSE Oscillator and activate PLL with HSE as source */
  RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
  RCC_OscInitStruct.HSEState = RCC_HSE_ON;
  RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
  RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
  RCC_OscInitStruct.PLL.PLLMUL = 12;
  RCC_OscInitStruct.PLL.PLLDIV = 3;
  HAL_RCC_OscConfig(&RCC_OscInitStruct);

  //HAL_PWREx_EnableOverDrive();
  
  /* Select PLL as system clock source and configure the HCLK, PCLK1 and PCLK2 
     clocks dividers */
  RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2);
  RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
  RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
  RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
  RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
  HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1);
}

 

As I mentioned above I did a grep on my working directory searching the pattern "_init(void)". Besides stm32l1152RE_raw32_ugfx.c the only matching location is /ugfx/boards/base/STM32F439i-Eval/CubeHal/stm32f439i_raw32_ugfx.c. So I commented void _init(void) in stm32f439i_raw32_ugfx.c but the error still persists. Additionally I get a bunch of new compile errors since a lot of HAL symbols used in stm32f439i_raw32_ugfx.c can not be resolved.

I really wonder how can this be since this file is exclude from build. Unfortunately, right clicking ->Resource Configuration->Exclude from Build doesn't change anything.

 

 

Link to comment
Share on other sites

On 03/01/2019 at 23:55, tombalabomba said:

/opt/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.16.0.201807130628/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crti.o:(.init+0x0): first defined here

I should have looked closer.The compiler says exactly where it found the second defenition of the init function. The gnu arm libraries already contain an _init function.

Just delete the _init() function from the stm32f439i_raw32_ugfx.c file.

Link to comment
Share on other sites

Hi!

This was already one of my thoughts. As I mentioned in my previous post commenting or deliting _init() in stm32f439i_raw32_ugfx.c doesn't fix the problem of getting the error of a multiple defined _init(). That seems odd to me since I'm pretty sure that there is no additional _init() defined in the sources. Additionally, I get now a lot of errors originating from non defined ST32F4 Hal symbols. This should not be the case since  stm32f439i_raw32_ugfx.c is excluded from build.

The fact that modification of stm32f439i_raw32_ugfx.c brings in this bunch of additional errors is an indication for me that the IDE is buggy. Apparently, source code exclusion doesn' t work out.

Link to comment
Share on other sites

5 hours ago, tombalabomba said:

As I mentioned in my previous post commenting or deliting _init() in stm32f439i_raw32_ugfx.c doesn't fix the problem of getting the error of a multiple defined _init().

Does the error change after you comment the _init() function in stm32f439i_raw32_ugfx.c? Anyway you should do a clean build to make sure there are no old binary files that get linked in.

5 hours ago, tombalabomba said:

Additionally, I get now a lot of errors originating from non defined ST32F4 Hal symbols.

Can you give the compiler output?

5 hours ago, tombalabomba said:

The fact that modification of stm32f439i_raw32_ugfx.c brings in this bunch of additional errors is an indication for me that the IDE is buggy. Apparently, source code exclusion doesn' t work out.

I doubt that the IDE is buggy. It's based on Eclipse which is a well known and widely used IDE. It can just be tricky to initially set up the project.

If you post your project I can take a look to see if something is wrongly configured.

Link to comment
Share on other sites

Hi!

Quote

Does the error change after you comment the _init() function in stm32f439i_raw32_ugfx.c? Anyway you should do a clean build to make sure there are no old binary files that get linked in.

The specific error of a multiple defined _init() function still persists. What changes that I get now the HAL erros additonally.

 

After project clean I get the following compiler output:

Quote

12:11:04 **** Build of configuration Debug for project demo ****
make -j4 all
Building file: ../ugfx/src/gfx_mk.c
Building file: ../startup/startup_stm32l152xe.s
Building file: ../src/main.c
Building file: ../src/stm32l1152RE_raw32_ugfx.c
Invoking: MCU GCC Compiler
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
Invoking: MCU GCC Compiler
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"src/stm32l1152RE_raw32_ugfx.d" -MT"src/stm32l1152RE_raw32_ugfx.o" -o "src/stm32l1152RE_raw32_ugfx.o" "../src/stm32l1152RE_raw32_ugfx.c"
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"ugfx/src/gfx_mk.d" -MT"ugfx/src/gfx_mk.o" -o "ugfx/src/gfx_mk.o" "../ugfx/src/gfx_mk.c"
Invoking: MCU GCC Assembler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-as -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -g -o "startup/startup_stm32l152xe.o" "../startup/startup_stm32l152xe.s"
Finished building: ../startup/startup_stm32l152xe.s
 
Building file: ../src/stm32l1xx_it.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"src/stm32l1xx_it.d" -MT"src/stm32l1xx_it.o" -o "src/stm32l1xx_it.o" "../src/stm32l1xx_it.c"
In file included from ../ugfx/src/gos/gos_mk.c:14:0,
                 from ../ugfx/src/gfx_mk.c:15:
../ugfx/src/gos/gos_raw32.c: In function '_gosInit':
../ugfx/src/gos/gos_raw32.c:32:13: warning: GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!
    COMPILER_WARNING("GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../ugfx/src/gdriver/gdriver.c:12:0,
                 from ../ugfx/src/gdriver/gdriver_mk.c:8,
                 from ../ugfx/src/gfx_mk.c:16:
../ugfx/src/gdriver/gdriver.h: At top level:
../ugfx/src/gdriver/gdriver.h:90:33: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
 typedef const struct GDriverVMT const GDriverVMTList[1];
                                 ^~~~~
Finished building: ../ugfx/src/gfx_mk.c
 
Building file: ../src/syscalls.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"src/syscalls.d" -MT"src/syscalls.o" -o "src/syscalls.o" "../src/syscalls.c"
Finished building: ../src/stm32l1152RE_raw32_ugfx.c
Finished building: ../src/main.c
 
Finished building: ../src/stm32l1xx_it.c
 
Building file: ../Utilities/STM32L1xx_Nucleo/stm32l1xx_nucleo.c
 
Building file: ../src/system_stm32l1xx.c
Invoking: MCU GCC Compiler
Building file: ../HAL_Driver/Src/stm32l1xx_hal.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"Utilities/STM32L1xx_Nucleo/stm32l1xx_nucleo.d" -MT"Utilities/STM32L1xx_Nucleo/stm32l1xx_nucleo.o" -o "Utilities/STM32L1xx_Nucleo/stm32l1xx_nucleo.o" "../Utilities/STM32L1xx_Nucleo/stm32l1xx_nucleo.c"
Invoking: MCU GCC Compiler
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"src/system_stm32l1xx.d" -MT"src/system_stm32l1xx.o" -o "src/system_stm32l1xx.o" "../src/system_stm32l1xx.c"
Finished building: ../src/syscalls.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_adc.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal.d" -MT"HAL_Driver/Src/stm32l1xx_hal.o" -o "HAL_Driver/Src/stm32l1xx_hal.o" "../HAL_Driver/Src/stm32l1xx_hal.c"
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_adc.d" -MT"HAL_Driver/Src/stm32l1xx_hal_adc.o" -o "HAL_Driver/Src/stm32l1xx_hal_adc.o" "../HAL_Driver/Src/stm32l1xx_hal_adc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_adc_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_adc_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_adc_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_adc_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_adc_ex.c"
Finished building: ../src/system_stm32l1xx.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_comp.c
Finished building: ../Utilities/STM32L1xx_Nucleo/stm32l1xx_nucleo.c
Invoking: MCU GCC Compiler
 
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_comp.d" -MT"HAL_Driver/Src/stm32l1xx_hal_comp.o" -o "HAL_Driver/Src/stm32l1xx_hal_comp.o" "../HAL_Driver/Src/stm32l1xx_hal_comp.c"
Building file: ../HAL_Driver/Src/stm32l1xx_hal_cortex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_cortex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_cortex.o" -o "HAL_Driver/Src/stm32l1xx_hal_cortex.o" "../HAL_Driver/Src/stm32l1xx_hal_cortex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_adc.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_crc.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_crc.d" -MT"HAL_Driver/Src/stm32l1xx_hal_crc.o" -o "HAL_Driver/Src/stm32l1xx_hal_crc.o" "../HAL_Driver/Src/stm32l1xx_hal_crc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_adc_ex.c
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_comp.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_cryp.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_cryp_ex.c
Invoking: MCU GCC Compiler
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_cortex.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_cryp_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_cryp_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_cryp_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_cryp_ex.c"
Invoking: MCU GCC Compiler
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_dac.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_cryp.d" -MT"HAL_Driver/Src/stm32l1xx_hal_cryp.o" -o "HAL_Driver/Src/stm32l1xx_hal_cryp.o" "../HAL_Driver/Src/stm32l1xx_hal_cryp.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_crc.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_dac.d" -MT"HAL_Driver/Src/stm32l1xx_hal_dac.o" -o "HAL_Driver/Src/stm32l1xx_hal_dac.o" "../HAL_Driver/Src/stm32l1xx_hal_dac.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_dac_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_dac_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_dac_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_dac_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_dac_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_cryp_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_dma.c
Invoking: MCU GCC Compiler
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_cryp.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_flash.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_dma.d" -MT"HAL_Driver/Src/stm32l1xx_hal_dma.o" -o "HAL_Driver/Src/stm32l1xx_hal_dma.o" "../HAL_Driver/Src/stm32l1xx_hal_dma.c"
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_flash.d" -MT"HAL_Driver/Src/stm32l1xx_hal_flash.o" -o "HAL_Driver/Src/stm32l1xx_hal_flash.o" "../HAL_Driver/Src/stm32l1xx_hal_flash.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_dac.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_flash_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_flash_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_flash_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_flash_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_flash_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_dac_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d" -MT"HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o" -o "HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o" "../HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_flash.c
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_dma.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_gpio.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_gpio.d" -MT"HAL_Driver/Src/stm32l1xx_hal_gpio.o" -o "HAL_Driver/Src/stm32l1xx_hal_gpio.o" "../HAL_Driver/Src/stm32l1xx_hal_gpio.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_i2c.c
Invoking: MCU GCC Compiler
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_flash_ex.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_i2c.d" -MT"HAL_Driver/Src/stm32l1xx_hal_i2c.o" -o "HAL_Driver/Src/stm32l1xx_hal_i2c.o" "../HAL_Driver/Src/stm32l1xx_hal_i2c.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_i2s.c
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c
Invoking: MCU GCC Compiler
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_irda.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_irda.d" -MT"HAL_Driver/Src/stm32l1xx_hal_irda.o" -o "HAL_Driver/Src/stm32l1xx_hal_irda.o" "../HAL_Driver/Src/stm32l1xx_hal_irda.c"
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_i2s.d" -MT"HAL_Driver/Src/stm32l1xx_hal_i2s.o" -o "HAL_Driver/Src/stm32l1xx_hal_i2s.o" "../HAL_Driver/Src/stm32l1xx_hal_i2s.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_gpio.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_iwdg.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_iwdg.d" -MT"HAL_Driver/Src/stm32l1xx_hal_iwdg.o" -o "HAL_Driver/Src/stm32l1xx_hal_iwdg.o" "../HAL_Driver/Src/stm32l1xx_hal_iwdg.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_irda.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_lcd.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_lcd.d" -MT"HAL_Driver/Src/stm32l1xx_hal_lcd.o" -o "HAL_Driver/Src/stm32l1xx_hal_lcd.o" "../HAL_Driver/Src/stm32l1xx_hal_lcd.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_i2s.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_nor.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_nor.d" -MT"HAL_Driver/Src/stm32l1xx_hal_nor.o" -o "HAL_Driver/Src/stm32l1xx_hal_nor.o" "../HAL_Driver/Src/stm32l1xx_hal_nor.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_i2c.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_opamp.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_opamp.d" -MT"HAL_Driver/Src/stm32l1xx_hal_opamp.o" -o "HAL_Driver/Src/stm32l1xx_hal_opamp.o" "../HAL_Driver/Src/stm32l1xx_hal_opamp.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_iwdg.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_opamp_ex.c
Invoking: MCU GCC Compiler
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_lcd.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_opamp_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_opamp_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_opamp_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_opamp_ex.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_pcd.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_pcd.d" -MT"HAL_Driver/Src/stm32l1xx_hal_pcd.o" -o "HAL_Driver/Src/stm32l1xx_hal_pcd.o" "../HAL_Driver/Src/stm32l1xx_hal_pcd.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_nor.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_pcd_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_pcd_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_pcd_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_pcd_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_pcd_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_opamp.c
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_opamp_ex.c
 
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_pwr.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_pwr.d" -MT"HAL_Driver/Src/stm32l1xx_hal_pwr.o" -o "HAL_Driver/Src/stm32l1xx_hal_pwr.o" "../HAL_Driver/Src/stm32l1xx_hal_pwr.c"
Building file: ../HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_pcd.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_rcc.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_rcc.d" -MT"HAL_Driver/Src/stm32l1xx_hal_rcc.o" -o "HAL_Driver/Src/stm32l1xx_hal_rcc.o" "../HAL_Driver/Src/stm32l1xx_hal_rcc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_pcd_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_pwr.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_rtc.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_rtc.d" -MT"HAL_Driver/Src/stm32l1xx_hal_rtc.o" -o "HAL_Driver/Src/stm32l1xx_hal_rtc.o" "../HAL_Driver/Src/stm32l1xx_hal_rtc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_rtc_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_rtc_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_rtc_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_rtc_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_rtc_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_rcc.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_sd.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_sd.d" -MT"HAL_Driver/Src/stm32l1xx_hal_sd.o" -o "HAL_Driver/Src/stm32l1xx_hal_sd.o" "../HAL_Driver/Src/stm32l1xx_hal_sd.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_smartcard.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_smartcard.d" -MT"HAL_Driver/Src/stm32l1xx_hal_smartcard.o" -o "HAL_Driver/Src/stm32l1xx_hal_smartcard.o" "../HAL_Driver/Src/stm32l1xx_hal_smartcard.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_rtc.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_spi.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_spi.d" -MT"HAL_Driver/Src/stm32l1xx_hal_spi.o" -o "HAL_Driver/Src/stm32l1xx_hal_spi.o" "../HAL_Driver/Src/stm32l1xx_hal_spi.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_rtc_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_spi_ex.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_spi_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_spi_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_spi_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_spi_ex.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_sd.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_sram.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_sram.d" -MT"HAL_Driver/Src/stm32l1xx_hal_sram.o" -o "HAL_Driver/Src/stm32l1xx_hal_sram.o" "../HAL_Driver/Src/stm32l1xx_hal_sram.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_smartcard.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_tim.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_tim.d" -MT"HAL_Driver/Src/stm32l1xx_hal_tim.o" -o "HAL_Driver/Src/stm32l1xx_hal_tim.o" "../HAL_Driver/Src/stm32l1xx_hal_tim.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_spi.c
 
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_spi_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_tim_ex.c
Building file: ../HAL_Driver/Src/stm32l1xx_hal_uart.c
Invoking: MCU GCC Compiler
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_tim_ex.d" -MT"HAL_Driver/Src/stm32l1xx_hal_tim_ex.o" -o "HAL_Driver/Src/stm32l1xx_hal_tim_ex.o" "../HAL_Driver/Src/stm32l1xx_hal_tim_ex.c"
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_uart.d" -MT"HAL_Driver/Src/stm32l1xx_hal_uart.o" -o "HAL_Driver/Src/stm32l1xx_hal_uart.o" "../HAL_Driver/Src/stm32l1xx_hal_uart.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_sram.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_usart.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_usart.d" -MT"HAL_Driver/Src/stm32l1xx_hal_usart.o" -o "HAL_Driver/Src/stm32l1xx_hal_usart.o" "../HAL_Driver/Src/stm32l1xx_hal_usart.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_tim_ex.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_hal_wwdg.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_hal_wwdg.d" -MT"HAL_Driver/Src/stm32l1xx_hal_wwdg.o" -o "HAL_Driver/Src/stm32l1xx_hal_wwdg.o" "../HAL_Driver/Src/stm32l1xx_hal_wwdg.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_uart.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_adc.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_adc.d" -MT"HAL_Driver/Src/stm32l1xx_ll_adc.o" -o "HAL_Driver/Src/stm32l1xx_ll_adc.o" "../HAL_Driver/Src/stm32l1xx_ll_adc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_adc.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_comp.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_tim.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_crc.c
Invoking: MCU GCC Compiler
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_comp.d" -MT"HAL_Driver/Src/stm32l1xx_ll_comp.o" -o "HAL_Driver/Src/stm32l1xx_ll_comp.o" "../HAL_Driver/Src/stm32l1xx_ll_comp.c"
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_crc.d" -MT"HAL_Driver/Src/stm32l1xx_ll_crc.o" -o "HAL_Driver/Src/stm32l1xx_ll_crc.o" "../HAL_Driver/Src/stm32l1xx_ll_crc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_crc.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_dac.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_dac.d" -MT"HAL_Driver/Src/stm32l1xx_ll_dac.o" -o "HAL_Driver/Src/stm32l1xx_ll_dac.o" "../HAL_Driver/Src/stm32l1xx_ll_dac.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_usart.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_dma.c
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_comp.c
Invoking: MCU GCC Compiler
 
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_dma.d" -MT"HAL_Driver/Src/stm32l1xx_ll_dma.o" -o "HAL_Driver/Src/stm32l1xx_ll_dma.o" "../HAL_Driver/Src/stm32l1xx_ll_dma.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_hal_wwdg.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_exti.c
Invoking: MCU GCC Compiler
Building file: ../HAL_Driver/Src/stm32l1xx_ll_fsmc.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_exti.d" -MT"HAL_Driver/Src/stm32l1xx_ll_exti.o" -o "HAL_Driver/Src/stm32l1xx_ll_exti.o" "../HAL_Driver/Src/stm32l1xx_ll_exti.c"
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_fsmc.d" -MT"HAL_Driver/Src/stm32l1xx_ll_fsmc.o" -o "HAL_Driver/Src/stm32l1xx_ll_fsmc.o" "../HAL_Driver/Src/stm32l1xx_ll_fsmc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_dac.c
 
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_dma.c
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_exti.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_i2c.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_i2c.d" -MT"HAL_Driver/Src/stm32l1xx_ll_i2c.o" -o "HAL_Driver/Src/stm32l1xx_ll_i2c.o" "../HAL_Driver/Src/stm32l1xx_ll_i2c.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_gpio.c
Invoking: MCU GCC Compiler
Building file: ../HAL_Driver/Src/stm32l1xx_ll_opamp.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_gpio.d" -MT"HAL_Driver/Src/stm32l1xx_ll_gpio.o" -o "HAL_Driver/Src/stm32l1xx_ll_gpio.o" "../HAL_Driver/Src/stm32l1xx_ll_gpio.c"
Invoking: MCU GCC Compiler
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_i2c.c
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_pwr.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_pwr.d" -MT"HAL_Driver/Src/stm32l1xx_ll_pwr.o" -o "HAL_Driver/Src/stm32l1xx_ll_pwr.o" "../HAL_Driver/Src/stm32l1xx_ll_pwr.c"
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_opamp.d" -MT"HAL_Driver/Src/stm32l1xx_ll_opamp.o" -o "HAL_Driver/Src/stm32l1xx_ll_opamp.o" "../HAL_Driver/Src/stm32l1xx_ll_opamp.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_gpio.c
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_pwr.c
 
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_rcc.c
Building file: ../HAL_Driver/Src/stm32l1xx_ll_rtc.c
Invoking: MCU GCC Compiler
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_rcc.d" -MT"HAL_Driver/Src/stm32l1xx_ll_rcc.o" -o "HAL_Driver/Src/stm32l1xx_ll_rcc.o" "../HAL_Driver/Src/stm32l1xx_ll_rcc.c"
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_rtc.d" -MT"HAL_Driver/Src/stm32l1xx_ll_rtc.o" -o "HAL_Driver/Src/stm32l1xx_ll_rtc.o" "../HAL_Driver/Src/stm32l1xx_ll_rtc.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_opamp.c
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_rcc.c
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_rtc.c
 
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_spi.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_spi.d" -MT"HAL_Driver/Src/stm32l1xx_ll_spi.o" -o "HAL_Driver/Src/stm32l1xx_ll_spi.o" "../HAL_Driver/Src/stm32l1xx_ll_spi.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_sdmmc.c
Building file: ../HAL_Driver/Src/stm32l1xx_ll_tim.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_tim.d" -MT"HAL_Driver/Src/stm32l1xx_ll_tim.o" -o "HAL_Driver/Src/stm32l1xx_ll_tim.o" "../HAL_Driver/Src/stm32l1xx_ll_tim.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_spi.c
 
Invoking: MCU GCC Compiler
Building file: ../HAL_Driver/Src/stm32l1xx_ll_usart.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_sdmmc.d" -MT"HAL_Driver/Src/stm32l1xx_ll_sdmmc.o" -o "HAL_Driver/Src/stm32l1xx_ll_sdmmc.o" "../HAL_Driver/Src/stm32l1xx_ll_sdmmc.c"
Invoking: MCU GCC Compiler
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_fsmc.c
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_usart.d" -MT"HAL_Driver/Src/stm32l1xx_ll_usart.o" -o "HAL_Driver/Src/stm32l1xx_ll_usart.o" "../HAL_Driver/Src/stm32l1xx_ll_usart.c"
 
Building file: ../HAL_Driver/Src/stm32l1xx_ll_utils.c
Invoking: MCU GCC Compiler
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -DSTM32 -DSTM32L1 -DSTM32L152RETx -DNUCLEO_L152RE -DDEBUG -DSTM32L152xE -DUSE_HAL_DRIVER -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Utilities/STM32L1xx_Nucleo" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/device" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/CMSIS/core" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/HAL_Driver/Inc" -I"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/ugfx" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"HAL_Driver/Src/stm32l1xx_ll_utils.d" -MT"HAL_Driver/Src/stm32l1xx_ll_utils.o" -o "HAL_Driver/Src/stm32l1xx_ll_utils.o" "../HAL_Driver/Src/stm32l1xx_ll_utils.c"
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_tim.c
 
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_usart.c
 
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_sdmmc.c
 
Finished building: ../HAL_Driver/Src/stm32l1xx_ll_utils.c
 
Building target: demo.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -T"/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "demo.elf" @"objects.list"   -lm
src/stm32l1152RE_raw32_ugfx.o: In function `_init':
/home/tombalabomba/workspace/STM32_NUCLEO_L152RE/demo/Debug/../src/stm32l1152RE_raw32_ugfx.c:16: multiple definition of `_init'
makefile:37: recipe for target 'demo.elf' failed
/opt/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.16.0.201807130628/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crti.o:(.init+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [demo.elf] Error 1

12:11:08 Build Finished (took 3s.975ms)

 

 

Right below you can find the error output. The interesting part is that I get now the HAL errors additionally. These errors appeared when I modified  stm32f439i_raw32_ugfx.c the first time.
So, it looks like the compile tries to compile this file which should be prohibited by setting the filter in the source location tab. Unfortunately, project clean and index rebuild does not change anything.

 

image.thumb.png.6b048587da7735aa96e76d262b00cf07.png

 

You can find my project in the attachment. Many many thanks for supporting.

 

 

 

 

 

demo.zip

Link to comment
Share on other sites

Hi!

As I mentioned in my previous post, I get a bunch of additionally HAL error as soon as I modify stm32f439i_raw32_ugfx.c .

image.thumb.jpeg.0b338a535952c2984cedb928d3a13ff7.jpeg

 

The HAL errors vanish as soon as I close and reopen the project. As I figured out now these HAL errors were not really the problem since they don't show up in the build output.

Hence, it looks like this is a feature from the IDE telling the user that there is something missing for building the particular source file. Unfortunately, for me it was rather a burden than a feature since it distracted me from the central problem.

 

image.thumb.png.a17f1441996856425b7a2a797c2168fd.png

 

 

Quote

Just commenting out the _init() function does the trick for me: 

You are right, remove _init(void) from stm32l1152RE_raw32_ugfx.c does fix the error in first place. Apparently, this function is not used in gfxInit() so guess it's no big deal to remove it.

But I'm really interested in the root cause of this error in oder to understand how I can prevent such issues in future.

 

Link to comment
Share on other sites

On 15/01/2019 at 11:52, tombalabomba said:

Hence, it looks like this is a feature from the IDE telling the user that there is something missing for building the particular source file.

This is indeed an IDE feature. It's called the Indexer in Eclipse. The indexer will search through all files you tell it to search through in the settings and tries to warn you when something is missing/might be wrong. You can completely configure the error and warning levels of the indexer.
But if the indexer gives an error/warning this does not mean that the project won't build. The compiler and indexer can be configured independently of eachother.

On 15/01/2019 at 11:52, tombalabomba said:

But I'm really interested in the root cause of this error in oder to understand how I can prevent such issues in future.

You should read this to understand how the compiler and the linker work. In short, the compiler produces object files for each source file you provide (.c, .s, .cpp,...) and the linker puts them all togheter to get the final program. Due to the fact that the compiler compiles every file independently it will not complain if two files contain a function with the same name. However when the linker is putting everything togheter and it finds two different function implementations with the same name, it does not know what to do. If you call the _init() function in this case it does not know which implementation you want to call.

The _init() function used here is already implemented in newlib I think (I could be wrong though, it has been a long time since I dug into this) so you should not implement it again in your own code.

Link to comment
Share on other sites

Hi!

Many thanks for clarification!


By the way. Are the source files used in the tutorial available somewhere? Since, there are no board files available for the ILI9225 driver I wonder if you could share the one you used in the example. Hence, it would make things easier for understanding how to properly implement by the hardware abstraction by adapting the sources to my particular board.

 

 

Link to comment
Share on other sites

Hi!

It looks that these files are indeed missing. Searching for the pattern "9225" doesn't find any matches on my filesystem.

$ find ugfx -name "*9225*"
ugfx/drivers/gdisp/ILI9225
ugfx/drivers/gdisp/ILI9225/ili9225.h
ugfx/drivers/gdisp/ILI9225/gdisp_lld_ili9225.c
$ 

 

So I tried to set up the board file by my own. As mentioned I disabled the filter in properties -> C/C++ General -> Paths and Symbols -> Source Location for the ILI9225 driver directory and added drivers/gdisp/ILI9225 to properties -> C/C++ General -> Paths and Symbols ->Includes. Then I copied and modified a  board file using a different ili driver and enabled the  gdisp driver by setting

#define GFX_USE_GDISP  GFXON

.  Unfortunately, I fail now to build since I a get a bunch of new compile errors.

 

image.thumb.jpeg.71193d79f29aa3766423fbe812c20e15.jpeg

 

Obviously, the compiler doesn't recognize GFXINLINE which is defined in src/gfx_complilers.h. Fixing these bugs by just replacing GFXINLINE by inline circumvents the particulars problems but brings a bunch of new ones since the compiler doesn't recognize the types GDisplay or bool_t. What did I wrong?

By the way. I'm not sure if it's the right place here but I found a bug in drivers/gdisp/ILI9225/gdisp_lld_ili9225.c line 51:

#define write_data_repeat(g, data, count) { int i; for (i = 0; i < count; ++i) write_data (g, data) }

misses a semicolon. Please inform me about your desired way to report bugs in future.

 

Last but not least I have a question regarding the functions

static GFXINLINE void write_index(GDisplay* g, uint16_t index)

and 

static GFXINLINE void write_data(GDisplay* g, uint16_t data)

I guess the latter is used fr display communication. So in my case I need to implement the code for SPI communication there, right?
Whats the purpose of the first one and is it in my case necessary to implement?

 

 

 

Link to comment
Share on other sites

Hmm... the board file template is definitely missing. Thank you for bringing this to our attention.

Many of the drivers are community driven and do not originate from the official µGFX developers. We're definitely going to take better care of this in µGFX 3.0.
We're thankful for any kind of bug reports and/or patches. Usually a forum post will do - if possible with a patch that we can just apply. Alternatively you can make a pull request on the µGFX git server.

 

16 hours ago, tombalabomba said:

Last but not least I have a question regarding the functions


static GFXINLINE void write_index(GDisplay* g, uint16_t index)

and 


static GFXINLINE void write_data(GDisplay* g, uint16_t data)

I guess the latter is used fr display communication. So in my case I need to implement the code for SPI communication there, right?
Whats the purpose of the first one and is it in my case necessary to implement?

It's correct that those functions will actually write data to your display controller (in your case) through your SPI peripheral. Most displays that are in the style of the ILI9225 have a pin called D/C or similar - sometimes it's an additional bit in the SPI frame. That bit will tell the display controller whether the data it's receiving is actual pixel data (write_data()) or commands such as changing the viewport, changing rotation or setting any other kind of register value (write_index()).

Link to comment
Share on other sites

I guess, the ILI9225 driver is similar to the ILI9341 drive. Since for the latter there is a addon boardfile included I think I can to it in a similar way.

What is still a topic for me is that GXINLINE, GDisplay and so on is not recognised by the compiler. So, I guess the way I included the library (see my previous post) in the eclipse project doesn't work out. Has anyone a hint for me what I did wrong? Any help is highly appreciated.

 


 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...