Open
Description
Operating System
Windows 11
Arduino IDE version
1.8.19
Board
QT Py ESP32
ArduinoCore version
ESP32 BSP 3.2.0
TinyUSB Library version
3.4.4
Sketch as ATTACHED TXT
\examples\DualRole\Simple\device_info_max3421e
Compiled Log as ATTACHED TXT
What happened ?
hihi @hathach - it seems that another issue has popped up with the MAX3421E. When I compile for the QT Py ESP32, I get the following error:
/home/runner/.arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/runner/.cache/arduino/sketches/7DA94D85201F33408D3AAF730EF50FE4/libraries/Adafruit_TinyUSB_Library/portable/analog/max3421/hcd_max3421.c.o:(.literal.hcd_edpt_xfer+0x0): undefined reference to `__atomic_test_and_set'
/home/runner/.arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/runner/.cache/arduino/sketches/7DA94D85201F33408D3AAF730EF50FE4/libraries/Adafruit_TinyUSB_Library/portable/analog/max3421/hcd_max3421.c.o: in function `usb_xfer_test_and_set':
/home/runner/Arduino/libraries/Adafruit_TinyUSB_Library/src/portable/analog/max3421/hcd_max3421.c:272:(.text.hcd_edpt_xfer+0x72): undefined reference to `__atomic_test_and_set'
/home/runner/.arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/runner/Arduino/libraries/Adafruit_TinyUSB_Library/src/portable/analog/max3421/hcd_max3421.c:272:(.text.hcd_setup_send+0x4c): undefined reference to `__atomic_test_and_set'
/home/runner/.arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /home/runner/Arduino/libraries/Adafruit_TinyUSB_Library/src/portable/analog/max3421/hcd_max3421.c:272:(.text.hcd_int_handler+0x79): undefined reference to `__atomic_test_and_set'
collect2: error: ld returned 1 exit status
Error during build: exit status 1
this initially came up during a Learn repo CI run and then I was able to reproduce locally
How to reproduce ?
open device_info_max3421e example, compile for an esp32 board.
Debug Log
No response
Screenshots
No response