summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2021-03-10 17:37:04 -0600
committerJeff Epler <jepler@gmail.com>2021-03-10 18:44:10 -0600
commitc95def0b3209f8ec66f0fb322cc4235328065ed2 (patch)
tree013948a45ee23983a302f691771acc6e365f5f95
parentbe9e045ee3562e4fff0f982a4bf53654da8107b6 (diff)
raspberrypi: Enable mp3 playback
The rp2040 is _very_ marginal for mp3 playback, and currently sometimes triggers a bug that gives garbled audio output. However, it does work for some limited situations.
m---------lib/mp30
-rw-r--r--ports/raspberrypi/mpconfigport.mk2
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/mp3 b/lib/mp3
-Subproject bc58a654964c799e972719a63ff12694998f354
+Subproject 7a5de1ad777e95b0f4fab7bbd35678c7d319b1b
diff --git a/ports/raspberrypi/mpconfigport.mk b/ports/raspberrypi/mpconfigport.mk
index 03de6ce5e..338828027 100644
--- a/ports/raspberrypi/mpconfigport.mk
+++ b/ports/raspberrypi/mpconfigport.mk
@@ -25,6 +25,7 @@ endif
CIRCUITPY_FRAMEBUFFERIO = 1
CIRCUITPY_FULL_BUILD = 1
+CIRCUITPY_AUDIOMP3 ?= 1
CIRCUITPY_BITOPS = 1
CIRCUITPY_PWMIO = 1
CIRCUITPY_RGBMATRIX = 1
@@ -47,7 +48,6 @@ CIRCUITPY_AUDIOPWMIO ?= 1
# These libraries require Cortex M4+ for fancy math instructions.
CIRCUITPY_AUDIOMIXER ?= 0
-CIRCUITPY_AUDIOMP3 ?= 0
INTERNAL_LIBM = 1