Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CIRCUITPY_ESPCAMERA = 1

CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOI2SIN = 0
CIRCUITPY_AUDIOPWMIO = 0
CIRCUITPY_CANIO = 0
CIRCUITPY_DUALBANK = 0
CIRCUITPY_FRAMEBUFFERIO = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ CIRCUITPY_AUDIOCORE = 0
CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOBUSIO_PDMIN = 0
CIRCUITPY_AUDIOI2SIN = 0
CIRCUITPY_AUDIOPWMIO = 0
7 changes: 5 additions & 2 deletions ports/espressif/mpconfigport.mk
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ CIRCUITPY_ESP_USB_SERIAL_JTAG ?= 0
# No DAC
CIRCUITPY_AUDIOIO = 0

# LEDC + GPTimer PWM audio, the only analog audio output without I2S hardware.
CIRCUITPY_AUDIOPWMIO ?= 1

endif
#### end chip-specific choices ########################################

Expand Down Expand Up @@ -552,8 +555,8 @@ USB_NUM_IN_ENDPOINTS = 5
# only thing a user needs, with no custom build.
ifeq ($(IDF_TARGET),esp32s3)
# It needs the TinyUSB device stack and audiocore, so leave it off for boards
# that turn either off. The S3 has no AUDIOIO and no AUDIOPWMIO, so audiocore
# follows CIRCUITPY_AUDIOBUSIO here.
# that turn either off. CIRCUITPY_AUDIOCORE is not set yet at this point, so
# boards that drop audio are recognized by CIRCUITPY_AUDIOBUSIO = 0 instead.
ifeq ($(filter 0,$(CIRCUITPY_USB_DEVICE) $(CIRCUITPY_AUDIOCORE) $(CIRCUITPY_AUDIOBUSIO)),)
CIRCUITPY_USB_AUDIO ?= 1
endif
Expand Down
Loading