-
Notifications
You must be signed in to change notification settings - Fork 476
Including SPI and/or EEPROM seems to force Adafruit TinyUSB stack #477
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
The TinyUSB include is arduino-pico/libraries/EEPROM/EEPROM.cpp Lines 28 to 35 in ba92377
In theory, nothing should link to the TinyUSB library even if it compiled, w/o that |
The problem I have is the following is causing it to not even compile unless I explicitly tell it to use the TinyUSB stack (by adding said define to platformio.ini)
|
I'm not familiar with P.IO, unfortunately. I seem to remember there being a "deep mode." Maybe that would actually make it obey the OTW, maybe @maxgerhardt has an idea? |
@earlephilhower Thanks for the pointer, with your suggestion I immeditely found a workaround. |
Correct, PlatformIO's library dependency finder (LDF) seems to detect the dependency on A more correct fix would be to add a |
Setting |
Fixed with #513 |
Uh oh!
There was an error while loading. Please reload this page.
I have started using this in PlatformIO using the steps documented on the readthedocs website.
Everything seems to be working fine, except that as soon as I use SPI, it forces me to swap to the Adafruit TinyUSB stack.
As can be seen by the dependency graph below, it seems SPI depends on it somehow? As does EEPROM?
Did I set up something wrong or is that library required to operate EEPROM or SPI?
(I tested and it actually fails to compile if I select a different USB stack, as in, the default one)
The text was updated successfully, but these errors were encountered: