I think you should first compile your .S file, for example:


arm-none-eabi-gcc -mthumb -mcpu=cortex-m0 -MD -I. -I./Libraries/CMSIS/Include -I./Libraries/CMSIS/Infineon/XMC1400_series/Include...