Peter Barker
001d3a7118
DataFlash: correct consts on CardInserted
8 years ago
Peter Barker
0be2e7962f
DataFlash: create a WritesOK method for WritePrioritisedBlock
8 years ago
Peter Barker
4cb43b1c27
DataFlash: correct repeated FMT logging bug
8 years ago
Peter Barker
2c8a0a9123
DataFlash: rotate files when vehicle is disarmed
8 years ago
Murilo Belluzzo
a91da2e803
DataFlash: Change ::bufferspace_available return type
...
from 'uint16_t' to 'uint32_t' to avoid overflow (possible in at least
two implementations: Block and File).
8 years ago
Peter Barker
8d253dec8e
DataFlash: support for mavlink SENSOR message
9 years ago
Andrew Tridgell
46f257fd9b
DataFlash: convert Log_Write() to use a linked list
...
this saves some memory and means we don't need to know how many we
will need in advance
9 years ago
Peter Barker
518fabe035
DataFlash: StopLogging method, virtual stop_logging on backends
9 years ago
Peter Barker
77dd170e03
DataFlash: Log_Write support
...
A generic logging method to avoid the need to set up a format and structures etc
9 years ago
Peter Barker
334af1ecd7
DataFlash: base class method for resetting state on log open
9 years ago
Andrew Tridgell
c765979f9a
DataFlash: expose the number of lost log messages
...
will be logged in PM message
9 years ago
Jonathan Challinger
a0e291bf89
DataFlash: add reason to MODE
9 years ago
Lucas De Marchi
ec36e06c63
DataFlash: replace header guard with pragma once
9 years ago
Peter Barker
ff8008d81a
DataFlash: remove unused callbacks, unimplemented functions
...
Closes #3269
9 years ago
Peter Barker
0ca07e5245
DataFlash: DataFlash-over-MAVLink support
9 years ago
Peter Barker
faabe0b83d
DataFlash: support multiple simultaneous backends
9 years ago
Lucas De Marchi
c74b1a660d
DataFlash: remove DATAFLASH_NO_CLI
...
This is not used anymore since the removal of AVR CPUs.
9 years ago
Lucas De Marchi
1e839f97ed
DataFlash: remove check for AVR CPUs
...
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
9 years ago
Peter Barker
e481497574
DataFlash: delete oldest file rather than the lowest-numbered file
...
Also reference log numbers by their list index to accomodate log number
wrapping in DataFlash_File
9 years ago
Peter Barker
60010e794e
DataFlash: ensure 10% free space when initialising logging
10 years ago
Peter Barker
8f8493225c
DataFlash: DFMessageWriter; ability to trickle messages out to DF
10 years ago
Lucas De Marchi
327a3a4298
DataFlash: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
10 years ago
Gustavo Jose de Sousa
709204c01d
DataFlash: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Grant Morphett
08f5305519
DataFlash: fix coverity warnings - add param init in constructor
10 years ago
Peter Barker
c5c39a77a3
DataFlash: method to flush ringbuffer to fd
10 years ago
Peter Barker
723c37bcf7
DataFlash: backend/frontend split
10 years ago