adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
465 stars 120 forks source link

[Pico 2040] Compilation errors with PICO_SHARED_IRQ_HANDLER_LOWEST_ORDER_PRIORITY #261

Closed noisysoil closed 1 year ago

noisysoil commented 1 year ago

Operating System

Linux

Arduino IDE version

2.0.4

Board

Pico 2040

ArduinoCore version

Arduino Mbed for Pico 2040 version 4.0.2

TinyUSB Library version

2.0.0

Sketch as ATTACHED TXT

From the Adafruit TinyUSB library examples: hid_gamepad.ino

(Or any other)

Compiled Log as ATTACHED TXT

.../Arduino/libraries/Adafruit_TinyUSB_Library/src/arduino/ports/rp2040/Adafruit_TinyUSB_rp2040.cpp:108:26: error: 'PICO_SHARED_IRQ_HANDLER_LOWEST_ORDER_PRIORITY' was not declared in this scope PICO_SHARED_IRQ_HANDLER_LOWEST_ORDER_PRIORITY); ^~~~~~~~~~~~~

What happened ?

Compilation failure.

How to reproduce ?

Compile any USB example from the 2.0.0 Adafruit library version.

Debug Log

No response

Screenshots

No response

hathach commented 1 year ago

do you know which pico-sdk version that mbed core is based on ?