summaryrefslogtreecommitdiff
path: root/py/circuitpy_mpconfig.mk
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-12-10 21:04:46 -0500
committerDan Halbert <halbert@halwitz.org>2019-12-10 21:04:46 -0500
commit68ae47907c076a966a533d90371acf65ae9875c8 (patch)
treedce1b21bbbf658e596dd27da3ce6b8e9fa14fdd4 /py/circuitpy_mpconfig.mk
parent013c84086288141696e4c09250c61b6f2dbdf4d2 (diff)
parent024ba978ec909d39d411a74b443d2ffa20250fa6 (diff)
merge from upstream
Diffstat (limited to 'py/circuitpy_mpconfig.mk')
-rw-r--r--py/circuitpy_mpconfig.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk
index 8ab6b1288..a464583f3 100644
--- a/py/circuitpy_mpconfig.mk
+++ b/py/circuitpy_mpconfig.mk
@@ -109,6 +109,15 @@ CIRCUITPY_AUDIOMIXER = $(CIRCUITPY_AUDIOIO)
endif
CFLAGS += -DCIRCUITPY_AUDIOMIXER=$(CIRCUITPY_AUDIOMIXER)
+ifndef CIRCUITPY_AUDIOMP3
+ifeq ($(CIRCUITPY_FULL_BUILD),1)
+CIRCUITPY_AUDIOMP3 = $(CIRCUITPY_AUDIOCORE)
+else
+CIRCUITPY_AUDIOMP3 = 0
+endif
+endif
+CFLAGS += -DCIRCUITPY_AUDIOMP3=$(CIRCUITPY_AUDIOMP3)
+
ifndef CIRCUITPY_BITBANGIO
CIRCUITPY_BITBANGIO = $(CIRCUITPY_FULL_BUILD)
endif