Skip to content

Commit

Permalink
hwdef: remove uart7 from thepeach-r1 bootloader to get it compiling
Browse files Browse the repository at this point in the history
out of space otherwise
  • Loading branch information
peterbarker committed Apr 22, 2023
1 parent e37b3f9 commit d3ce035
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions libraries/AP_HAL_ChibiOS/hwdef/thepeach-r1/hwdef-bl.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
DEFAULTGPIO OUTPUT LOW PULLDOWN

0 comments on commit d3ce035

Please sign in to comment.