1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 11:00:02 +03:00

Pico uart pin configure (#14473)

* Add empty uartPinConfigure() implementation for RP2350

* Fix tabs
This commit is contained in:
Steve Evans 2025-06-22 22:36:31 +01:00 committed by GitHub
parent 190abede9e
commit e63dfb9a9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 7 deletions

View file

@ -195,19 +195,19 @@ Configure how the SPI serialises and deserialises data on the wire
Parameters
spi
spi
SPI instance specifier, either spi0 or spi1
data_bits
data_bits
Number of data bits per transfer. Valid values 4..16.
cpol
cpol
SSPCLKOUT polarity, applicable to Motorola SPI frame format only.
cpha
cpha
SSPCLKOUT phase, applicable to Motorola SPI frame format only
order
order
Must be SPI_MSB_FIRST, no other values supported on the PL022

View file

@ -390,7 +390,6 @@ MCU_COMMON_SRC = \
drivers/bus_spi_config.c \
drivers/bus_i2c_utils.c \
drivers/serial_pinconfig.c \
drivers/serial_uart_pinconfig.c \
drivers/usb_io.c \
drivers/dshot.c \
PICO/bus_i2c_pico.c \

View file

@ -337,4 +337,10 @@ void uartReconfigure(uartPort_t *s)
#endif
}
void uartPinConfigure(const serialPinConfig_t *pSerialPinConfig)
{
UNUSED(pSerialPinConfig);
// Nothing to do currently for PICO
}
#endif /* USE_UART */

View file

@ -106,7 +106,7 @@ ifeq ($(TARGET_MCU),STM32F765xx)
DEVICE_FLAGS += -DSTM32F765xx
LD_SCRIPT = $(LINKER_DIR)/stm32_flash_f765.ld
STARTUP_SRC = STM32/startup/startup_stm32f765xx.s
MCU_FLASH_SIZE := 2048
MCU_FLASH_SIZE := 2048
else ifeq ($(TARGET_MCU),STM32F745xx)
DEVICE_FLAGS += -DSTM32F745xx
LD_SCRIPT = $(LINKER_DIR)/stm32_flash_f74x.ld