Skip to content

Conversation

@cristidragomir97
Copy link

When enabling CFG_TUH_HID in tusb_config.h, the stack will expect a tuh_hid_report_received_cb callback to be defined in every sketch, preventing any sketch that doesn't have anything to do with the HID Host stack from compiling. The hid_host.h file defines weak callbacks in order to prevent this issue, but the TU_ATTR_WEAK is prefixed to most callbacks except fortuh_hid_report_received_cb. These changes add this attribute, allowing any sketch to compile.

@CLAassistant
Copy link

CLAassistant commented Mar 13, 2025

CLA assistant check
All committers have signed the CLA.

@sebromero sebromero requested a review from aentinger March 13, 2025 09:01
Copy link

@aentinger aentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ciao @cristidragomir97 ☕ 👋 - arent some of those commits (looking at the first three) not already in master? Please rebase this branch, if possible.

@pennam pennam changed the base branch from master to arduino-renesas-core March 24, 2025 13:36
@pennam pennam merged commit ecfa7a0 into arduino:arduino-renesas-core Mar 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants