0

tinyusb_library not being found by arduino, but is on the sy
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

tinyusb_library not being found by arduino, but is on the sy

by plasnid on Sun Jul 25, 2021 12:16 am

I'm battling through understanding the nrf52832 feather. I have the blink sketch going, the board connected to arduino, and everything is gravy until I add bluefruit.h through playing with the examples. At that point I get the following error.

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.15 (Mac OS X), Board: "Adafruit Feather nRF52832, S132 6.1.1, Level 0 (Release)"
In file included from /Users/stuartsackler/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/Adafruit_TinyUSB.h:28,
Multiple libraries were found for "Adafruit_TinyUSB.h"
 Used: /Users/stuartsackler/Documents/Arduino/libraries/Adafruit_TinyUSB_Library
                 from /var/folders/bx/djj_s28n5hgfz6kn6j4v4whw0000gn/T/arduino_modified_sketch_780349/bleuart.ino:1:
/Users/stuartsackler/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/Adafruit_USBD_MSC.h:28:10: fatal error: Adafruit_TinyUSB_Core.h: No such file or directory
 Not used: /Users/stuartsackler/Library/Arduino15/packages/adafruit/hardware/nrf52/0.24.0/libraries/Adafruit_TinyUSB_Arduino
   28 | #include "Adafruit_TinyUSB_Core.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Adafruit Feather nRF52832.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Am I missing an install somewhere along the process?

plasnid
 
Posts: 12
Joined: Fri Oct 16, 2020 11:36 pm

Re: tinyusb_library not being found by arduino, but is on th

by plasnid on Sun Jul 25, 2021 12:31 am

I was indeed missing an install. I needed up update the adafruit_tinyusb libraries. Once I did that, the error disappeared!

plasnid
 
Posts: 12
Joined: Fri Oct 16, 2020 11:36 pm

Please be positive and constructive with your questions and comments.


cron