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

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

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

805件の閲覧回数
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?

ラベル(1)
0 件の賞賛
1 返信

505件の閲覧回数
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 件の賞賛