serial debugging helper

This commit is contained in:
Krzysiek Egzmont 2023-10-28 11:12:37 +02:00
parent c1657a37f2
commit ac3cd08163

18
debugging.h Normal file
View File

@ -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