284 - Lattice Mico System: How can I compile and link LatticeMICO32 code so that it is position independent?

284 - Lattice Mico System: How can I compile and link LatticeMICO32 code so that it is position independent?

The code created from the Software Programming Environment (SPE) in LatticeMico System Builder (MSB) is always statically linked. Position independent code (PIC) depends on having an underlying operating system capable of performing relocation operations. The firmware written in SPE is not targeted or managed by an underlying operating system. The only available code relocation feature present in MSB is a simple code deployment function that copies your compiled and linked binary from non-volatile memory to volatile bulk memory locations.