Commit Graph

239 Commits

Author SHA1 Message Date
GitHub gen-configs Action 9e489410fa Auto-generated configs and docs 2023-03-31 14:05:59 +00:00
GitHub gen-configs Action a7fcc72de2 Auto-generated configs and docs 2023-03-31 02:46:09 +00:00
GitHub gen-configs Action 0413632422 Auto-generated configs and docs 2023-03-30 21:43:13 +00:00
GitHub gen-configs Action a3e9683246 Auto-generated configs and docs 2023-03-30 14:47:59 +00:00
GitHub gen-configs Action 5af0aad5e7 Auto-generated configs and docs 2023-03-29 00:35:11 +00:00
GitHub gen-configs Action 251ff785e6 Auto-generated configs and docs 2023-03-11 03:46:27 +00:00
GitHub gen-configs Action fca9f93fa2 Auto-generated configs and docs 2023-03-08 00:52:41 +00:00
GitHub gen-configs Action 4589f81a7d Auto-generated configs and docs 2023-03-05 16:51:47 +00: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
GitHub gen-configs Action 5202229fc8 Auto-generated configs and docs 2023-02-19 03:53:47 +00:00
GitHub gen-configs Action 250d67c287 Auto-generated configs and docs 2023-02-13 23:29:49 +00:00
GitHub gen-configs Action b72bc5b834 Auto-generated configs and docs 2023-02-13 23:04:13 +00:00
GitHub gen-configs Action c73b6ff562 Auto-generated configs and docs 2023-02-06 13:15:53 +00:00
GitHub gen-configs Action ce6a222f83 Auto-generated configs and docs 2023-02-01 11:47:15 +00: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
GitHub gen-configs Action 0456afa70a Auto-generated configs and docs 2023-01-17 04:04:05 +00:00
GitHub gen-configs Action 6fc0bbef4e Auto-generated configs and docs 2023-01-17 01:57:05 +00:00
GitHub gen-configs Action 41167a2c9e Auto-generated configs and docs 2023-01-16 21:31:45 +00:00
GitHub gen-configs Action e2cbdffc99 Auto-generated configs and docs 2023-01-16 20:23:11 +00:00
GitHub gen-configs Action 8691f6df31 Auto-generated configs and docs 2023-01-16 13:47:18 +00:00
GitHub gen-configs Action d0e1b6e5e4 Auto-generated configs and docs 2023-01-16 05:45:06 +00:00
GitHub gen-configs Action da5d63ff08 Auto-generated configs and docs 2023-01-15 13:37:56 +00:00
GitHub gen-configs Action 979808405b Auto-generated configs and docs 2023-01-15 13:19:32 +00:00
GitHub gen-configs Action f09511e97a Auto-generated configs and docs 2023-01-15 11:31:58 +00:00
GitHub gen-configs Action 7851c7e32f Auto-generated configs and docs 2023-01-15 04:28:54 +00:00
GitHub gen-configs Action fa7c0e0a6f Auto-generated configs and docs 2023-01-15 03:44:44 +00:00
GitHub gen-configs Action a649063e05 Auto-generated configs and docs 2023-01-14 21:08:25 +00:00
GitHub gen-configs Action e64f90728d Auto-generated configs and docs 2023-01-14 10:42:09 +00:00
GitHub gen-configs Action 6bfda5cb23 Auto-generated configs and docs 2023-01-10 21:35:32 +00:00
GitHub gen-configs Action f395d4dde4 Auto-generated configs and docs 2023-01-02 19:58:30 +00:00
rusefillc 9085884794 guards 2022-12-17 16:37:57 -05:00
rusefillc f0f8f022e2 guards 2022-12-17 14:58:10 -05:00
GitHub gen-configs Action 2372ce911e Auto-generated configs and docs 2022-12-10 23:01:38 +00:00
GitHub gen-configs Action 5e3e64f8d6 Auto-generated configs and docs 2022-11-29 00:44:32 +00:00
GitHub gen-configs Action 2645f97cab Auto-generated configs and docs 2022-11-26 16:23:09 +00:00
GitHub gen-configs Action ac7562b26f Auto-generated configs and docs 2022-11-10 20:17:00 +00:00
GitHub gen-configs Action f5f1fbfe2f Auto-generated configs and docs 2022-11-06 00:28:03 +00:00
GitHub gen-configs Action 0a703fec8c Auto-generated configs and docs 2022-11-03 02:21:44 +00:00
GitHub gen-configs Action 523a6b9592 Auto-generated configs and docs 2022-11-01 21:00:55 +00:00
GitHub gen-configs Action b974b20ed3 Auto-generated configs and docs 2022-10-28 14:33:29 +00:00
GitHub gen-configs Action 1695cdeb7b Auto-generated configs and docs 2022-10-28 08:36:50 +00:00
rusefillc eeb7a59d48 SD card log fields list should be auto-generated #3985
oh many fields!
2022-10-28 04:11:54 -04:00
GitHub gen-configs Action 911899e28a Auto-generated configs and docs 2022-10-24 16:46:53 +00:00
GitHub gen-configs Action bf43376558 Auto-generated configs and docs 2022-10-19 10:47:20 +00:00
GitHub gen-configs Action 4b52c5c49c Auto-generated configs and docs 2022-10-17 03:44:02 +00:00
rusefillc fd7edd7266 SD card log fields list should be auto-generated #3985
let's try again
2022-10-12 20:24:16 -04:00
rusefillc 472942cd7a SD card log fields list should be auto-generated #3985
progress
2022-10-12 20:14:28 -04:00
rusefillc ddaf9fb838 SD card log fields list should be auto-generated #3985
progress
2022-10-12 19:46:17 -04:00
rusefillc 7250f8f4dc SD card log fields list should be auto-generated #3985
progress
2022-10-12 19:35:54 -04:00
rusefillc b29da1f253 rollback 2022-10-12 14:50:13 -04:00
rusefillc 7dbf38d635 SD card log fields list should be auto-generated #3985
prime time of phase 1
2022-10-12 13:12:57 -04:00
GitHub gen-configs Action a86e46c3ca Auto-generated configs and docs 2022-10-12 16:56:29 +00:00
GitHub gen-configs Action c3f750af0b Auto-generated configs and docs 2022-10-12 12:10:52 +00:00
rusefillc 2733270a83 SD card log fields list should be auto-generated #3985 2022-10-12 08:04:58 -04:00
GitHub gen-configs Action 4660a15bf8 Auto-generated configs and docs 2022-10-12 04:18:34 +00:00
rusefillc ca4e8d1a2c SD card log fields list should be auto-generated #3985 2022-10-11 23:43:45 -04:00
rusefillc af2d486614 SD logging: cutting out intermediate buffer since we already have nicely buffered writer 2022-10-11 23:41:18 -04:00
rusefillc cb1b79a9ef SD logging: calculating sum on the fly 2022-10-11 23:31:47 -04:00
rusefillc afe646d88d refactoring: nicer parameter name 2022-10-11 23:27:15 -04:00
GitHub gen-configs Action 7880cde433 Auto-generated configs and docs 2022-10-12 01:35:09 +00:00
Matthew Kennedy 09ad5a738c
allow SD logging non-scaled_channel (#4657)
* allow SD logging non-scaled_channel

* comments and kick ci
2022-10-11 20:58:43 -04:00
rusefillc 58c9c5fe87 SD card log fields list should be auto-generated #3985 2022-10-11 07:42:31 -04:00
GitHub gen-configs Action 4351de3ee5 Auto-generated configs and docs 2022-10-11 03:03:43 +00:00
rusefillc 7b830447ae SD card log fields list should be auto-generated #3985 2022-10-10 22:58:17 -04:00
GitHub gen-configs Action d84674e291 Auto-generated configs and docs 2022-10-11 02:54:46 +00:00
rusefillc 3b3b7b6718 SD card log fields list should be auto-generated #3985 2022-10-10 22:40:43 -04:00
GitHub gen-configs Action 423b5cc32d Auto-generated configs and docs 2022-10-11 01:56:08 +00:00
rusefillc b631e435e7 SD card log fields list should be auto-generated #3985 2022-10-10 21:50:49 -04:00
GitHub gen-configs Action 31903e08c7 Auto-generated configs and docs 2022-10-11 01:50:20 +00:00
GitHub gen-configs Action c08e7eda8b Auto-generated configs and docs 2022-10-11 01:30:56 +00:00
rusefillc 3acc8af0b4 SD card log fields list should be auto-generated #3985 2022-10-10 21:25:35 -04:00
rusefillc cedee541c5 SD card log fields list should be auto-generated #3985 2022-10-10 07:52:20 -04:00
rusefillc fae5f82125 outputRequestPeriod into logs 2022-09-12 20:56:57 -04:00
rusefillc 9c83cfd696 moving SD logic to better source 2022-09-12 20:39:43 -04:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
Andrey a0b52eeb2f different file names for different entities 2022-09-04 23:11:19 -04:00
Andrey a70d21d789 refactoring: reducing outputChannels copy 2022-09-04 23:03:42 -04:00
Matthew Kennedy d4b8a036af
Log gppwm output values (#4385)
* remove debug option

* purpose built output channels

* name

* embiggen sd log buffer

* Revert "embiggen sd log buffer"

This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.

* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
Matthew Kennedy a0d8ae3f4f
use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
Andrey 9c9cf69ebe logging of live data structs was: data points #3614 2022-06-29 03:29:21 -04:00
rusefillc 12d3a00712 SD card logs are broken by double fuel: wall correction #4291 2022-06-26 20:48:36 -04:00
Matthew Kennedy 2a204b9b8f
binary log knock count and retard (#4139) 2022-05-05 07:41:41 +03:00
Matthew Kennedy f1742c44ff
output channel tweaks (#4023)
* shuffle around output channels

* postState should take a ref

* s

* s

* patch input file

* limits

* accel bad bounds check

* units

* units

* Revert "accel bad bounds check"

This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.

* missed an autoscale
2022-03-24 08:58:55 -04:00
Matthew Kennedy be47bc1b37
aux linear sensors (#4005)
* aux linear sensors

* comment

* kick build

* fix alignment

* fix alignment
2022-03-20 20:13:04 -04:00
rusefillc 7d32746c02 SD card log fields list should be auto-generated #3985 2022-03-11 17:33:08 -05:00
Matthew Kennedy 6ac99f3dd7
sd log blah (#3991) 2022-03-11 15:48:03 -05:00
rusefillc dbe02d8a48 SD card log fields list should be auto-generated #3985 2022-03-09 18:45:41 -05:00
rusefillc 286730f2a0 Onboard SD Card Datalogging Doesn't Record TPS #3943 2022-02-18 22:44:39 -05:00
Matthew Kennedy 7d341cfc9d
improve maf output channels and logging (#3743)
* maf channels

* s

* binary log

* if only I could type

* can

* instant RPM too

* s

* test

* graceful zero rpm

* test works

* float near
2022-01-12 15:41:35 -05:00
Andrey 940b04ab24 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
rusefillc 31898a2d79 automation around outputs section #197 2021-11-27 18:54:57 -05:00
rusefillc c4f973c2e2 automation around outputs section #197 2021-11-27 14:08:09 -05:00
rusefillc edb10af9f4 automation around outputs section #197 2021-11-27 13:36:37 -05:00
rusefillc 1cbdd226d5 automation around outputs section #197 2021-11-27 13:05:56 -05:00
rusefillc 412d804350 automation around outputs section #197 2021-11-27 12:28:59 -05:00
rusefillc eb2045f02b automation around outputs section #197 2021-11-26 21:54:31 -05:00
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 5b35aa8f21
log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
rusefillc 3ff5745b45 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 11:07:46 -04:00
rusefillc 77c4e83ebc some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-05 16:21:41 -04:00
rusefillc e30bde3802 rusEFI console logs are missing some fields #3314 2021-10-04 00:30:20 -04:00
rusefillc 9f35de24f0 rusEFI console logs are missing some fields #3314 2021-10-03 23:07:16 -04:00
rusefillc 520b237935 rusEFI console logs are missing some fields #3314 2021-10-03 22:45:47 -04:00
Matthew Kennedy a4244e756e
per cylinder knock level in SD log (#3239) 2021-09-19 03:54:59 -04:00
rusefillc d4a25c4800 SD-card log fields improvement (warning counter & last code) fix #3162 2021-09-08 21:15:41 -04:00
rusefillc 1828dd9ba4 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:45:52 -04:00
Andrey 3ed50dbea7 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 14:43:35 -04:00
Andrey f8233b11b5 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 10:01:04 -04:00
Matthew Kennedy 25414ebdad
yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
rusefillc da613e65dc fix vvt indication #2926
TS project part of the change
2021-07-08 09:37:56 -04:00
Andrey f6695b4264 fix vvt indication #2926
only field rename
2021-07-08 09:25:31 -04:00
Matthew Kennedy da6518dcb1
remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 3968204dfa
Hook up multi bank fuel trim (#2532)
* multi bank trim

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -04:00
Matthew Kennedy 7cea9ab533
remove duplicate SD log fields (#2556)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:07:59 -04:00
Matthew Kennedy b110e01638
constexpr-ify log field list (#2548)
* constexprify

* reclaim ram

* more constexpr

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-13 20:16:18 -04:00
Matthew Kennedy 22bcbf7444
More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
Matthew Kennedy 650d148008
Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy edee10ee1c
Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
Matthew Kennedy 3878cb9994
sd log afr 2 (#2052) 2020-12-10 14:05:52 -05:00
Matthew Kennedy 15d5c872c2
log afr in addition to lambda (#1920)
* log afr

* log it

* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy 66cc63b18a
log target lambda (#1919) 2020-10-30 17:42:00 -04:00
rusefillc 106c91efac fluid gauges 2020-10-28 00:20:35 -04:00
Matthew Kennedy 09b41bb1bb
Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04: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
Matthew Kennedy 2cb665cc51
Check for sd buffer overrun (#1867)
* use actual header size

* and the buffer can be a little smaller
2020-10-08 21:02:15 -04:00
rusefillc 0726f168cf SD card logs not valid for REO #1864 2020-10-08 20:17:32 -04:00
rusefillc e721acc60c SD card logs not valid for REO #1864 2020-10-08 20:06:07 -04:00
rusefi b87fb3686f SD card logs not valid for REO #1864 2020-10-08 17:58:58 -04:00
rusefi 048c7a6025 SD card logs not valid for REO #1864 2020-10-08 17:50:43 -04:00
Matthew Kennedy b4b8781993 log second tps 2020-07-30 11:31:49 -07:00
Matthew Kennedy 0e7bb7c550 maf 2020-07-20 23:22:42 -07:00
Matthew Kennedy a42ab4e3e2 ign/fuel load 2020-07-20 23:21:04 -07:00
rusefi 8165ee016f REO progress - binary logs 2020-06-14 15:43:54 -04:00
rusefi d0d484ac16 MLQ code duplication & docs 2020-06-14 14:46:24 -04:00
rusefi 6478c52c26 MLQ code duplication & docs 2020-06-14 13:38:14 -04:00
rusefi ff1312f75e MLQ code duplication & docs 2020-06-14 13:07:06 -04:00
Matthew Kennedy d24b5d5e93
Integrate stft (#1475)
* code changes

* missed a spot

* update UI

* gauge name

* adjust gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
rusefi a4329169e9 better file name 2020-05-25 13:02:05 -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