Skip to content

Commit 50a971e

Browse files
committed
espressif: enable MP3Decoder on esp32s3
1 parent 08a440d commit 50a971e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ports/espressif/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ CFLAGS += \
152152
-DESP_PLATFORM=1 \
153153
-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" \
154154
-DMBEDTLS_PADLOCK_FILE=\"ports/espressif/esp-idf/components/mbedtls/mbedtls/library/padlock.h\" \
155-
-DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX
155+
-DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX \
156+
-DMP3DEC_GENERIC
156157

157158
# Make our canary value match FreeRTOS's
158159
# This define is in FreeRTOS as tskSTACK_FILL_BYTE 0xa5U which we expand out to a full word.

ports/espressif/mpconfigport.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ CIRCUITPY_ANALOGBUFIO ?= 1
2222
CIRCUITPY_AUDIOBUSIO ?= 1
2323
CIRCUITPY_AUDIOBUSIO_PDMIN ?= 0
2424
CIRCUITPY_AUDIOIO ?= 0
25-
CIRCUITPY_AUDIOMP3 ?= 0
2625
CIRCUITPY_BLEIO_HCI = 0
2726
CIRCUITPY_CANIO ?= 1
2827
CIRCUITPY_COUNTIO ?= 1
@@ -136,6 +135,7 @@ CIRCUITPY_BLEIO ?= 0
136135
else
137136
CIRCUITPY_BLEIO ?= 1
138137
endif
138+
CIRCUITPY_AUDIOMP3 ?= 1
139139

140140
endif
141141

@@ -178,3 +178,5 @@ USB_NUM_IN_ENDPOINTS = 5
178178

179179
# Usually lots of flash space available
180180
CIRCUITPY_MESSAGE_COMPRESSION_LEVEL ?= 1
181+
182+
CIRCUITPY_AUDIOMP3 ?= 0

0 commit comments

Comments
 (0)