I am using MCXPresso 11.1 with SDK 2.7.1 with iMXRT1064 device.
I have created a sample emwin demo project for board iMXRT1064.
When i refresh the SDK, a template folder is created under Emwin folder containing 2 files emwin_support.c and emwin_support.h which i do not want. How can i avoid creation of the template folder.
My emwin_support.c and emwin_support.h are in a different directory and it leads to multiple definitions due to these files present in template folder also.
I tried excluding the template folder from build but when i refresh the SDK or add any new component again the emwin template folder is included automatically. I also have observed that when SDK is refreshed the emwin folder is automatically excluded from project. Why is this?
How can i avoid creation of emwin template folder altogether or avoid build of that folder even when SDK is refreshed.
Hi Anuj Tanksali ,
You can check your 2 files emwin_support.c and emwin_support.h which i do not want, please check the file path, then you can delete the related file which you don't want in your project path source file, then refresh the project again, the file will not in your project again.
If you still have question about it, you can give me some picture about it, and attach your project, I will help you to check more details.
I deleted the files in emwin\template folder and refreshed the project. The files were not present.
But when i refresh the SDK the files are added again in the project. How do i avoid this?
Thanks for the reply.
I have following SDKs installed,
This is my folder structure which does not contain emwin template folder as i have deleted it and refreshed the project.
I perform the following steps
1) Right click the project and go to SDK management-Manage SDK Components
2) I select Manage SDK components and for e.g. select lpspi driver to be added and click OK to proceed
I have kept all the other drivers as it is and only selected lpspi driver to be added but still see the emwin\template folder in the list above which should not be present.
4) If i click yes then MCUXPresso SDK updates the files or adds the files. After the update files or addition of files is complete then the folder structure is updated. See below snapshot.
As you can see above the template folder and files in that folder are added again which i do not want.
Same is the case where if I do only Refresh SDK components (see 3rd image from above) and not Manage SDK components.
Hi Anuj Tanksali,
Thanks so much for your updated information and the detail description.
From your related picture, I think this problem is the tool bug, I will help to report it to the related department in the future.
In the meanwhile, maybe you need to delete the template by yourself after you click refresh SDK components button.
Sorry for the inconvenience we bring you.