How to add USB HID communication support?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to add USB HID communication support?

跳至解决方案
754 次查看
GYAN
Contributor I

 

FRDM-MCXN947 

LCD-PAR-S035 

 

I know how to create USB HID demo by MCUXpresso.

But I have no idea to add USB HID communication into GUI Guider project.

Can you add some document for this issue?

0 项奖励
回复
1 解答
675 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @GYAN,

You don't want to open the "lvgl_guider" example project with GUI Guider. This example project is just a template for any LVGL/GUI Guider project, in MCUXpresso. 

What you want to do is have the "lvgl_guider" project in the IDE, then separately create a GUI Guider project for the same board/MCU, and once you are done creating your GUI, override the "custom" and "generated" folders from the GUI Guider project with the template "lvgl_guider" MCUXpresso project.

EdwinHz_0-1721412795374.png

 

In other words, you are just passing the actual GUI that you created in GUI Guider to a 'base' or 'template' project in MCUXpresso.

BR,
Edwin.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
728 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @GYAN,

We don't have any documents that describe the process of adding USB HID communication to a GUI Guider project. Your best bet would be to import both the "lvgl_guider" example code, as well as a USB HID example code of your choosing, and merge them into a single project. I would migrate the USB HID into the lvgl_guider one, instead of the other way around. Then, you can open GUI Guider, create your GUI, and build it. Finally, you would replace the "custom" and "generated" folders from your MCUXpresso project, with the "custom" and "generated" folders of your GUI Guider project.

If you encounter any issues along the way, do not hesitate on letting me know.

BR,
Edwin.

0 项奖励
回复
713 次查看
GYAN
Contributor I

Hi @EdwinHz ,

Thanks for your reply!

I follow your suggest step.

First, import "lvgl_guider" example code on MCUXpresso.

GYAN_1-1721348945575.png

 

But I don't know how to open this project on GUI Guider.

GUI Guider seems to need to recognize *.guiguiderh to open the project.

 

0 项奖励
回复
676 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @GYAN,

You don't want to open the "lvgl_guider" example project with GUI Guider. This example project is just a template for any LVGL/GUI Guider project, in MCUXpresso. 

What you want to do is have the "lvgl_guider" project in the IDE, then separately create a GUI Guider project for the same board/MCU, and once you are done creating your GUI, override the "custom" and "generated" folders from the GUI Guider project with the template "lvgl_guider" MCUXpresso project.

EdwinHz_0-1721412795374.png

 

In other words, you are just passing the actual GUI that you created in GUI Guider to a 'base' or 'template' project in MCUXpresso.

BR,
Edwin.

0 项奖励
回复
626 次查看
GYAN
Contributor I

Hi @EdwinHz ,

Thanks for your reply.

Oh I see.

I can develop UI and generate code by GUI Guider.

Then debug else function on MCUXpresso.

 

0 项奖励
回复
606 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @GYAN,

Precisely!

If you have any further questions about how to do this, please let me know.

BR,
Edwin.

0 项奖励
回复