[error]: make process closed with exit code : 2

and just to add, you have to look at the errors in the output above the make error. make will always exit with an error if the compiler or linker has an error.

LINK build/MyProject123.elf
build/src/robot-config.o:(.bss.Controller1+0x0): multiple definition of `Controller1'
build/src/main.o:(.bss.Controller1+0x0): first defined here
build/src/robot-config.o:(.bss.MotorOne+0x0): multiple definition of `MotorOne'
build/src/main.o:(.bss.MotorOne+0x0): first defined here
build/src/robot-config.o:(.bss.MotorTwo+0x0): multiple definition of `MotorTwo'
build/src/main.o:(.bss.MotorTwo+0x0): first defined here

This is telling you that you have globals variables declared more than once.
@thorstenl312 has the right approach, also see this.