From ac3cd0816348d3ccdf19ecbe3f0199c831ccb46f Mon Sep 17 00:00:00 2001 From: Krzysiek Egzmont Date: Sat, 28 Oct 2023 11:12:37 +0200 Subject: [PATCH] serial debugging helper --- debugging.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debugging.h diff --git a/debugging.h b/debugging.h new file mode 100644 index 0000000..58b85a4 --- /dev/null +++ b/debugging.h @@ -0,0 +1,18 @@ +#ifndef DEBUGGING_H +#define DEBUGGING_H + +#include "driver/uart.h" +#include "string.h" +#include "external/printf/printf.h" + + +static inline void LogUart(char * str) +{ + UART_Send(str, strlen(str)); +} + + + + + +#endif \ No newline at end of file