iMXRT1064 Emwin Demo Template

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMXRT1064 Emwin Demo Template

958 Views
anujtanksali
Contributor II

Hello,

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.

Thanks

Regards

Anuj

Labels (1)
Tags (2)
0 Kudos
7 Replies

821 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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.

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

821 Views
anujtanksali
Contributor II

Hi kerryzhou

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,

Regards

Anuj

0 Kudos

821 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Anuj Tanksali,

   Thanks for your updated information.

   Could you tell me more details about: refresh the SDK.

   Could you please give me the picture about? Do you mean the SDK under installed SDKs?

pastedImage_1.png

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

821 Views
anujtanksali
Contributor II

Hello kerryzhou

Thanks for the reply.

I have following SDKs installed,

pastedImage_1.png

This is my folder structure which does not contain emwin template folder as i have deleted it and refreshed the project.

pastedImage_4.png

I perform the following steps 

1) Right click the project and go to SDK management-Manage SDK Components

pastedImage_2.png

2) I select Manage SDK components and for e.g. select lpspi driver to be added and click OK to proceed

pastedImage_3.png

3)

pastedImage_5.png

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.

pastedImage_6.png

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.

Thanks

Regards,

Anuj

0 Kudos

821 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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.

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

821 Views
anujtanksali
Contributor II

Hello kerryzhou‌,

Thanks for the info.

Will be waiting for any update.

Regards,

Anuj

0 Kudos

821 Views
anujtanksali
Contributor II

Hello kerryzhou

I deleted the files emwin_support.c and emwin_support.h from template folder and refreshed the project. The files were not there in the path /emwin/template/. But when i again refresh the SDK the files are added again. Am using Emwin SDK demo code.

Thanks

Regards,

Anuj 

0 Kudos