CMD25 workaround for SDIO

This commit is contained in:
UncleRus 2018-08-02 19:05:42 +05:00
parent 46499c0f26
commit e104409d52
2 changed files with 25 additions and 4 deletions

View file

@ -4,4 +4,9 @@ INC_DIRS += $(sdio_ROOT)..
# args for passing into compile rule generation
sdio_SRC_DIR = $(sdio_ROOT)
# Workaround unsupported CMD25 for very old SD cards
SDIO_CMD25_WORKAROUND ?= 0
sdio_CFLAGS = $(CFLAGS) -DSDIO_CMD25_WORKAROUND=$(SDIO_CMD25_WORKAROUND)
$(eval $(call component_compile_rules,sdio))