Comments (10)
please use the current develop
branch of the BSP https://github.com/adafruit/Adafruit_nRF52_Arduino
The library support BSP isn't released yet.
from adafruit_tinyusb_arduino.
This library is linked to from the PyGamer guide @ https://learn.adafruit.com/adafruit-pygamer/arduino-libraries and without the missing Core files it will not compile. Is it the guide or the library or perhaps some other location where the library should be found?
from adafruit_tinyusb_arduino.
@osimons you need to install the latest Adafruit SAMD core, tinyusb is only supported since core version 1.5.
E: Nvm, missed that its about the NRF52840
from adafruit_tinyusb_arduino.
Thanks. I get it working using latest Arduino IDE 1.8.9 with SAMD boards + libraries. I was however trying to recreate the tutorial & 'arcada_pygamer_test' example using latest PlatformIO (4.0.0.a18), but my approach may be flawed.
from adafruit_tinyusb_arduino.
did you select Tinyusb in the menu -> Tools -> USB Stack
from adafruit_tinyusb_arduino.
Yes, @hathach. All is fine in Arduino IDE.
I'm instead trying to use PlatformIO with library dependencies, but I'm unable to locate the TinyUSB_Core files in that build environment.
from adafruit_tinyusb_arduino.
Looks like the PIO Atmel SAM platform has Adafruit SAMD core 1.4.1 right now, I guess we'll just have to wait for it to be updated to 1.5+
from adafruit_tinyusb_arduino.
yes we're doing a 3-repo update :)
from adafruit_tinyusb_arduino.
Still have the exact same issue in Platformio 1.50.1 😡
In file included from .pio/libdeps/bluepill_f103c8_128k/Adafruit TinyUSB Library/src/Adafruit_TinyUSB.h:28,
from src/main.cpp:12:
.pio/libdeps/bluepill_f103c8_128k/Adafruit TinyUSB Library/src/Adafruit_USBD_HID.h:28:10: fatal error: Adafruit_TinyUSB_Core.h: No such file or directory
*******************************************************************************
* Looking for Adafruit_TinyUSB_Core.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:Adafruit_TinyUSB_Core.h"
* Web > https://platformio.org/lib/search?query=header:Adafruit_TinyUSB_Core.h
*
*******************************************************************************
28 | #include "Adafruit_TinyUSB_Core.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/bluepill_f103c8_128k/src/main.cpp.o] Error 1
In file included from .pio/libdeps/bluepill_f103c8_128k/Adafruit TinyUSB Library/src/Adafruit_TinyUSB.h:28,
from .pio/libdeps/bluepill_f103c8_128k/Adafruit TinyUSB Library/src/Adafruit_TinyUSB.cpp:25:
.pio/libdeps/bluepill_f103c8_128k/Adafruit TinyUSB Library/src/Adafruit_USBD_HID.h:28:10: fatal error: Adafruit_TinyUSB_Core.h: No such file or directory
*******************************************************************************
* Looking for Adafruit_TinyUSB_Core.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:Adafruit_TinyUSB_Core.h"
* Web > https://platformio.org/lib/search?query=header:Adafruit_TinyUSB_Core.h
*
*******************************************************************************
28 | #include "Adafruit_TinyUSB_Core.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/bluepill_f103c8_128k/lib30b/Adafruit TinyUSB Library/Adafruit_TinyUSB.cpp.o] Error 1
from adafruit_tinyusb_arduino.
@CodeOhms
It seems you are using a STM32 based board which is not supported by this Arduino library yet. If you want to use TinyUSB with STM32 checkout the core project but keep in mind that this is bare C and does not come with Arduino support: https://github.com/hathach/tinyusb
from adafruit_tinyusb_arduino.
Related Issues (20)
- RNDIS/USB network example HOT 3
- Request to add the CH375 Chip USB Host feature HOT 1
- cant verify correctly error: missing Adafruit_USBD_CDC.h file eventhough i have it. HOT 2
- examples/HID/hid_boot_keyboard not working. HOT 1
- Conflicting Types in 3.1.3 HOT 5
- Failed to compile msc_sd example
- Compiler states: SPI header is missing, causing compilation to terminate. HOT 1
- CFG_TUSB_DEBUG=2 Serial deadlock on nRF52840
- "midi_test" does not compile for ESP32S3 HOT 5
- Allow setting of USB Power parameter
- How should I be compatible when encountering unsupported USB devices? For example, a mouse?
- 3.1.3 and 3.1.4 cause delay in enumeration
- My mouse is not working properly in the example of hid_device_report.ino, as it is unable to output data for the scroll wheel
- ESP32-S3: Adafruit_TinyUSB sending garbage / loopback-like traffic on reading only sketch. HOT 2
- Add custom report descriptors HOT 1
- Allow to see progress of file copy HOT 1
- Not working USB HID examples, device is never ready
- USB MSC on Not Attaching Feather ESP32-S3 Reverse TFT HOT 5
- usb host not working with pio-usb v0.6
- USB Host implementation hangs when sending long strings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_tinyusb_arduino.