From c7ca6d77c75bc27d7ad6eaf611d05e20ab954b34 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Mar 2019 20:17:22 +1100 Subject: [PATCH] HAL_ChibiOS: H7 doesn't need a DMA mapping for SDMMC it uses a dedicated internal DMA controller in the SDMMC peripheral --- libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index 48e18db69b..adade8b909 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -1349,7 +1349,8 @@ def build_peripheral_list(): if type.startswith('ADC'): peripherals.append(type) if type.startswith('SDIO') or type.startswith('SDMMC'): - peripherals.append(type) + if not mcu_series.startswith("STM32H7"): + peripherals.append(type) if type.startswith('TIM'): if p.has_extra('RCIN'): label = p.label