[uart] Make rx pin respect pullup and pulldown settings (#9248)

This commit is contained in:
Anton Sergunov authored and Jesse Hills committed 2025-10-24 07:51:38 +13:00
1 parent de2f475dbd
commit febee437d6
4 files changed
+31

No files matched your search

@@ -52,6 +52,13 @@ uint16_t RP2040UartComponent::get_config() {
}
void RP2040UartComponent::setup() {
if (this->rx_pin_) {
this->rx_pin_->setup();
}
if (this->tx_pin_ && this->rx_pin_ != this->tx_pin_) {
this->tx_pin_->setup();
}
uint16_t config = get_config();
constexpr uint32_t valid_tx_uart_0 = __bitset({0, 12, 16, 28});