29 static void vprintf(
const char* format, va_list args);
34 static void print(
const char* str);
67#define CONSOLE_PRINTF(...) cdc::serial::Console::printf(__VA_ARGS__)
68#define CONSOLE_PRINT(s) cdc::serial::Console::print(s)
struct __attribute__((packed))
static void print(const char *str)
Prints raw string to console.
static void showPrompt()
Prints standard shell prompt.
static void static void vprintf(const char *format, va_list args)
Prints formatted text with explicit varargs list.
static void flush()
Flushes pending console output.
static void printf(const char *format,...) __attribute__((format(printf
Prints formatted text to console.
static bool available()
Checks whether console input is available.
static void putchar(char c)
Writes a single character to console.
static int getchar()
Reads one character from console input.
static void init()
Initializes console wrapper state.