Skip to content

ESP32-S2/S3 compile fails w/ "undefined reference to `__atomic_test_and_set'" for ESP32 core 3.2.0 #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
todbot opened this issue Apr 25, 2025 · 1 comment
Labels
Bug Something isn't working

Comments

@todbot
Copy link

todbot commented Apr 25, 2025

Operating System

MacOS

Arduino IDE version

2.3.5

Board

Adafruit QTPy ESP32-S2, Adafruit QTPy ESP32-S3

ArduinoCore version

3.2.0

TinyUSB Library version

3.4.4

Sketch as ATTACHED TXT

Trying to compile "hid_composite" or "hid_boot_keyboard" example.

Compiled Log as ATTACHED TXT

esp32s3-tinyusb-error.txt

What happened ?

Compile HID examples on ESP32-S2 or ESP32-S3 and get linker errors
"hcd_max3421.c:272:(.text.hcd_setup_send+0x4c): undefined reference to `__atomic_test_and_set'"

Downgrading to ESP32 Arduino core 3.1.3 allows compilation

How to reproduce ?

  1. Open Arduino IDE
  2. Select ESP32-S2 or ESP32-S3 board
  3. Open Examples / Adafruit TinyUSB Library / hid_composite example
  4. Compile

Debug Log

No response

Screenshots

No response

@todbot todbot added the Bug Something isn't working label Apr 25, 2025
@tyeth
Copy link
Contributor

tyeth commented Apr 25, 2025

Probable duplicate of #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants