Is there an easy way (i.e. not having to build twice using different configurations) to build the same set of code but located in different parts of memory? Do I have to use different linker command files? The only real difference between the two targets I want is the Section definition within the linker command file. One points to region Flash A, the other to region Flash B.
Everything else identical, build flags, optimizations, etc., etc., etc. Ultimately, I just want to invoke the build process once, and have two output files hex1.out and hex2.out that can be loaded in different parts of memory.
Thanks