Files
lk/platform/rp20xx/uart.c
Brian Swetland b142c6bdcd [rp20xx][pico] platform and target for rp20xx and pico board
- just a skeleton to get us started
- cpu feature config and irq names / vectab2 setup done
- pulled in the second stage for pico as a blob for now
- seems to be hard faulting out of systick setup in platform_init()
2021-02-05 19:25:19 -08:00

31 lines
516 B
C

// Copyright (c) 2020 Brian Swetland
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <lk/reg.h>
#include <lib/cbuf.h>
void uart_init_early(void) {
for (;;) ;
}
void uart_init(void) {
}
int uart_putc(int port, char c) {
return 1;
}
int uart_getc(int port, bool wait) {
return -1;
}
void uart_flush_tx(int port) {}
void uart_flush_rx(int port) {}
void uart_init_port(int port, uint baud) {}