Open oscaracena opened 3 months ago
That didn't solve it for me (rp2040 pico). Wondering if there is some other dependency issue.
That didn't solve it for me (rp2040 pico). Wondering if there is some other dependency issue.
Nevermind, order of the #define USE_TINYUSB
(needed to be before the include)
The problem is related to the PlatformIO LDF as, by default, it does not evaluate the C++ preprocessor directives (for speed reasons), so even when you set the flag
USE_TINYUSB
, the LDF will includeHID
,Keyboard
andMouse
as library deps, generating the duplicated symbols.To fix it, the user can just add the following line to the
platformio.ini
file:I add this issue just as some sort of documentation, and maybe @cyborg5 could update the README... 😉