AnsweredAssumed Answered

Compile Error with custom BSP

Question asked by Thad Seeberger on Mar 20, 2013
Latest reply on Mar 21, 2013 by shenlung

Good day. I used twrk60n512 bsp and cloned BSP to custom. In custom BSP used Processor Expert and deleted processor and peripherals. Added mk60n512VLL10 processor and UART with PE. Configured processor clock. Compiled BSP and PSP fine. Added custom BSP to Codewarrior 10.2 bat file so available under new project wizard. Then create new basic hello world project using custom BSP. When compiling get error cant find Events.h. Copied Events.h to folder with other includes. Now compiling get following error:

I have no idea what problem, but very frustrated with Codewarrior, documentation etc.

Please help.

 

C:\Freescale\CW MCU v10.2\gnu\bin\mingw32-make -j6 all

'Building target: Battery_Controller_RevA.afx'

'Executing target #2 Battery_Controller_RevA.afx'

'Invoking: ARM Linker'

"C:/Freescale/CW MCU v10.2/MCU/ARM_Tools/Command_Line_Tools/mwldarm" @@"Battery_Controller_RevA.args" -o "Battery_Controller_RevA.afx"   -l"psp.a" -l"bsp.a"

C:/Freescale/CW MCU v10.2/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Warning

>Symbol exit multiply defined in libc_Thumb_LE_v7M.a(abort_exit.o   ) and

>psp.a(comp.o         )

>Ignoring the definition in libc_Thumb_LE_v7M.a(abort_exit.o   )

>psp.a(comp.o         )

>Ignoring the definition in libc_Thumb_LE_v7M.a(alloc.o        )

>psp.a(comp.o         )

>Ignoring the definition in libc_Thumb_LE_v7M.a(alloc.o        )

>psp.a(comp.o         )

>Ignoring the definition in libc_Thumb_LE_v7M.a(alloc.o        )

>psp.a(io_util.o      )

>Ignoring the definition in libc_Thumb_LE_v7M.a(ctype_aeabi.o  )

>psp.a(io_util.o      )

>Ignoring the definition in libc_Thumb_LE_v7M.a(ctype_aeabi.o  )

>psp.a(io_util.o      )

>Ignoring the definition in libc_Thumb_LE_v7M.a(ctype_aeabi.o  )

>Undefined : "Cpu_MCGAutoTrim"

 

 

Errors caused tool to abort.

mingw32-make: *** [Battery_Controller_RevA.afx] Error 1

>Link failed.

 

Outcomes