removes dependency of board.c to libc

This commit is contained in:
2026-04-10 13:09:26 +02:00
parent 86025e020d
commit 21f95341af

View File

@@ -2,8 +2,6 @@
#include "csr.h" #include "csr.h"
#include "platform.h" #include "platform.h"
#include "uart.h" #include "uart.h"
#include <stdio.h>
#include <stdarg.h>
// needed by picolibc/port.c // needed by picolibc/port.c
int uart_putc(int ch) { int uart_putc(int ch) {
@@ -22,11 +20,6 @@ int uart_getc(void) {
return ch; return ch;
} }
int uart_init(void) {
puts("[UART0] : Uart Init Done, this is Test output!");
return 0;
};
int board_init(void) { int board_init(void) {
int ret; int ret;
ret = uart_init(); ret = uart_init();