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
LDF can't work with latest Adafruit TinyUSB on any setting #4838
Comments
Hi @maxgerhardt, thanks for reporting. I've reproduced the issue and it seems it's caused by a circular dependency between As a workaround I'd recommend using the library version bundled with the framework package at the moment. |
What kind of issue is this?
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Windows 10 x64
PlatformIO Version (
platformio --version
):PlatformIO Core, version 6.1.13
Description of problem
A Atmel SAM project that attempts to include Adafruit TinyUSB library of the latest version (2.3.2 down to and including 2.2.2) fails to properly compile, not finding the
SPI.h
header declared in theAdafruit_USBH_Host.h
file. Version 2.2.1 compiles fine, because it did not have an include for SPI.h.The LDF fails to find the dependency on SPI.h no matter the
lib_ldf_mode
setting (deep+
,deep
,chain
,chain+
tested and failed). This makes this library impossible to compile for the board in PlatformIO.Per community topic.
Steps to Reproduce
platformio.ini
andsrc/main.cpp
provided belowadafruit/Adafruit TinyUSB [email protected]
and rebuildActual Results
Expected Results
Compiles fine
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
Especially concerning are the messages in verbose mode that the LDF fail to evalute the TinyUSB macro
TU_CHECK_MCU
correctly.The text was updated successfully, but these errors were encountered: