summaryrefslogtreecommitdiff
path: root/ports/stm32/mboot/sdcard.c
blob: caf3dbf3c007e214fe75960e649d711882636b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Include relevant source files for SD card only when it's needed and
// configured at the C level (in mpconfigboard.h).

#include "py/mpconfig.h"

#if defined(MBOOT_SDCARD_ADDR)

#define MICROPY_HW_DMA_ENABLE_AUTO_TURN_OFF (0)

#include "ports/stm32/dma.c"
#include "ports/stm32/sdcard.c"

#endif