Syntax error: Unterminated quoted string
Dear Vetch,Thanks for your help!
I changed the settings to these values as you said. but no change in outcome.
weak=attribute__weak?
packed=attributepacked?
I only used Internal build out of desperation to try sometning. I guess from your statement that is incorrect. I will use External Build from now on. This error is generated with External Build.
So I am still getting this same error 2 consistantly:
11:21:58 **** Incremental Build of configuration Debug for project Test2_ST_20161120 ****
make all
Building file: ../Src/main.c
Invoking: MCU GCC Compiler
%cd%
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Dweak=”attributeweak” -Dpacked=”attributepacked” -DUSE_HAL_DRIVER -DSTM32L476xx -I”C:/STM32 Nucleo Projects/Test2_ST_20161120/Inc” -I”C:/STM32 Nucleo Projects/Test2_ST_20161120/Drivers/STM32L4xx_HAL_Driver/Inc” -I”C:/STM32 Nucleo Projects/Test2_ST_20161120/Drivers/STM32L4xx_HAL_Driver/Inc/Legacy” -I”C:/STM32 Nucleo Projects/Test2_ST_20161120/Drivers/CMSIS/Device/ST/STM32L4xx/Include” -I”C:/STM32 Nucleo Projects/Test2_ST_20161120/Drivers/CMSIS/Include” -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF”Src/main.d” -MT”Src/main.o” -o “Src/main.o” “../Src/main.c”
Syntax error: Unterminated quoted string
make: *** Src/main.o Error 2
11:21:58 Build Finished (took 371ms)
Note that even though I edited the weak and packed lines in the settings, they still show up in the console window with “”“.
Thanks,
Dave