CW-MCU 10.6 now creates *.LD files for BSP instead of *.LCF files.

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

CW-MCU 10.6 now creates *.LD files for BSP instead of *.LCF files.

764 Views
PlusPlus
Contributor I

I'm using CW-MCU 10.6 with MQX 4.1.0 and PEG+ and  I'm trying to build an example project that worked under previous versions of CW and MQX.  I cannot complete my build because the BSP code generated for my Kinetis K70 platform now has a file called "intflash_ddrdata.ld" instead of "intflash_ddrdata.lcf".  The mwldarm linker does not know what to do with the .LD file.  How do I create a proper LCF file like I had before?

Labels (1)
0 Kudos
1 Reply

464 Views
BlackNight
NXP Employee
NXP Employee

Hello,

.ld is the linker file extension for GNU ARM compiler (well, linker), while .lcf is for the proprietary Freescale ARM compiler/linker.

In CW for MCU you can choose at project creation time if you want to use the (legacy) Freescale ARM compiler, or the GNU compiler. The GNU compiler is the default and recommended. And for Kinetis L there is only GNU supported.

I hope this helps?

0 Kudos