When using emWin library, if I use GUI_DispString() or other font-involved function, the binary size is easily overflowed and get the following errors.
ld.exe: xxxx.elf section `.text' will not fit in region `ROM' ld.exe: region `ROM' overflowed by 48864 bytes
How can I make font data not to use .text section?
Is there any guideline?
Device:
Hi firebird,
The first solution might be to application image size. By default, both the SDK and chip configurations support running application images of up to 512 kB in size. The DA1469x Bluetooth SoC is capable of executing code from any address in FLASH. This feature is supported due to re-mapping capabilities of the M33 application CPU of the DA1469x. Please readDA1469x Supporting Images Bigger than 512kBfor more information. The second solution might be to use bit stream. Please refer to section 11.3.3 External Bitmap Font (XBF) format in the UM03001_emWin5.pdf located under emwin_lib\segger\emwin\Doc library path. For this solution, I would suggest you to wait until next GDI release which will come very soon.
Thanks, PM_Dialog
Thanks for your answer.
I'll test >512 image myself, and wait new GDI release.