diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index 674ea794b8..935db8536f 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -2404,6 +2404,8 @@ INCLUDE common.ld gpioset = set() for label in self.bylabel: p = self.bylabel[label] + if 'SPI' in label and ('RX' in label or 'TX' in label): + continue gpio = p.extra_value('GPIO', type=int) if gpio is None: continue