Page 1 of 1
Log file driver
Posted: Mon Feb 24, 2014 3:38 pm
by Tabulous
Just wondering if any one had written something along these lines, like formatted logfiles where the output could be targeted at UARTS or even to SD-Card ?
Re: Log file driver
Posted: Wed Feb 26, 2014 10:03 pm
by alan5
I'm just curious what exactly are you looking for? Do you need much more than a few macros for chprintf (in the case of UART logs)?
Re: Log file driver
Posted: Thu Feb 27, 2014 7:18 am
by Tectu
I'm actually working on something like that right now. The
GFILE module of
uGFX does already provide the file abstraction itself. You can write to any memory source and many different filesystems, or just streams, by using the exact same code. The generic log file format/protocol is still under development.
~ Tectu