Emile Castelnuovo
ab9a320187
DataFlash: added #ifdefs for VRBRAIN board
11 years ago
Andrew Tridgell
921f923c5f
DataFlash: reset write log on new log
11 years ago
Andrew Tridgell
b4b66210ff
DataFlash: improve reliability of microSD for logs
11 years ago
Andrew Tridgell
cb23298384
DataFlash: try to keep dataflash writes aligned
...
also rename lastlog.txt to LASTLOG.TXT as NuttX seems to get less
corruption with VFAT filenames that don't need uppercase mappings
11 years ago
Andrew Tridgell
4519aa8867
DataFlash: only fsync every 10 seconds
...
prevents too much work in SITL
11 years ago
Andrew Tridgell
e1a86440bb
DataFlash: stop write logging while reading
...
prevents nuttx getting confused
11 years ago
Andrew Tridgell
e6bafa2d8f
DataFlash: added structures to Init() of dataflash
...
this will allow the get_log_data() call to add FMT headers if a log
has wrapped
11 years ago
Andrew Tridgell
5d53b780ba
DataFlash: added functions for load download support
11 years ago
Andrew Tridgell
19e9c95983
DataFlash: use new scheduler API
12 years ago
Andrew Tridgell
844e1b9ef9
DataFlash: added support for printing flight mode as a string
...
makes analysing logs easier.
Pair-Programmed-With: Randy
12 years ago
Andrew Tridgell
62f190ed15
DataFlash: simplify code now that copter is converted
...
no longer need as many public functions
12 years ago
Andrew Tridgell
916e8d0992
DataFlash: new dataflash logging system
...
this allows us to remove the display functions in the vehicle code,
and also allows us to store the format of a log file in the log. It
also stores the parameters used in a flight, rather than the
parameters set at the time the log is dumped
12 years ago
Andrew Tridgell
da5a5ea368
DataFlash: added file based 'dataflash' logging
12 years ago
Andrew Tridgell
a7541e9ad3
DataFlash: report log number when starting a new log
...
helps with test sketch
12 years ago
Andrew Tridgell
efd2da3eb8
DataFlash: started on file interface
12 years ago