Commit Graph

8618 Commits

Author SHA1 Message Date
GitHub set-date Action 819f342a63 Update date 2020-12-09 00:48:33 +00:00
rusefillc 5ae956ccd8 Merge remote-tracking branch 'origin/master' into master 2020-12-08 13:59:47 -05:00
rusefillc 3f17d84b44 fix warnings found by clang #2014 2020-12-08 13:59:40 -05:00
Matthew Kennedy d7c56f78a9 require redundant TPS for ETB (#2041)
* 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>

* add a test that fails but should not

* fix the bug

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 06:24:20 -05:00
rusefillc 166167f805 basic hw in the loop - pwm self validation #2028 2020-12-08 05:30:12 -05:00
GitHub build-firmware Action f1bf3f00b9 Auto-generated configs and docs 2020-12-08 10:16:15 +00:00
rusefillc d4a8e5852c basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc d6ea410424 basic hw in the loop - pwm self validation #2028 2020-12-08 05:07:03 -05:00
rusefillc 2f15c08498 basic hw in the loop - pwm self validation #2028 2020-12-08 04:52:49 -05:00
GitHub build-firmware Action 8f81510c9a Auto-generated configs and docs 2020-12-08 09:43:33 +00:00
rusefillc 0862d76371 basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc 89548ea527 basic hw in the loop - pwm self validation #2028 2020-12-08 04:21:14 -05:00
Matthew Kennedy 2e1dad3650 start making TS protocol testable (#2043)
* start pulling out a class

* pull function out of loop

* there we go

* ok there we go for real

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 03:05:43 -05:00
rusefillc 3a3586f730 basic hw in the loop - pwm self validation #2028 2020-12-07 20:42:47 -05:00
GitHub build-firmware Action 2c9ee5bf15 Auto-generated configs and docs 2020-12-08 01:33:19 +00:00
rusefillc a818e3ff05 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc 89cebd7d72 basic hw in the loop - pwm self validation #2028 2020-12-07 20:26:47 -05:00
rusefillc e2869e94a6 Merge remote-tracking branch 'origin/master' into master 2020-12-07 20:01:23 -05:00
rusefillc ee9aaf4e0d basic hw in the loop - pwm self validation #2028 2020-12-07 20:01:05 -05:00
GitHub set-date Action dc8005ad51 Update date 2020-12-08 00:47:47 +00:00
rusefi 412e2b1d40 Revert "Revert "Split ETB in to interface + implementation headers (#2040)""
This reverts commit dae0b606
2020-12-07 01:27:27 -05:00
rusefi e38c6d3660 Revert "Require redundant tps for ETB (#2037)"
This reverts commit c08d0b5e
2020-12-07 01:11:32 -05:00
rusefi dae0b606cb Revert "Split ETB in to interface + implementation headers (#2040)"
This reverts commit 53cbeedb
2020-12-07 01:11:19 -05:00
Matthew Kennedy 53cbeedb99 Split ETB in to interface + implementation headers (#2040)
* split etb interface

* mocks

* fix master while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
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