Commit Graph

11 Commits

Author SHA1 Message Date
Andrey Gusakov 14b0e350f6 binary_log: return number of bytes writen 2025-01-21 15:05:47 -05:00
kifir fec3268b34 support offset for bit logger fields #7227 2025-01-07 21:08:33 -05:00
kifir 4bb1986089 support bit logger fields #7227 2025-01-06 16:32:59 -05:00
rusefillc 47a989eb2e unit tests to write MS logs #7222
only:WOW very dirty hack and a miracle, it works?!
2024-12-27 22:50:52 -05:00
rusefillc 816dd47058
safer log field name copy (#5681)
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-11-02 12:06:45 -04:00
Nathan Schulte c09c4ba374
silence -Wstring-truncation for correct use of strncpy (#5146)
- ensuring header is zerod
2023-03-01 21:43:42 -05:00
Matthew Kennedy d92b90c0a5
emit v2 mlg (#4979)
* emit v2 mlg

* missed a spot

* s

* s

* binary log unit test

* sd generator test

* oop

* getcategory

* write zeroes instead of null pointer in case of no category
2023-01-21 07:31:40 +05:30
Scott Smith df3e60c07c
Extend LogField to support scaled_channel divisors. (#3575)
Also move the type field and shrink the size field for better packing.
Saves about 800 bytes of flash.  This fixes #3574.
2021-11-19 02:29:19 -05:00
Matthew Kennedy a8057cfc16
write SD header using new Writer class (#1882)
* write header

* hooray, free memory!

* fix test

* is there really this much free space...?

* no, there is not
2020-10-15 16:00:13 -04:00
rusefi d0d484ac16 MLQ code duplication & docs 2020-06-14 14:46:24 -04:00
Matthew Kennedy 94e63e7c43
binary logging (#1443)
* field support

* tests

* makefiles

* test data too

* missing include dir

* write correct thing

* fix one test

* fix test

* omnomnomnom ram

* format

* use defined names

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00