AnsweredAssumed Answered

construction error with qt creator stm32l152re

Question asked by alexandre geraldo on Dec 20, 2017

I'm new to microcontroller programming and I have a question. I'm trying to set up a stm32l152re card in the qtcreator and the same error appears at the time of compiling the project shrink

 

 

arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m3 -D__weak="__attribute__\(\(weak\)\)" -D__packed="__attribute__\(\(__packed__\)\)" -DUSE_HAL_DRIVER -DSTM32L152xE -IDrivers/STM32L1xx_HAL_Driver/Inc -IDrivers/STM32L1xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32L1xx/Include -IDrivers/CMSIS/Include -IInc -O0 -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -std=c99 -MD -MP -MF build/.dep/stm32l1xx_hal_cortex.o.d -Wa,-a,-ad,-alms=build/stm32l1xx_hal_cortex.lst Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c -o build/stm32l1xx_hal_cortex.o Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:505:1: error: stray '\' in program __weak void HAL_SYSTICK_Callback(void) ^ Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:505:1: error: stray '\' in program Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:505:1: error: stray '\' in program Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:505:1: error: stray '\' in program Makefile:106: recipe for target 'build/stm32l1xx_hal_cortex.o' failed make: *** [build/stm32l1xx_hal_cortex.o] Error 1 20:23:07: The process "/usr/bin/make" exited with code 2. Error while building/deploying project stm32nucleo (kit: ARM - STM32) When executing step "Make" 20:23:07: Elapsed time: 00:00

Outcomes