Commit Graph

8594 Commits

Author SHA1 Message Date
Matthew Kennedy c08d0b5ed8 Require redundant tps for ETB (#2037)
* mod sensor api

* require redundancy

* fix tests

* check that it fails

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:05:06 -05:00
Matthew Kennedy cd2d568b74 maybe fix sensor init checks (#2034)
* enums

* don't collide

* auto_generated_enums

* check based on new enum val

* maybe this will make generate tool happy

* add a test

* fix test

* fix and add another test

* make clang happier

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:19:57 -05:00
Matthew Kennedy 73fc01ceec put back safe part of #2005 (#2036)
* put back some safe bits

* dumb typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
GitHub set-date Action 4997ca8b13 Update date 2020-12-07 00:47:47 +00:00
rusefillc 12db055b7f range check covers 'ERROR_CODE' already 2020-12-06 19:29:37 -05:00
rusefillc b463166297 minor fixes 2020-12-06 19:25:48 -05:00
rusefillc 93e69bea93 refactoring 2020-12-06 19:04:23 -05:00
rusefillc d86c53fecf basic hw in the loop - pwm self validation #2028 2020-12-06 18:39:50 -05:00
rusefillc 12e5dfcbfe Merge remote-tracking branch 'origin/master' into master 2020-12-06 18:13:07 -05:00
rusefillc 08dbbdb21a subi 2020-12-06 18:08:55 -05:00
GitHub build-firmware Action f0dcd4a5d4 Auto-generated configs and docs 2020-12-06 23:08:10 +00:00
rusefillc 8d6255b1e2 Revert "switch rpm calculator to use timer class (#2005)"
This reverts most of 622021e799 commit.
2020-12-06 18:05:53 -05:00
rusefillc 84dae6f5af Merge remote-tracking branch 'origin/master' into master 2020-12-06 17:52:30 -05:00
rusefillc da513b11b9 docs 2020-12-06 17:39:33 -05:00
Matthew Kennedy 622021e799 switch rpm calculator to use timer class (#2005)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
Matthew Kennedy 69f754bfbd don't duplicate sensor error logic (#2032)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 15:00:30 -05:00
Matthew Kennedy 7dad3356e9 add isRedundant (#2031)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05:00
GitHub build-firmware Action 690e1a7b67 Auto-generated configs and docs 2020-12-06 19:19:09 +00:00
rusefillc f868d05dec MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc c0e2ca5e74 MRE_SUBARU_EJ18 2020-12-06 13:08:09 -05:00
rusefillc 940251f25b one step back #2017 2020-12-06 08:34:10 -05:00
rusefillc f6c08c55b6 code formatting & more info into message 2020-12-06 08:30:31 -05:00
Matthew Kennedy 9ef59c1572 fix button shift inheritance (#2027)
* fix button shift inheritance

* extra

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 07:32:38 -05:00
Matthew Kennedy fbcfb4534a require TPS values to be different (#2017)
* require values to be different

* fix not

* oops

* missed another spot

* test negative cases too

* resets

* test no sensor case

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:41:49 -05:00
Matthew Kennedy a806053d52 round rpm instead of truncating (#2023)
* round rpm instead of truncating

* efiround is expensive

* Revert "efiround is expensive"

This reverts commit e5690f89e1b1988aacf5ced1f024d576465a7cd6.

* round is better than rintf

* testing

* it works now?!

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
GitHub build-firmware Action 472ec232b7 Auto-generated configs and docs 2020-12-06 03:05:54 +00:00
rusefillc b62b3331d1 suby 2020-12-05 22:04:07 -05:00
rusefillc 085a5f38b8 making console happier 2020-12-05 21:56:39 -05:00
GitHub set-date Action 4d48abc1b8 Update date 2020-12-06 00:47:59 +00:00
Andrey G 4980fc49d9 Fixes after clenup (#2019)
* We still need consoleEventListener for boards with EFI_CONSOLE_SERIAL_DEVICE

* MC33810: add MC_ prefix for command defines

As CMD_PWM define is now used by console command
2020-12-05 11:54:09 -05:00
Matthew Kennedy b0410167de encapsulate entry logic in to entry (#2018)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 10:16:52 -05:00
Andrey G f31731d380 ADC: correctly calculate cache invalidate range for STM32F7xxx (#2021)
Bug was introduced in 5d421f7ffa when
sample buffer was moved out of class. So sample become adcsample_t*
instead of adcsample_t[] and sizeof returns 4.
2020-12-05 10:14:33 -05:00
Andrey G 040e07ec48 adc: fix CPU temperature read for STM32F76x/77x (#2020) 2020-12-05 09:58:23 -05:00
GitHub build-firmware Action 053e14de4f Auto-generated configs and docs 2020-12-05 05:05:04 +00:00
Matthew Kennedy 9d2471e9ff add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefillc a1fe39b89d unit tests in clang #2012 2020-12-04 23:59:21 -05:00
rusefi b2493e3181 Merge remote-tracking branch 'origin/master' into master 2020-12-04 21:52:22 -05:00
shadowm60 45205e7da7 Dyno view proposal (#1999)
* DynoView creation

module implementation and unit_tests

* update acc algo

we only calcualte new acceleration value if speed has changed, not on every callback.

* added acceleration ts_channel

* fixed broken unit tests

* fixed accel sign

* review updates

* Update test_dynoview.cpp

fix unit_tests

* Update engine_controller.cpp

Fix .ram4 unused size

* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
GitHub set-date Action de2a5879c4 Update date 2020-12-05 00:45:22 +00:00
rusefillc 96a7d528b6 hemi trigger decoder took some RAM 2020-12-04 18:46:35 -05:00
rusefillc 29aa791415 hemi trigger decoder took some RAM 2020-12-04 18:22:59 -05:00
rusefillc 5464498909 6.1 Hemi V8 decoder fix #2010 2020-12-04 16:50:26 -05:00
rusefillc 589558b5f1 6.1 Hemi V8 decoder #2010 2020-12-04 16:33:29 -05:00
rusefillc 9871d5b501 refactoring: magic constants 2020-12-04 16:24:19 -05:00
rusefillc 5ae3347927 6.1 Hemi V8 decoder #2010 2020-12-04 16:03:27 -05:00
rusefillc 2b2ffe9d7d 6.1 Hemi V8 decoder #2010 2020-12-04 15:33:07 -05:00
rusefillc 45e47220ab 6.1 Hemi V8 decoder #2010 2020-12-04 15:22:53 -05:00
rusefillc d191d31272 all triggers should be documented way nicer #2001 2020-12-04 14:00:49 -05:00
rusefillc 24eff376fe all triggers should be documented way nicer #2001 2020-12-04 13:54:16 -05:00
rusefillc 59e4e3187b all triggers should be documented way nicer #2001 2020-12-04 11:58:26 -05:00
rusefillc 0ba4b37a2d all triggers should be documented way nicer #2001 2020-12-04 11:44:27 -05:00
GitHub build-firmware Action 94eed84d9a Auto-generated configs and docs 2020-12-04 16:39:14 +00:00
rusefillc 0d7a3de1c0 all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00
rusefillc d3a21bcb63 6.1 Hemi V8 decoder #2010 2020-12-04 01:02:09 -05:00
rusefillc eb3dd94390 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
GitHub build-firmware Action 41955b4651 Auto-generated configs and docs 2020-12-04 05:21:17 +00:00
rusefillc f1b35b33fa 6.1 Hemi V8 decoder #2010 2020-12-04 00:18:40 -05:00
rusefillc 9a897007c4 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
GitHub build-firmware Action f067225daf Auto-generated configs and docs 2020-12-04 04:26:34 +00:00
rusefillc cb43e82879 FORD ST170 CAM TRIGGER PATTERN #2009 2020-12-03 23:23:32 -05:00
rusefillc c41c020cb3 Merge remote-tracking branch 'origin/master' into master 2020-12-03 23:12:42 -05:00
rusefillc c6d49e9621 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT fix #2008 2020-12-03 23:12:30 -05:00
GitHub build-firmware Action 4669da6ebe Auto-generated configs and docs 2020-12-04 02:59:40 +00:00
rusefillc fec3c3c443 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:58:03 -05:00
GitHub build-firmware Action a0e1faf627 Auto-generated configs and docs 2020-12-04 02:33:46 +00:00
rusefillc c9a5a41a2f DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
GitHub set-date Action d70b65aa86 Update date 2020-12-04 00:44:45 +00:00
rusefillc 5dcf22cf74 MRE pin reuse state validation fails #2006 2020-12-03 15:42:48 -05:00
rusefillc 0d2f8e67e7 avoid float -> int64 conversion #1977
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:32:01 -05:00
rusefillc a57296d641 avoid float -> int64 conversion #1977
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:30:17 -05:00
Matthew Kennedy bb2208fb52 add timer since last trigger tooth (#2004)
* add elapsed time to timer

* store trigger time

* fsio method

* don't do a 64b divide

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
GitHub build-firmware Action 67660a38af Auto-generated configs and docs 2020-12-03 15:51:02 +00:00
rusefillc ba0503177c more dead code 2020-12-03 10:49:20 -05:00
rusefillc 16f4aa0281 Avoid float -> int64 conversion #1993 2020-12-03 10:31:16 -05:00
rusefillc cf77902193 Avoid float -> int64 conversion #1993 2020-12-03 10:26:50 -05:00
GitHub build-firmware Action 9c334ddb2d Auto-generated configs and docs 2020-12-03 14:36:32 +00:00
rusefillc ae3d0e8d25 Merge remote-tracking branch 'origin/master' into master 2020-12-03 09:34:37 -05:00
rusefillc 5919b22366 all triggers should be documented way nicer #2001 2020-12-03 08:42:25 -05:00
Matthew Kennedy b34759f3c9 fix warnings (#2003)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 07:27:27 -05:00
GitHub build-firmware Action accd14f261 Auto-generated configs and docs 2020-12-03 06:38:53 +00:00
rusefillc bcd5e029fa dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
GitHub build-firmware Action c82ff9e7a8 Auto-generated configs and docs 2020-12-03 06:34:34 +00:00
rusefillc 75e6487cfe Merge remote-tracking branch 'origin/master' into master 2020-12-03 01:31:59 -05:00
rusefillc 1ac9bd3c5a all triggers should be documented way nicer #2001 2020-12-03 01:31:52 -05:00
GitHub build-firmware Action e7b115a43e Auto-generated configs and docs 2020-12-03 06:25:01 +00:00
rusefillc 238e639c53 dead trigger, this would now be vvt+60/2 2020-12-03 01:22:57 -05:00
GitHub build-firmware Action 508828171c Auto-generated configs and docs 2020-12-03 06:21:16 +00:00
rusefillc b5e9c26d4e all triggers should be documented way nicer #2001 2020-12-03 01:19:02 -05:00
GitHub build-firmware Action e60f62670b Auto-generated configs and docs 2020-12-03 06:04:08 +00:00
rusefillc f5189cb6aa all triggers should be documented way nicer #2001 2020-12-03 01:02:17 -05:00
GitHub build-firmware Action 4853b32404 Auto-generated configs and docs 2020-12-03 05:21:30 +00:00
rusefillc 0a72735c74 all triggers should be documented way nicer #2001 2020-12-03 00:19:18 -05:00
rusefillc 59655af204 Fuel pump should turn on at the first sign of engine rotation #1961 2020-12-02 23:09:39 -05:00
rusefillc 7327fd6e6c all triggers should be documented way nicer #2001 2020-12-02 22:17:38 -05:00
rusefillc b503fa3366 all triggers should be documented way nicer #2001 2020-12-02 20:51:33 -05:00
GitHub build-firmware Action ac89bb20cf Auto-generated configs and docs 2020-12-03 01:32:59 +00:00
rusefillc a674ad5876 all triggers should be documented way nicer #2001 2020-12-02 20:30:47 -05:00
GitHub build-firmware Action 6f3f108948 Auto-generated configs and docs 2020-12-03 01:22:05 +00:00
rusefillc 08aec3d2cd Merge remote-tracking branch 'origin/master' into master 2020-12-02 20:19:56 -05:00
rusefillc 41224e46ed all triggers should be documented way nicer #2001 2020-12-02 20:19:47 -05:00