Log file driver

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Log file driver

Post 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 ?
alan5
Posts: 24
Joined: Mon Nov 11, 2013 5:06 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Log file driver

Post 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)?
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Log file driver

Post 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
Post Reply