ptos: xt: Add printf() port

Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
2026-07-10 05:32:26 +00:00
parent d21050c1e6
commit b88d0b0b9d
5 changed files with 1068 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: Printf bridge
* Author: Chloe M.
*/
#include <hal/serial.h>
void
_putchar(char c)
{
HalSerialWrite(&c, 1);
}