I have a nice little prototype up and running on theTWR-K60N512 eval board but now our custom board is ready and they want code up and running on it yesterday (naturally). I tried following AN4287 "MQX Board Support Package Porting Guide" and ended up with 1351 compiler errors most of which are variations on:
Description Resource Path Location Type
identifier 'ADC_MemMapPtr' redeclared was declared as: 'volatile struct ADC_MemMap *' now declared as: 'volatile struct *' (included from: C:\Program Files\Freescale\Freescale MQX 3.8\mqx\build\cw10\bsp_pk61FX512\Generated_Code\MQX1.h:40 C:\Program Files\Freescale\Freescale MQX 3.8\mqx\build\cw10\bsp_pk61FX512\Generated_Code\PE_LDD.h:2174 C:\Program Files\Freescale\Freescale MQX 3.8\mqx\source\bsp\pk61FX512\bsp.h:38 C:\Program Files\Freescale\Freescale MQX 3.8\mqx\source\bsp\pk61FX512\bsp_cm.c:38) IO_Map.h /bsp_pk61FX512/Generated_Code line 285 C/C++ Problem
The porting guide seems to assume you are porting your code from the eval board to a custom board which uses the same micro. We are switching micros from K60 to K10. Is anybody working on a new app note for this situation?
I am using CW 10.2 (Build Id:120126 with CodeWarrior MQX 3.8 Plug-ins 220.127.116.11207171328 ; CodeWarrior MQX Plug-ins 18.104.22.168207171328) and MQX 3.8.1
Is there a bsp for the K10 hiding somewhere on the freescale website I can download? Or has anyone already built a BSP/PSP package on their own for the K10 - any K10?? Any help would be appreciated. Thanks!