Content originally posted in LPCWare by cojanprins on Tue Feb 17 07:11:20 MST 2015
Hello,
I'm working on a project with the integrated WEB server. I have already the project running, booting is from SPIFI, execution from SDRAM. Everything works OK. What I want to achieve is to keep the HTML code in SPIFI (not necessary to copy them at startup into SDRAM, thus saving RAM space).
All my HTML files (automatically converted into C "const unsigned char" arrays) are included in html_list.c, so result of the linkers shows it as: (actually a lot more files are present).
.rodata.ENG_homerepl
0x00000000 0x6dc ./html/html_list.o
.rodata.ENG_trylogin
0x00000000 0x2e0 ./html/html_list.o
Is there any way to inform the linker to have all .rodata. from html_list.o to remain with the address range of the SPIFI?
Thanks in advance.
Cojan Prins (The Netherlands)