To save some FLASH space we are looking for a way to have both images that could share a common section of code. As an example, we would like having the libraries located at only one place in the FLASH. Both images would then refer to that section for code. The goal is not to duplicate too much of the same code in the 2 images.
Other part of the program could be shared as well, like the tcp/ip stack we're using (lwIP, etc.
Our platform is the mcf52259, no OS. CW 7.1.1