Set Pin 15/16 to UART

This commit is contained in:
2025-05-20 14:16:48 +02:00
parent 5e8180ceaf
commit 83adfc9311

View File

@@ -30,6 +30,8 @@ extern "C" fn main() {
uart::configure_uart(); uart::configure_uart();
unsafe { unsafe {
let _ = set_gpio_state(29, gpio::GPIOState::Output); let _ = set_gpio_state(29, gpio::GPIOState::Output);
let _ = set_gpio_state(14, gpio::GPIOState::Alternative0);
let _ = set_gpio_state(15, gpio::GPIOState::Alternative0);
} }
// Delay so clock speed can stabilize // Delay so clock speed can stabilize