LPC54628 moving functions into board flash

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC54628 moving functions into board flash

ソリューションへジャンプ
1,714件の閲覧回数
mateuszkiełbasa
Contributor III

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?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,604件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Mateuz,

This is possible to do, please check the link bellow:

https://community.nxp.com/thread/389110

Best Regards,

Alexis Andalon

元の投稿で解決策を見る

3 返答(返信)
1,605件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Mateuz,

This is possible to do, please check the link bellow:

https://community.nxp.com/thread/389110

Best Regards,

Alexis Andalon

1,604件の閲覧回数
mateuszkiełbasa
Contributor III

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!

0 件の賞賛
返信
1,604件の閲覧回数
mateuszkiełbasa
Contributor III

Using archive:file section did the job.

0 件の賞賛
返信