platformio / platform-atmelsam

Atmel SAM: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelsam
Apache License 2.0
82 stars 109 forks source link

Adafruit's TinyUSB does not compile on XIAO (Anniversary Edition) #198

Open DP1000 opened 2 years ago

DP1000 commented 2 years ago

Hi everyone, i'ts almost a year that Adafruit's TinyUSB does not compile on Seeduino XIAO when using PlatformIO. Tried again now with Atmel SAM@8.1.0 and Adafruit TinyUSB@1.14.4. Adafruit says that the problem is yours because on Arduino IDE the library works great. I'm not the only one that has this problem, Adafruit TinyUSB repo's full of issues like this, all closed without a fix. Please don't ignore this issue like the other one that i made almost a year ago, thanks.

freasy commented 2 years ago

Bump - having the same problem!

pwfff commented 1 year ago

I think the issue is actually in this repo: https://github.com/Seeed-Studio/ArduinoCore-samd/issues

The TinyUSB submodule there is ancient. I tried updating it myself but I can't even manage to get a custom platform installed in platformio :(

If anyone knows how I could actually test my fork, let me know.

DP1000 commented 1 year ago

Hi @pwfff should we open an issue at ArduinoCore-samd ?

Probably you already had, but have you looked at platformio docs ?

Theremingenieur commented 1 year ago

It seems like Seeedstudio's ArduinoCore-samd has been updated to v. 1.8.5 on September 4, 2023 and this might fix some longstanding issues with Adafruit's TinyUSB. They even pack/link a specific version into their package. https://github.com/adafruit/Adafruit_TinyUSB_Arduino/tree/6d82f2263b6dfb822433e9cd2328657715c6b3f4 @ivankravets : would it be possible to update samd-seeed accordingly to v.1.8.5 please ? I'd then check out if that solves the issue. Thank you in advance !