mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-16 20:22:26 +00:00
Set Pin 15/16 to UART
This commit is contained in:
@@ -30,6 +30,8 @@ extern "C" fn main() {
|
||||
uart::configure_uart();
|
||||
unsafe {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user