-
Notifications
You must be signed in to change notification settings - Fork 144
error: static assertion failed: CFG_TUSB_RHPORT0_MODE/CFG_TUSB_RHPORT1_MODE must be defined on RP2040 since specific update #474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
what is the arduino core version ? |
I'll check precise version and get back to you. I believe it should be the latest version of the earlephilhower arduino-pico core, though. |
My platformio.ini says |
I have the same problem. Solutions for me is to add definition which is requested. My code with usb device works. I hope that this solution helps, because I spend a lot of time trying to understand what happens and solve it.
|
please specify the core release version of arduino-pico https://github.com/earlephilhower/arduino-pico/releases |
My core version is 4.4.1, but I am not sure how to check it.
And log from pio pkg:
It looks that I have version 1.4 not 4.4.1 as I thought.
It stays same 1.4, only git hash changes. |
1.4 is too old, please update core version to latest and re-test. If you couldn't update the core, try to reduce the tinyusb lib to version that work with the old core. |
Operating System
Windows 11
Arduino IDE version
VSCode+Platformio
Board
RP2040
ArduinoCore version
n/a
TinyUSB Library version
f13b57a
Sketch as ATTACHED TXT
n/a
Compiled Log as ATTACHED TXT
What happened ?
Updated to newer version of TinyUSB on my RP2040 project, compile fails with the output below. I've done a
git bisect
and found thatf13b57a01aaed4fe51b3000cb3ce89ad8c8c83dc is the first bad commit
. Hope this helps someone!How to reproduce ?
Compile on RP2040 with any version of TinyUSB after commit f13b57a.
Debug Log
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: