AnsweredAssumed Answered

Changes to TWR-K60F120M_Quick_Start_Demo to Use MQX 3.8.1 and IAR 7.10.3.6832?

Question asked by Thomas Murphy on May 13, 2014
Latest reply on May 14, 2014 by Thomas Murphy

I am trying to run the TWR-K60F120M_Quick_Start_Demo from the TWR-K60F120M_QSD ZIP download. Since MQX 3.8.0 is no longer available to use the TWR-K60F120M patch, the instructions supplied in the demo are out of date. I have installed MQX 3.8.1 from "Freescale MQX RTOS 3.8.1" at MQX: Freescale MQX™ Software Solutions and then correctly installed the Quick_Start_Demo in C:\Freescale\Freescale MQX 3.8\demo due to the new location of the install. I have already corrected the MQX assembly debug problem discussed at Building Libs w/ MQX 3.8 and IAR 6.5 and ran 'make' on the twrk60f120m build_libs IAR project.

 

Now, the Quick_Start_Demo cannot compile because of two errors in multiple files:

Fatal Error[Pe1696]: cannot open source file "usb_class.h" C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\usb\usb_descriptor.h 42

 

Fatal Error[Pe1696]: cannot open source file "mqx.h" C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\demo.h 36

 

Full text from one error:

Accel_Task.c

Fatal Error[Pe1696]: cannot open source file "mqx.h" C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\demo.h 36

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\bsp\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\psp\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\bsp\Generated_Code\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\rtcs\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\mfs\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\usb\host\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\usb\device\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\..\..\lib\

twrk60f120m.iar\shell\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\adc\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\tsi\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\usb\"

            searched: "C:\Freescale\Freescale MQX 3.8\demo\TWR-K60F120M_Quick_Start_Demo\iar\..\web\"

            searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\"

            searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\"

 

What do I need to change in the demo project configuration to successfully compile for the Tower System TWR-SER/TWR-ELEV/TWR-K60F120M. I was hoping that this example would be simple to get loaded after installing the required software (IAR 6.5+ evaluation license and MQX 3.8) and the project file. . .

Outcomes