Linker script for KW41Z

cancel
Showing results for 
Search instead for 
Did you mean: 

Linker script for KW41Z

350 Views
chrc1u16
Contributor I

Hi, I'm using the FRDM-KW41Z with a KW41Z on it. I'm trying to use the ARM GCC toolchain, but I could not find the linker script (.ld) file for the chip. Using the startup code (startup_MKW41Z4.S), I got errors related to undefined reference to '__data_start__' and '__data_end__', which should be defined in the .ld file. I saw files that seemed to be published by NXP online (eg. MKW41Z512xxx4_flash.ld on GitHub ), but it doesn't seem to be in the SDK anymore?

1 Reply

66 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

I would recommend you to use the MCUXpresso IDE (MCUXpresso IDE|NXP ) with the MCUXPresso SDK (Welcome to MCUXpresso | MCUXpresso Config Tools ) or IAR which are the supported IDEs.

You can find some linker files in the projects that might help you as well, unfortunately, the GitHub link you are mentioning does not seem to be from NXP, they might be using the MKW41Z but it does not appear to be an official NXP site. 

Regards, 

Estephania 

0 Kudos