AnsweredAssumed Answered

bare metal project for K60 not building

Question asked by Marc Lindahl on Feb 28, 2014
Latest reply on Mar 8, 2014 by Marc Lindahl

I'm trying to build then k60-nfc project in with freshly updated CW 10.5 (no license) and having a couple of problems:


First, the file fpu_asm.s wouldn't build - lots of syntax errors etc.  Then I saw this thread:


problems building bare metal examples for kinetis K70


Disabling it did let the compiler complete.  But, I think that's avoiding the real issue, that this project is old and it's using an old toolchain with a different assembler syntax.  Just a guess.  But I notice that when you make new projects, a different toolchain is used.  Looks like Freescale needs to update this code.


Anyhow, so the compiler finishes, and the linker crashes with:


AppName: mwldarm.exe AppVer: ModName: lmgr11.dll

ModVer: Offset: 0007f841

linker crash.png

And returns with:

mingw32-make: *** [k60-nfc.afx] Error -1073741811


I think this toolchain has some kind of bug, because on the exact same CW and computer, with the G++ lite toolchain I don't get this error.  Or it's the project settings, who knows.