Commit Graph

1437 Commits

Author SHA1 Message Date
Matthew Kennedy d4721bee89 implement sensor checker (#4395)
* implement sensor checker

* use default

* s

* fix

* properly report non-timeout errors

* it's not safe to read Value when invalid

* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
rusefillc e19b61aa5b [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:23:53 -04:00
rusefillc db26a35209 refactoring 2022-07-30 12:07:36 -04:00
rusefillc 39aebf27d0 dead code? 2022-07-30 11:53:20 -04:00
rusefillc a47e3e2314 docs 2022-07-30 11:21:42 -04:00
GitHub build-firmware Action dcc43ee4b4 Auto-generated configs and docs 2022-07-27 09:38:56 +00:00
Matthew Kennedy 4865213537 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 efdae2322d Start -> start (#4366) 2022-07-21 15:17:32 -04:00
rusefillc a8e86b9b81 typos 2022-07-20 18:45:35 -04:00
Andrey G 2eeb1ad84e TunerStudio reconnect speedup (#4358)
* TunerStudio: do not emit tons of errors if we are not in sync

Track state of sync with ither side. Emit only ONE error when sync
is lost.
Also no need to wait 1sec for second byte in binary mode. 10mS is
enought.

* TunerStudio: remove duplicated debug print

* TunerStudio: comment about in_sync

* TunerStudio: clear comments
2022-07-20 17:54:10 -04:00
rusefillc ca25530445 picking atomic piece of #4358 2022-07-20 17:06:34 -04:00
rusefillc 5fafaa571d refactoring: reducing warnings 2022-07-20 17:03:15 -04:00
Matthew Kennedy 2bf6c94663 fragments (#4357) 2022-07-19 11:02:41 +03:00
rusefillc 64a9f84872 scaling of microRusEFI ADC gauges fix #4356 2022-07-18 08:26:17 -04:00
Matthew Kennedy cd98ad35c2 use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc d586a7dc9c raw aux inputs gauges fix #4346 2022-07-15 06:37:30 -04:00
GitHub build-firmware Action 7123361f2e Auto-generated configs and docs 2022-07-15 10:29:23 +00:00
rusefillc 807bb26555 raw aux inputs gauges #4346 2022-07-15 06:23:24 -04:00
rusefillc 4c4f494904 PID logging: p term #4337 2022-07-08 10:31:34 -04:00
rusefillc c3d99528e1 PID logging: p term #4337 2022-07-08 09:43:05 -04:00
Matthew Kennedy 6267b8621a big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
rusefillc 372f5e6790 dead code? (#4325)
* dead code?

* dead code?

* dead code?

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-07 00:35:11 -04:00
Matthew Kennedy ab24c5eb35 Rewrite tooth logger buffer management (#4317)
* s

* make it work

* put back enough maybe

* fix console composite log

* unit tests can just use a vector, why not

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-07-04 16:57:17 -04:00
Matthew Kennedy 2c80b8cf19 implement CAN driver for simulator (#4312)
* stub simulator CAN driver

* comments

* CAN sensor

* maybe implement?

* s

* fix

* tx and rx actually work!?!?!

* check_can_isr

* modify chibios

* Sim has no CAN on Windows (for now?)

* safer init/deinit, enable assertions

* smarter handling of missing CAN device

* better guards

* guards for windows
2022-07-03 08:25:24 -04:00
Andrey 46add5df49 logging of live data structs was: data points #3614 2022-06-29 03:29:21 -04:00
Andrey ef2278aeb1 logging of live data structs was: data points #3614 2022-06-29 03:21:53 -04:00
rusefillc c50009ee59 logging of live data structs was: data points #3614 2022-06-29 03:13:35 -04:00
rusefillc fb84241a48 logging of live data structs was: data points #3614 2022-06-29 03:01:13 -04:00
rusefillc 92119af801 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
rusefillc 81e469f327 https://github.com/rusefi/hellen-NB2-issues/issues/36 2022-06-29 02:33:14 -04:00
GitHub build-firmware Action 718b4fd3e9 Auto-generated configs and docs 2022-06-29 05:34:35 +00:00
rusefillc 2ab71f88e5 logging of live data structs was: data points #3614 2022-06-29 01:27:42 -04:00
GitHub build-firmware Action e2c241bd38 Auto-generated configs and docs 2022-06-27 02:39:05 +00:00
Matthew Kennedy da5446ed2e get rid of extra quotes (#4288) 2022-06-26 22:32:47 -04:00
rusefillc 37d00b73d0 SD card logs are broken by double fuel: wall correction #4291 2022-06-26 20:48:36 -04:00
GitHub build-firmware Action 81f1df25e4 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
rusefillc ce1d80ec33 stealing from David 2022-06-26 19:42:08 -04:00
rusefillc f4454a47ba visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 22:09:54 -04:00
rusefillc e8777995be visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 19:48:48 -04:00
GitHub build-firmware Action fbdebdc20e Auto-generated configs and docs 2022-06-24 00:20:41 +00:00
Matthew Kennedy 840bf6fb27 wideband live data (#4276)
* wideband live data magic

* test build happy

* test even happier
2022-06-23 20:04:26 -04:00
Matthew Kennedy 478549ccdf get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
Matthew Kennedy 40106224f0 Write output channels with new parser (#4219)
* let the new parser run

* s

* support for output channels

* usages reader uses new parser for output channels

* better debugging configuration

* bad merge

* test it a bit too

* more tests

* copy/paste the same content from other file

* s

* fix bugs where even the existing logic tries to write as an enum (?)

* jar

* print stream always unix

* print stream always unix

* use typedefs correctly

* jar

* stub support for multiple of each type

* s

* s

* name some more datas
2022-06-19 09:52:23 -04:00
rusefi 9128873c3b verbose trigger sync should reuse engineSnifferRpmThreshold #4259
this should work faster?
2022-06-18 14:44:10 -04:00
Matthew Kennedy 2e56c9dd6f More fragment refactoring: encode by type, not enum index (#4075)
* fragment refactoring

* jar

* jar?

* look up fragment by type, not index

* don't even include that

* jar again

* jar again

* unit tests are happy

* guards

* jar

* hpfp guarding

* handle knock controller

* jar

* s

* stub multiple for each

* jar

* Update live_data.cpp

* s

* s
2022-06-18 09:23:44 -04:00
Matthew Kennedy c2f61dc95f Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
rusefillc 2649c99ea7 hard requirement for console version match #4187 2022-06-01 11:07:28 -04:00
rusefillc 1d802f4c22 hard requirement for console version match #4187 2022-05-29 14:42:08 -04:00
rusefillc 0a47d3a7b9 Maintenability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:39:08 -04:00
GitHub build-firmware Action 0eade966b9 Auto-generated configs and docs 2022-05-14 12:21:15 +00:00