Peter Barker
6daa241235
DataFlash: add sanity check for WritePrioritisedBlock size
7 years ago
Alexander Malishev
932cc4bb69
DataFlash: allow HAL to specify dataflash buffer sizes
7 years ago
Peter Barker
611dcb694b
DataFlash: write CHIBIOS_GIT_VERSION to opened log file
...
DataFlash: use AP_FWVersion singleton
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
594911f0b4
DataFlash: replace /* fall through */ with FALLTHROUGH;
7 years ago
Peter Barker
63b0883b38
DataFlash: correct structures debug method
7 years ago
Peter Barker
b36f1c558d
DataFlash: use const char * rather than fixed array lengths in LogStructure
...
Previously tridge found that using const char * here meant that the
data segment (and thus RAM usage) would increase.
This doesn't seem to be a problem now.
7 years ago
Peter Barker
5bf2fb186c
DataFlash: parameterise dataflash-over-mavlink cachesize
7 years ago
Peter Barker
63792edc5f
DataFlash: increase debug in SITL
7 years ago
Andrew Tridgell
2b49a3ab7b
DataFlash: fix up logging on ChibiOS after change for F4Light
7 years ago
night-ghost
2a0f624d5a
DataFlash: fixed F4Light DataFlash logging
7 years ago
Peter Barker
8027883734
DataFlash: remove vestiges of CLI functions
7 years ago
Peter Barker
96d7eb6bed
DataFlash: handle log sending as part of periodic function
7 years ago
night-ghost
0d8c71de71
DataFlash: added F4Light HAL support
7 years ago
Peter Barker
8e8b0dcc06
DataFlash: add ? and - to multiplier table
...
This allows a consumer to expect referential integrity for the
multipliers
7 years ago
Andrew Tridgell
43a6ed4099
DataFlash: support ChibiOS FATFS implementation
7 years ago
Peter Barker
404e395880
DataFlash: avoid declarations of SITL-only functions
7 years ago
Peter Barker
fd0aa3c659
DataFlash: add validation for Log_Write parameters
7 years ago
Peter Barker
5070628230
DataFlash: factor out validate_structure
7 years ago
Peter Barker
b19f981c07
DataFlash: validate units and multipliers
7 years ago
Peter Barker
9896e23c36
DataFlash: Log_Write() fills unknown units with '?'
7 years ago
Peter Barker
a5442fb293
DataFlash: support for units on fields
7 years ago
Andrew Tridgell
274e441292
DataFlash: fixed build for aerofc-v1
7 years ago
Lucas De Marchi
3272ae2c04
DataFlash: make log directory macro mandatory
...
Everybody defines the macro (or should be defining). Let smaller users
that don't have a filesystem to rather protect it with HAL_OS_POSIX_IO,
which also allow them to save more flash space.
7 years ago
Peter Barker
191e457230
DataFlash: include sample count in ISBH
7 years ago
Peter Barker
d950e78079
DataFlash: Log_ISBH and Log_ISBD, to log batches of IMU data
7 years ago
Peter Barker
2f9a8ded55
DataFlash: add new int16_t[32] type, designator 'a'
7 years ago
Lucas De Marchi
a25320d522
DataFlash: add static create method
7 years ago
Peter Barker
776d88bb6b
DataFlash: remove duplicate variables
8 years ago
Peter Barker
1f0a14ab33
DataFlash: add PrepForArming method
8 years ago
Peter Barker
b572c13ca9
DataFlash: move starting of new logs into DataFlash
8 years ago
Peter Barker
f6a09d0657
DataFlash: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Peter Barker
4dfdffde43
DataFlash: move should_log check of log bitmask into DataFlash
8 years ago
Peter Barker
ad17709390
DataFlash: handle knowledge of in_log_download in DataFlash
8 years ago
Peter Barker
305531952f
DataFlash: move send-logs-via-mavlink code into DataFlash
8 years ago
Peter Barker
5c19f09cd7
DataFlash: handle mavlink messages, not just remote-log-block-statuses
8 years ago
Peter Barker
6a03af8f3e
DataFlash: make EnableWrites a frontend thing
8 years ago
Peter Barker
07e37281ef
DataFlash: add a should_log method
8 years ago
Pierre Kancir
914bc53100
Dataflash: fix shadowing of logstructure in SITL
8 years ago
Peter Barker
af6eb4e41d
DataFlash: remove unused NeedPrep function
8 years ago
Peter Barker
91b62abfe5
DataFlash: simplify dataflash initialisation
8 years ago
Peter Barker
cdd0397bbf
DataFlash: check all backends for sensor health
8 years ago
Peter Barker
7221b0def2
DataFlash: StartUnstartedLogging replaces logging_started/start_logging
8 years ago
Peter Barker
ac1484f60e
DataFlash: clear format sent mask when backend starts new log
8 years ago
Peter Barker
608d6d0a5f
DataFlash: implement a printf-like Log_Write_MessageF method
8 years ago
Peter Barker
510aa587ef
DataFlash: add validation for logging structures
8 years ago
Peter Barker
2746edfd32
DataFlash: move Init from LogFile.cpp to Dataflash.cpp (NFC)
8 years ago
Peter Barker
2c8a0a9123
DataFlash: rotate files when vehicle is disarmed
8 years ago
Peter Barker
fc79fb4ab4
DataFlash: know about armed state of vehicle
8 years ago
Peter Barker
8d253dec8e
DataFlash: support for mavlink SENSOR message
9 years ago
Murilo Belluzzo
e17fdb2aa9
DataFlash: Avoid null pointer dereference
...
Confirms that the loop successfully found a log structure before using it.
Should fix CID 126742
9 years ago