32 va_start(args, format);
45 int len = vsnprintf(buffer,
sizeof(buffer), format, args);
CDC Log: logging over TinyUSB CDC and UART.
int console_getchar(void)
Reads one character from available console input source.
bool console_available(void)
Returns whether any console input source has pending data.
void console_print(const char *str)
Writes string to active console outputs.
void console_flush(void)
Flushes buffered console output transports.
void console_putchar(char c)
Writes single character to active console outputs.
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.
static bool s_initialized