Hello Tuo and Arthur ,
Official support of KDS in MQX is planned in MQX 4.2 & MQX 5.0 coming later this year.
At that time MQX plug-ins for KDS (e.g. Task Aware Debug & New Project Wizard) will be available. Also, MQX project files for all libraries and examples will be available for KDS.
And now ,
Create MQX project on KDS , you can refer to :
- Copy from the example folder a MQX project (i.e. C:\Freescale\Freescale_MQX_4_1\mqx\examples\hello) and paste in any other folder.
- I remove the projects I don't need for other toolchains or other boards.
- Open for editing the .cproject with any text editor
4. first, search ''MQX_ROOT_DIR'' , and change the only first one, change <stringMacro name="MQX_ROOT_DIR" value="${ProjDirPath}/../../../../../.."> to <stringMacro name="MQX_ROOT_DIR" value="C:\Freescale\Freescale_MQX_4_1"> ;
second, search ${ProjDirPath}/../../../../../.. and change all of to ${MQX_ROOT_DIR}
5.Save the changes
6. Import the project into KDS and build. You should build without errors.
7.Change the project name if you want and now you have a MQX Template project that you can copy&paste any times and add the new sources.
Best Regards,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you for your support to us!