← index #8641PR #18386
Related · medium · value 1.989
QUERY · ISSUE

ESP32-C3 I2S

openby dave1167opened 2022-05-06updated 2025-01-03
port-esp32

Hi,
Is there any technical reason why I2S is missing from the ESP32-C3 build? Is there a likelihood it will be included in the future?
Many thanks

CANDIDATE · PULL REQUEST

Adjust Pins used to allow tests on ESP32-C3.

mergedby Josverlopened 2025-11-08updated 2025-11-19
port-esp32tests

Summary

Changed the pin numbers used for the I2S rate testing as the pin numbers used were incompatible with the limited GPIO pins availalbe on the ESP32-C3 , causing the tests to fail

Testing

Ran the updated test against:

  • ESP32_GENERIC
  • ESP32_GENERIC_C3
  • ESP32_GENERIC_S2
  • ESP32_GENERIC_S3

Trade-offs and Alternatives

Could use sys.implementation._machine or ._build to determine the board the tests is run on and adjust the pins based on that, rather than through exception handling.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied