arduino / arduino/ArduinoCore-mbed

Examples installed by the board manager are different from this repository

Open
#697 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm trying to compile sample USB Host HID (to support Keyboard and Mouse).

I found this [tutorial](https://learn.sparkfun.com/tutorials/rp2040-thing-plus-hookup-guide/all), but it has more [libraries](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries) in this repository than the libraries that were installed.

[![img](https://cdn.sparkfun.com/r/600-600/assets/learn_tutorials/1/5/2/7/RP2040_boards_manager.PNG)](https://learn.sparkfun.com/tutorials/rp2040-thing-plus-hookup-guide/all)

If I manually copy the library [USBHOST](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries/USBHOST) to the folder where the other library are, this example did not compile:
https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/USBHOST/examples/KeyboardController/KeyboardController.ino

> /home/user/.arduino15/packages/arduino/hardware/mbed_rp2040/4.0.2/libraries/USBHOST/src/teeny_usb_platform.h:93:2: error: #error Device not supported
> #error Device not supported

Is it wrong to use the Board Manager to install this core?

Is this example not compatible with the core of this repository?

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the repository's libraries/USBHOST example with the Board Manager-installed core at /home/user/.arduino15/packages/arduino/hardware/mbed_rp2040/4.0.2. Start with libraries/USBHOST/examples/KeyboardController/KeyboardController.ino and libraries/USBHOST/src/teeny_usb_platform.h, then determine whether the reported RP2040 setup is supported and why the example reaches “Device not supported.” Done means the installation and compatibility guidance is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.