mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 17:12:01 +08:00
* [sdio][dm] import Kconfig for DM Signed-off-by: GuEe-GUI <2991707448@qq.com> * [sdio] fixup IRQ and mmcsd threads' stack size default Signed-off-by: GuEe-GUI <2991707448@qq.com> * [sdio][dm] Support DM mode 1. Support features read by DM. 2. Support regulator API in drivers. 3. Support send tuning option CMD. 4. Replace `switch_uhs_voltage` by `signal_voltage_switch`. Signed-off-by: GuEe-GUI <2991707448@qq.com> * [dm][sdhci] Cleanup the SDHCI Signed-off-by: GuEe-GUI <2991707448@qq.com> * [sdio][dm] add new SDIO/SDHCI drivers 1. SDHCI support on PCI bus 2. Synopsys DesignWare MMC Family(MMIO/PCI) Signed-off-by: GuEe-GUI <2991707448@qq.com> --------- Signed-off-by: GuEe-GUI <2991707448@qq.com>
25 lines
517 B
Python
Executable File
25 lines
517 B
Python
Executable File
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_SDIO']) and not GetDepend(['RT_USING_DM']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../../include']
|
|
|
|
src = []
|
|
|
|
if GetDepend(['RT_SDIO_SDHCI_PCI']):
|
|
src += ['sdhci-pci.c']
|
|
|
|
if GetDepend(['RT_SDIO_DW_MMC']):
|
|
src += ['sdio-dw.c', 'sdio-dw-platform.c']
|
|
|
|
if GetDepend(['RT_SDIO_DW_MMC_PCI']):
|
|
src += ['sdio-dw-pci.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|