summaryrefslogtreecommitdiff
path: root/py/circuitpy_mpconfig.mk
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-05-06 11:04:53 -0500
committerJeff Epler <jepler@gmail.com>2020-06-26 11:50:23 -0500
commit57fde2e07bb2ee4dcff342deed08e4e7799da799 (patch)
treee0c9f2ecccc45637a48db61e823485ad3460e9cf /py/circuitpy_mpconfig.mk
parent12df4ce221b212c866f83c0ccf0233458fb421bd (diff)
sdcardio: implement new library for SD card I/O
Testing performed: That a card is successfully mounted on Pygamer with the built in SD card slot This module is enabled for most FULL_BUILD boards, but is disabled for samd21 ("M0"), litex, and pca10100 for various reasons.
Diffstat (limited to 'py/circuitpy_mpconfig.mk')
-rw-r--r--py/circuitpy_mpconfig.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.mk b/py/circuitpy_mpconfig.mk
index 3459bff6d..0850c195a 100644
--- a/py/circuitpy_mpconfig.mk
+++ b/py/circuitpy_mpconfig.mk
@@ -166,6 +166,9 @@ CFLAGS += -DCIRCUITPY_RTC=$(CIRCUITPY_RTC)
CIRCUITPY_SAMD ?= 0
CFLAGS += -DCIRCUITPY_SAMD=$(CIRCUITPY_SAMD)
+CIRCUITPY_SDCARDIO ?= $(CIRCUITPY_FULL_BUILD)
+CFLAGS += -DCIRCUITPY_SDCARDIO=$(CIRCUITPY_SDCARDIO)
+
# Currently always off.
CIRCUITPY_STAGE ?= 0
CFLAGS += -DCIRCUITPY_STAGE=$(CIRCUITPY_STAGE)