Oh yeah, that was pretty straightforward. The makefile version works fine. Thank you.
Here is the second question:
What if the build server is on linux? The toolchain used by VisualGDB doesn’t work there. I managed to compile it with manually editing the makefile (I know, I should, but just for testing):
CC := arm-none-eabi-gcc #$(TOOLCHAIN_<wbr />ROOT)/bin/arm-eabi-gcc.exe
CXX := arm-none-eabi-g++ #$(TOOLCHAIN_<wbr />ROOT)/bin/arm-eabi-g++.exe
LD := $(CXX)
AR := arm-none-eabi-ar #$(TOOLCHAIN_<wbr />ROOT)/bin/arm-eabi-ar.exe
OBJCOPY := arm-none-eabi-objcopy #$(<wbr />TOOLCHAIN_ROOT)/bin/arm-eabi-<wbr />objcopy.exe
Is there any way to do it with the IDE? I mean: it detects the OS and changes these values automatically somehow.