Skip to content
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

Fix building for ESP32C2. #311

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Fix building for ESP32C2. #311

merged 1 commit into from
Sep 26, 2023

Conversation

dacut
Copy link
Contributor

@dacut dacut commented Sep 25, 2023

Fixes #282.

ESP32C2 doesn't have an I2S peripheral. This is fixed by adding esp_idf_soc_i2s_supported cfg checks in various places.

ESP32C2's ADC perhiperhal doesn't have a continuous mode. Alas, ESP-IDF doesn't expose a flag for this, so we have to add a few not(esp32c2) checks in places.

@dacut
Copy link
Contributor Author

dacut commented Sep 25, 2023

<sigh> espup failed to download.

@ivmarkov ivmarkov merged commit e6603eb into esp-rs:master Sep 26, 2023
8 checks passed
@dacut dacut deleted the issue-282 branch September 27, 2023 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

esp-idf-hal fails to compile with MCU=esp32c2
2 participants