2017-07-13 07:58 AM
Hi, i'm setting up Eclipse with GNU ARM Cross Compiler.
I made a simple Projekt ('blaccleds') with an STM32L0 Controller and the STM32L0xx_HAL_Driver-Package.
I get the following Console-Output with an Error Message when I try to compile:
16:43:00 **** Incremental Build of configuration Debug for project blaccleds ****
make all Building target: blaccleds.elfInvoking: GNU ARM Cross C++ Linkerarm-none-eabi-g++ -mcpu=cortex-m0 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L'../ldscripts' -L'C:\STM32Cube_FW_L0_V1.9.0\Drivers\STM32L0xx_HAL_Driver\' -Wl,-Map,'blaccleds.map' --specs=nano.specs -o 'blaccleds.elf' ./system/src/newlib/_cxx.o ./system/src/newlib/_exit.o ./system/src/newlib/_sbrk.o ./system/src/newlib/_startup.o ./system/src/newlib/_syscalls.o ./system/src/newlib/assert.o ./system/src/diag/Trace.o ./system/src/diag/trace_impl.o ./system/src/cortexm/_initialize_hardware.o ./system/src/cortexm/_reset_hardware.o ./system/src/cortexm/exception_handlers.o ./system/src/cmsis/system_DEVICE.o ./system/src/cmsis/vectors_DEVICE.o ./src/_write.o ./src/main.o ./src/stm32l0xx_hal_cortex.o ./src/stm32l0xx_hal_gpio.o ./src/stm32l0xx_ll_gpio.oc:/gnutoolsarmembedded/buildtools/bin/bin/sh: syntax error: unterminated quoted string
make: *** [blaccleds.elf] Error 2
makefile:61: recipe for target 'blaccleds.elf' failed16:43:00 Build Finished (took 228ms)
Can anybody tell me what's the Problem here?
2017-07-13 08:11 AM
What's going on at line 61 of the make file?
What's the script it is trying to run?
2017-07-13 08:38 AM
This is the part of the makefile:
2017-07-13 11:19 AM
Will
arm-none-eabi-g++ run from the command line?
What if you paste in the entire command it is trying to run?
system_DEVICE looks odd, does DEVICE need to be defined?
The escape character at the end here looks problematic ...
STM32L0xx_HAL_Driver\'
Use the UNIX path setting for where it should be looking for driver objects.