I would like to move some functions into BOARD_FLASH region because internal flash has too small capacity. I know tat including "cr_section_macros.h" file and __TEXT() macro works but it's tiring when for example 100 functions should be decorated this way. I any way to for example move all functions from directory into specified region of flash? I searched tutorials and I found how to place it in SDRAM but it requires own linker script. Is any simple way to do that?
Solved! Go to Solution.
Hi Mateuz,
This is possible to do, please check the link bellow:
https://community.nxp.com/thread/389110
Best Regards,
Alexis Andalon
Hi Mateuz,
This is possible to do, please check the link bellow:
https://community.nxp.com/thread/389110
Best Regards,
Alexis Andalon
Hi,
Thanks for your answer. Your solution works fine but I am wondering about one thing. Is it possible to move static library (like emWin which is provided with header files and .a file). In this case the compiler doesn't make .o file for emWin and I don't know how to do that.
Best regards!
Using archive:file section did the job.