Giter VIP home page Giter VIP logo

Comments (10)

hathach avatar hathach commented on August 11, 2024

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.

osimons avatar osimons commented on August 11, 2024

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.

timonsku avatar timonsku commented on August 11, 2024

@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.

osimons avatar osimons commented on August 11, 2024

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.

hathach avatar hathach commented on August 11, 2024

did you select Tinyusb in the menu -> Tools -> USB Stack

from adafruit_tinyusb_arduino.

osimons avatar osimons commented on August 11, 2024

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.

stringlapse avatar stringlapse commented on August 11, 2024

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.

ladyada avatar ladyada commented on August 11, 2024

yes we're doing a 3-repo update :)

from adafruit_tinyusb_arduino.

CodeOhms avatar CodeOhms commented on August 11, 2024

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.

timonsku avatar timonsku commented on August 11, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.