QUERY · ISSUE
ESP32-C3 I2S
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.
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.