STM32H7 - Fix building targets that can optionally define USE_SDCARD
commit845940dd908eb2f19f78fce9c96e3e3c674d3ecb
authorDominic Clifton <dominic.clifton@cleanflight.com>
Wed, 22 May 2019 13:13:40 +0000 (22 15:13 +0200)
committerDominic Clifton <dominic.clifton@cleanflight.com>
Wed, 26 Jun 2019 10:21:42 +0000 (26 12:21 +0200)
tree1b89cfafc3f9b1697c55542b587476b4f454fbdd
parent2a6e94d030a615f3e18ea9731c5fb4323b9b3ac2
STM32H7 - Fix building targets that can optionally define USE_SDCARD

i.e. MINIMALH750_EXST doesn't currently build, but should when
USE_SDCARD is enabled in the target config.

The issue arises from target .mk file's FEATURES list in combination
with STM32H7.mk including sdcard specific file when the SDCARD_SDIO
feature is enabled.
src/main/msc/usbd_storage_sdio.c