MK82FN256xxx15_qspi_alias example linker error

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

MK82FN256xxx15_qspi_alias example linker error

165件の閲覧回数
opetrone
Contributor I

When compiling the frdmk82f_hello_world_qspi_alias sample project with MCUXpresso IDE v11.9.1_2170, the linker returns the following error:

MK82FN256xxx15_qspi_alias_mcux.ld:103: syntax error.

The "MK82FN256xxx15_qspi_alias_mcux.ld" file is attached. (Zip Compressed)

How can I fix the problem at linker file line 103?

/*
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.= ORIGIN(m_flash);  /*  ---> line 103 <--- */
.ARM.extab : ALIGN(4)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > m_flash

0 件の賞賛
返信
1 返信

152件の閲覧回数
Celeste_Liu
NXP Employee
NXP Employee

Hello @opetrone ,

Thanks for your post.

This is a syntax error, please modify the 103 line from:

.= ORIGIN(m_flash);

to

. = ORIGIN(m_flash);

There's a missing space here. 

 

Then you will find it can build successfully:

Celeste_Liu_0-1754482989907.png

Hope it can help you.

BRs,

Celeste

 

--------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
--------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信