Anonymous View
Skip to content

Turn on PDMIn on ESP32. Update limitations doc for PDMIn and TouchAlarm.rm. Improve option handling in espressif/mpconfigport.mk.#11056

Merged
dhalbert merged 4 commits into
adafruit:mainfrom
dhalbert:espressif-pdmin-support
Jun 18, 2026
Merged

Turn on PDMIn on ESP32. Update limitations doc for PDMIn and TouchAlarm.rm. Improve option handling in espressif/mpconfigport.mk.#11056
dhalbert merged 4 commits into
adafruit:mainfrom
dhalbert:espressif-pdmin-support

Conversation

@dhalbert

@dhalbert dhalbert commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

PDMIn on Espressif uses the I2S peripheral. Hardware PDM-to-PCM conversion is only available on certain chips: see #11055 (comment).

  • Turn on PDMIn on ESP32.
  • Correct documentation for PDMIn limitations on Espressif.
  • Correct documentation for TouchAlarm limitations on Espressif.
  • Touch up option handling in espressif/mpconfigport.mk to allow enabled options to be disabled, by changing the ?= defaults and changing the settings for various chips. Also fully turn off some unavailable options.
  • Add code for SOC_TOUCH_SENSOR_VERSION == 3, which includes ESP32-P4 and a few other very new chips. A brief test on an ESP32-P4 shows that peripherals/touch.c is not working, but I'll make a separate issue for that. The main point of the changes here for P4 touchio are just to get it to compile.

@CrackXT

@dhalbert dhalbert force-pushed the espressif-pdmin-support branch from d0daee3 to b9602c7 Compare June 17, 2026 20:25
@dhalbert dhalbert requested a review from FoamyGuy June 18, 2026 01:28

@FoamyGuy FoamyGuy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you.

@dhalbert dhalbert merged commit d47f5ac into adafruit:main Jun 18, 2026
529 of 530 checks passed
@dhalbert dhalbert deleted the espressif-pdmin-support branch June 18, 2026 13:37
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.

PDMIn Bug on ESP32-S2 (NotImplementedError: PDMIn)

2 participants