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
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:
Hope it can help you.
BRs,
Celeste
--------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
--------------------------------------------------------------------------------------------------------------------