2147456_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2147456_en-US

2147456_en-US

MK82FN256xxx15_qspi_alias example linker error

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

Re: MK82FN256xxx15_qspi_alias example linker error

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!
--------------------------------------------------------------------------------------------------------------------

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 01:09 AM
Updated by: