105 Commits (ea1a4bc17686f59c23817115fa83ef78f6aefa0a)

Author SHA1 Message Date
Peter Barker 975d2fd0d1 DataFlash: add debug for io thread failure 8 years ago
Peter Barker 0769432e63 DataFlash: move log-write-started logic to be backend-specific 8 years ago
Peter Barker 1f0a14ab33 DataFlash: add PrepForArming method 8 years ago
Francisco Ferreira a1115ba5d0
DataFlash: move some code from WritesOK into a new ShouldLog method 8 years ago
Peter Barker b572c13ca9 DataFlash: move starting of new logs into DataFlash 8 years ago
Peter Barker 4234f4ef7a DataFlash: move _initialised into DataFlash_Backend 8 years ago
Peter Barker f6a09d0657 DataFlash: eliminate GCS_MAVLINK::send_statustext_all 8 years ago
Peter Barker 001d3a7118 DataFlash: correct consts on CardInserted 8 years ago
Peter Barker 91b62abfe5 DataFlash: simplify dataflash initialisation 8 years ago
Peter Barker 0be2e7962f DataFlash: create a WritesOK method for WritePrioritisedBlock 8 years ago
Peter Barker 9324d8e251 Dataflash: emit io thread warnings much less frequently 8 years ago
Peter Barker 057819ccef DataFlash: zero-pad the number in the log filename 8 years ago
Peter Barker 58d74230d5 DataFlash: correct error detection for asprintf 8 years ago
murata 1b2ea27a68 DataFlash: Unify from print or println to printf. 8 years ago
Peter Barker bc45ab5409 DataFlash: add a heartbeat for the io thread in DataFlash_File 8 years ago
Peter Barker e11c276b35 DataFlash_File: stop trying to stuff a uint64_t into a uint32_t 8 years ago
Peter Barker 2c8a0a9123 DataFlash: rotate files when vehicle is disarmed 8 years ago
Lucas De Marchi c9eff28c44 DataFlash: add O_CLOEXEC in places missing it 8 years ago
murata c808ee2f49 Global: To nullptr from NULL. 8 years ago
Murilo Belluzzo a91da2e803 DataFlash: Change ::bufferspace_available return type 8 years ago
Murilo Belluzzo c112e1c889 DataFlash: Make use of ByteBuffer class 8 years ago
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers 8 years ago
Peter Barker a10cde35f5 DataFlash: stop logging before filling SD card on PX4 8 years ago
Peter Barker 8f376944aa DataFlash: immediately restart logging after erasing logs 9 years ago
Peter Barker fce798bc7a DataFlash: avoid integer underflow 9 years ago
Peter Barker fd87a4f180 DataFlash: fix unused result warning 9 years ago
Peter Barker 8d253dec8e DataFlash: support for mavlink SENSOR message 9 years ago
Lucas De Marchi efb6b4c57e DataFlash: ifdef both __APPLE__ and __MACH__ 9 years ago
Peter Barker 334af1ecd7 DataFlash: base class method for resetting state on log open 9 years ago
Peter Barker eea2d5dcb5 DataFlash_File: avoid integer wrap when checking minimum time 9 years ago
Andrew Tridgell fe8070bd51 DataFlash: move lock to protect just buffer IO 9 years ago
Andrew Tridgell b967140572 DataFlash: enable minimal file mode 9 years ago
Peter Barker 2f1297f30c DataFlash_File: Check return values of lseek 9 years ago
Peter Barker ce84ba049f DataFlash_File: protect against fopen failing 9 years ago
Peter Barker 15265a45ed DataFlash_File: check fname before using it 9 years ago
Andrew Tridgell 025e4edd17 DataFlash: fixed warning 9 years ago
Andrew Tridgell 02d7867d79 DataFlash: added locking for multi-thread logging support 9 years ago
Peter Barker 7900359fac DataFlash: LOG_FILE_BUFSIZE sets buffer size for DataFlash_File 9 years ago
Tom Pittenger 4e3864049a DataFlash: compile warning - float to double promotion 9 years ago
Peter Barker faabe0b83d DataFlash: support multiple simultaneous backends 9 years ago
Lucas De Marchi 2591261af6 Global: rename min and max macros to uppercase 9 years ago
Caio Marcelo de Oliveira Filho 753956bd77 AP_Dataflash: use millis/micros/panic functions 9 years ago
Peter Barker fc05ad81eb DataFlash_File: cache oldest log to avoid directory scans when downloading 9 years ago
Lucas De Marchi 20c6ffc5e3 Replace use of UARTDriver::printf_P() with UARTDriver::printf() 9 years ago
Lucas De Marchi 2c38e31c93 Remove use of PSTR 9 years ago
Peter Barker e481497574 DataFlash: delete oldest file rather than the lowest-numbered file 9 years ago
Andrew Tridgell b0aa7cb990 DataFlash: use new perf API 9 years ago
Peter Barker 8f1471c137 DataFlash: leave room in buffer for non-startup messages 10 years ago
Buzz 684dfaf26f DataFlash: fix OSX build 10 years ago
Peter Barker 60010e794e DataFlash: ensure 10% free space when initialising logging 10 years ago