I was unable to upload the .rsp file. I have pasted the contents of main.gcc.rsp here:
<span>-mthumb -mcpu=cortex-m3 -I../../CubeMx/Inc -I../../CubeMx/Drivers/CMSIS/Device/ST/STM32F1xx/Include -I../../CubeMx/Drivers/STM32F1xx_HAL_Driver/Inc -I../../CubeMx/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I../../CubeMx/Drivers/STM32F1xx_HAL_Driver/Src -I../../CubeMx/Drivers/CMSIS/Include -IC:/Users/JAshby/Desktop/FooExample/fooExample_sol/fooExample/ -ggdb -O0 -DARM_MATH_CM3 -Dflash_layout -DSTM32F103RB -Dflash_layout -DSTM32F103xB ‘-DFOO=”\””\”‘ -DDEBUG=1 -DDEBUG=1 -ffunction-sections -fdata-sections -c “C:/Users/JAshby/Desktop/FooExample/CubeMx/Src/main.c” -o “VisualGDB/Debug/main.o” -MD -MP -MF “VisualGDB/Debug/main.dep”</span>