From d3cf3f08d1343d6b265516d5a79ce2d197b59d26 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sun, 4 Jan 2026 14:05:49 +0800 Subject: feat(file-system): implement read and write FAT32 File System and basic shell --- include/drivers/uart.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include/drivers/uart.h') diff --git a/include/drivers/uart.h b/include/drivers/uart.h index 26c2394..85b04b0 100644 --- a/include/drivers/uart.h +++ b/include/drivers/uart.h @@ -1,5 +1,6 @@ #pragma once #include "common/types.h" +#include "drivers/uart_color.h" #define UART0 0x10000000L #define RHR 0 // Receive Holding Register (read mode) @@ -15,14 +16,6 @@ #define UART_RX_BUF_SIZE 128 -// ANSI Escape Codes for Modern Terminal Colors -#define ANSI_RESET "\033[0m" -#define ANSI_RED "\033[31m" -#define ANSI_GREEN "\033[32m" -#define ANSI_YELLOW "\033[33m" -#define ANSI_BLUE "\033[34m" -#define ANSI_CLEAR "\033[2J\033[1;1H" - namespace Drivers { void uart_init(); -- cgit v1.2.3