I want to build project for the TWR-K70F120M, TWR-LCD-RGB
I was download the Freescale Embedded GUI Software Rev 3.0 which include the TWR_K70 project.
But I have some errors, then I cannot build project.
Please advise to make build sample project for the TWR-K70F120M, TWR-LCD-RGB
Best regards,
Takashima
Hello,
Can you post the errors you have?
Regards,
Luis
I'm using the IAR EWARM Ver 7.20.2 and MQX 3.8.
I have a lot of errors with the following include directories for the MQX when build eGUI_Demo_d4dLib - Debug, see attached file eGUI_Demo_d4dLib_error.log.
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\bsp
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\bsp\Generated_Code
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\psp
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\mfs
$_MQX_PATH_$\lib\twrk70f120m.iar\debug
I cannot find out the above path, then I have no error if these include directories as below.
$_MQX_PATH_$\lib\twrk70f120m.iar\bsp
$_MQX_PATH_$\lib\twrk70f120m.iar\bsp\Generated_Code
$_MQX_PATH_$\lib\twrk70f120m.iar\psp
$_MQX_PATH_$\lib\twrk70f120m.iar\mfs
$_MQX_PATH_$\lib\twrk70f120m.iar
I also have a lot of errors with the following include directories for the MQX when build eGUI_Demo - Debug.
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\bsp
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\bsp\Generated_Code
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\psp
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\mfs
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\shell
$_MQX_PATH_$\lib\twrk70f120m.iar\debug\usb
$_MQX_PATH_$\lib\twrk70f120m.iar\debug
Therefore, I also modified include directories as below, but I have a lot of errors, see attached file eGUI_Demo_error.log.
$_MQX_PATH_$\lib\twrk70f120m.iar\bsp
$_MQX_PATH_$\lib\twrk70f120m.iar\bsp\Generated_Code
$_MQX_PATH_$\lib\twrk70f120m.iar\psp
$_MQX_PATH_$\lib\twrk70f120m.iar\mfs
$_MQX_PATH_$\lib\twrk70f120m.iar\shell
$_MQX_PATH_$\lib\twrk70f120m.iar\usb
$_MQX_PATH_$\lib\twrk70f120m.iar
Please advise to fix the above error as soon as possible.
Best regards,
Takashima
Hello,
Just checked the first error. cannot open source file "usb.h"
You have to build the MQX USB libs. After that, usb.h will be in C:\Freescale\Freescale MQX 3.8\lib\twrk70f120m.iar\usb
Regards,
luis
Dear Luis,
Thank you for your reply.
I was built the MQX USB libs, unfortunately I still have same errors.
I believe that you can build this project, please send whole project.
Best regards,
Takashima
Hello,
Yes, I can build. I am using the git version:
https://github.com/Gargy007/eGUI/tree/master
And MQX 4.1.1
Luis
Dear Luis,
Thank you for your quick reply.
I have no errors after install MQX 4.1.1.
But I got the following error message.
eGUI/D4D initialization failed
My build code could not initialize eGUI/D4D, because could not install ISR for LCDC.
Please advise as soon as possible.
Best regards,
Takashima
Hello,
You have to add #define MQX_ROM_VECTORS 0 in the user_config.h and rebuild the MQX libraries.
Best Regards,
Luis
Dear Luis,
Thank you for your quick response.
I added the following two line in the user_config.h.
#define MQX_ROM_VECTORS 0
#define MQX_HAS_TIME_SLICE 1
After that, rebuild the MQX libraries and eGUI code.
The eGUI is working correctly.
Thank you very much for your support.
Best regards,
Takashima