From d3ce0356b89e9c52eab47c2e9e1b3e4d866795e1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 21 Apr 2023 07:29:49 +1000 Subject: [PATCH] hwdef: remove uart7 from thepeach-r1 bootloader to get it compiling out of space otherwise --- libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef-bl.dat | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef-bl.dat index 293459338d..6e85b46109 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef-bl.dat @@ -32,7 +32,7 @@ USB_STRING_MANUFACTURER "ArduPilot" define BOOTLOADER_BAUDRATE 115200 # uarts and USB to run bootloader protocol on -SERIAL_ORDER OTG1 USART2 USART3 UART7 +SERIAL_ORDER OTG1 USART2 USART3 # this is the pin that senses USB being connected. It is an input pin # setup as OPENDRAIN @@ -59,10 +59,6 @@ PD9 USART3_RX USART3 PD11 USART3_CTS USART3 PD12 USART3_RTS USART3 -# UART7 maps to uartF in the HAL (serial5 in SERIALn_ parameters) -PE7 UART7_RX UART7 -PE8 UART7_TX UART7 - # define a LED PE12 LED_BOOTLOADER OUTPUT define HAL_LED_ON 1 @@ -82,4 +78,4 @@ PD7 MS5611_CS CS PD10 FRAM_CS CS SPEED_VERYLOW # default to all pins low to avoid ESD issues -DEFAULTGPIO OUTPUT LOW PULLDOWN \ No newline at end of file +DEFAULTGPIO OUTPUT LOW PULLDOWN