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