2220 - LatticeECP2/ECP3: What does the LatticeMico8 linker error message "lm8-elf/bin/ld: region text is full (C_code.elf section .text)" mean?
Description:
The text region of the .elf generated by the LatticeMico8 compiler refers to the instruction opcodes in the C/C++ source code and will be stored in the PROM memory of the LatticeMico8 controller.
When these opcodes generated exceed the size of PROM memory declared, the linker generates the above error.
To eliminate this error, you must increase the size of the Mico8 PROM memory in the Mico System Builder(MSB) hardware platform.
To increase the PROM size double click the LM8 component in the hardware platform and you can select the desired PROM size under the PROM settings.