ERROR when importing Bluetooth HID Keyboard Application (for CYW920819) into ModusToolbox

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HotPotTofu
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

Hello

I am trying to import this the Bluetooth HID Keyboard application into ModusToolbox, from this link https://github.com/Infineon/mtb-examples-CYW920819EVB-02-btsdk-hid/tree/master/hid/dual_mode_keyboar... but I am getting an error.

In ModusToolbox > File > New > ModusToolbox Application > Select BSP as "CYW920819EVB-02" > At the "Select Application" page, click "Import" > Navigate to "mtb-examples-CYW920819EVB-02-btsdk-hid/hid/dual_mode_keyboard" directory which I had already downloaded into my computer and click "Choose" > Check the "dual_mode_keyboard" checkbox and click "Create" > Error is as shown below:

Application "/home/user/Downloads/mtb-examples-CYW920819EVB-02-btsdk-hid-master/hid/dual_mode_keyboard" is not compatible with the BSP "CYW920819EVB-02".

Failed to collect application data for the "dual_mode_keyboard" application.

The application(s) creation failed. No valid application(s) selected.

Seems like the board model is already in the makefile :

 

 

 

# default target
TARGET=CYW920819EVB-02
#TARGET=CYW920819EVB-02
#TARGET=CYW920820EVB-02
#TARGET=CYW920735Q60EVB-01

SUPPORTED_TARGETS = \
CYW920819REF-KB-01 \
CYW920819EVB-02 \
CYW920820EVB-02 \
CYW920735Q60EVB-01 \

 

 

 

 

Are there any solutions to resolve this error?

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @HotPotTofu ,

Please note the HID Keyboard  application is supported only under  CYW920735Q60EVB-01 and CYW920819REF-KB-01 . So when you try it with different BSPs , you have to check the pins and configurations in the sample project. 

Make sure you are using latest MTB IDE and then please try the below steps flow :

1. Import the example project to work space under the BSP CYW920819REF-KB-01

2. After successfully importing the project, now change the target name and supported targets for the CYW920819EVB-02 . 

# default target
TARGET=CYW920819EVB-02

SUPPORTED_TARGETS = \
CYW920735Q60EVB-01 \
CYW920819REF-KB-01 \
CYW920819EVB-02

3. Now change the active BSP files using library manager. Click on Library manager in workspace explorer -> select the bsp file as  CYW920819EVB-02 -> update (refer the screenshots attached)

4. Now please try clean and build. It worked at my side. Please let us know if you face any difficulties.

Regards,

Anjana

View solution in original post

0 Likes
3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @HotPotTofu ,

Please note the HID Keyboard  application is supported only under  CYW920735Q60EVB-01 and CYW920819REF-KB-01 . So when you try it with different BSPs , you have to check the pins and configurations in the sample project. 

Make sure you are using latest MTB IDE and then please try the below steps flow :

1. Import the example project to work space under the BSP CYW920819REF-KB-01

2. After successfully importing the project, now change the target name and supported targets for the CYW920819EVB-02 . 

# default target
TARGET=CYW920819EVB-02

SUPPORTED_TARGETS = \
CYW920735Q60EVB-01 \
CYW920819REF-KB-01 \
CYW920819EVB-02

3. Now change the active BSP files using library manager. Click on Library manager in workspace explorer -> select the bsp file as  CYW920819EVB-02 -> update (refer the screenshots attached)

4. Now please try clean and build. It worked at my side. Please let us know if you face any difficulties.

Regards,

Anjana

0 Likes

Yes it worked, thank you. Are there any limitations for this application i.e. am I still able to send keystrokes using Client Control application?

Also, is it possible to combine this application with OPP application as 1 whole application to load onto the CYW920819EVB-02 eval board?

0 Likes
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi @HotPotTofu 

There is no known issues in this HID app. But you may have to check the pins configured in the application is correct or not for the CYW20819EVAL .

 We have not evaluated combining OPP example with HID. It should be possible .

Regards,

Anjana  

0 Likes