Relocating particular objects into RAM

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

Relocating particular objects into RAM

ソリューションへジャンプ
1,375件の閲覧回数
nickwallis
Senior Contributor I

Hi,

I am following mcuxpresso IDE user guide section 17.15.1 to relocate particular objects into RAM.

I added a linkscripts folder to my project and put 3 linker script templates in their as advised (main_text.ldt, main_rodata.ldt and main_data.ldt)

Clean project and build, but I get a linker error message that says "cannot find main_text.ldt", but the file is definitely there.

Is there some steps missing from the user guide? Or did I miss something else?

I took a look at the flash_component_nor example project and noticed that the files in the linkscripts folder for that have different names (bss.ldt and data.ldt) but the main_text.ldt is the same.

many thanks

-Nick

0 件の賞賛
1 解決策
1,301件の閲覧回数
nickwallis
Senior Contributor I

Hi,

In the end, this was a typo in the linker script files.

I followed exactly what is said in the user guide, but it turns out that the 1st line of the examples should not be in the file.

 

Perhaps the documentation could be clearer?

-Nick

 

mcuxpresso linker script files.jpg

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
1,302件の閲覧回数
nickwallis
Senior Contributor I

Hi,

In the end, this was a typo in the linker script files.

I followed exactly what is said in the user guide, but it turns out that the 1st line of the examples should not be in the file.

 

Perhaps the documentation could be clearer?

-Nick

 

mcuxpresso linker script files.jpg

0 件の賞賛
1,287件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

Hi,

We'll update the doc to avoid this confusion.

Regards,

MCUXpresso IDE Support

0 件の賞賛
1,343件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

Hi,

Simple usage of this feature did not reveal any issue. Can you please let us know:

1. What MCUXpresso IDE version you use

2. What host OS

3. What SDK (device or board target and version)

4. Is your project using linked sources/folders?

5. Is your project physically located within or outside the workspace filepath?

Regards,

MCUXpresso IDE Support

0 件の賞賛