added loggint to SD card

This commit is contained in:
2024-05-21 22:18:05 +02:00
parent 04c5eb047e
commit bd8779b5aa
4 changed files with 107 additions and 5 deletions

View File

@@ -1,4 +1,12 @@
// SD logger steam is logged to sd card
// buffernd logger collect logs until some amount of data is collected.
// needs to be flushed before shutdown
// used with ULOG
// used with ULOG
#include <stdint.h>
#include <stddef.h>
void BSP_SDLogger_Init(int log_number);
void BSP_SDLogger_Write(char *data, size_t length);