Commit Graph

5539 Commits

Author SHA1 Message Date
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
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 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 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
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
GitHub build-firmware Action 053e14de4f Auto-generated configs and docs 2020-12-05 05:05:04 +00: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 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 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 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
GitHub build-firmware Action 9c334ddb2d Auto-generated configs and docs 2020-12-03 14:36:32 +00: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
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
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
GitHub build-firmware Action 6f3f108948 Auto-generated configs and docs 2020-12-03 01:22:05 +00:00
GitHub set-date Action 2ca19f58b9 Update date 2020-12-03 00:46:39 +00:00
GitHub build-firmware Action 1b33657b34 Auto-generated configs and docs 2020-12-02 20:08:22 +00:00
GitHub build-firmware Action eb6849a18a Auto-generated configs and docs 2020-12-02 19:49:17 +00:00
GitHub build-firmware Action b7b2cf6722 Auto-generated configs and docs 2020-12-02 19:17:48 +00:00
GitHub build-firmware Action 23942578a6 Auto-generated configs and docs 2020-12-02 19:12:18 +00:00
GitHub build-firmware Action 0afc70a01a Auto-generated configs and docs 2020-12-02 18:40:45 +00:00
GitHub build-firmware Action e017bf53a1 Auto-generated configs and docs 2020-12-02 16:14:23 +00:00
GitHub set-date Action 5e6b173ba7 Update date 2020-12-02 00:44:31 +00:00
GitHub build-firmware Action e87071dbe1 Auto-generated configs and docs 2020-12-01 18:58:12 +00:00
shadowm60 b014023560 Launch Control refactoring (#1992)
* refactor

- called from periodicFastCallback
- removed defines

* Update rusefi.input

removed unused configurations.
added clutch inversion option

* Added new tests

fixed limiting only in case we have launch condition and rpm outside of window

* Update launch_control.cpp

Unintialized config update, now it is working fine with VSS and with clutch as well.

* small fixes

updated after review findings

* Fix breaking engine rev limiter

applyLaunchControlLimiting should not overwrite booleans to false!

* Delay timer in seconds

timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
GitHub set-date Action ef071e03d0 Update date 2020-12-01 00:45:58 +00:00
Matthew Kennedy c5295f520e timer (#1994) 2020-11-30 19:35:06 -05:00
GitHub build-firmware Action 39320dd3b4 Auto-generated configs and docs 2020-11-30 05:14:11 +00:00
GitHub set-date Action 37b86bd852 Update date 2020-11-30 00:44:36 +00:00
GitHub build-firmware Action 973f08dde4 Auto-generated configs and docs 2020-11-29 23:13:49 +00:00
rusefi 6bf93b653f Merge remote-tracking branch 'origin/master' into master 2020-11-29 12:51:04 -05:00
rusefillc ccfe980181 94 2020-11-28 22:59:55 -05:00
GitHub build-firmware Action 0ee28a9f8b Auto-generated configs and docs 2020-11-29 03:51:15 +00:00
rusefillc d199302b83 miata 94 2020-11-28 22:49:28 -05:00
GitHub build-firmware Action bf27882d39 Auto-generated configs and docs 2020-11-29 03:22:29 +00:00
GitHub set-date Action 3c7a323d58 Update date 2020-11-29 00:45:07 +00:00
GitHub set-date Action df7e48e5cd Update date 2020-11-28 00:42:15 +00:00
rusefi 93160c6abb LM_ALPHA_N_2 rename 2020-11-27 15:44:31 -05:00
Matthew Kennedy c442f1f785 fix gpio the right way (#1990)
* fix the right way

* use the api

* explain

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-27 00:24:41 -05:00
rusefillc 42c56a47da dead engine config
one step back
2020-11-26 21:21:25 -05:00
rusefillc 0f39f37bba dead engine config 2020-11-26 21:07:34 -05:00
rusefillc 96ca95bd1e dead engine config 2020-11-26 20:26:12 -05:00
GitHub set-date Action 7f3b91a538 Update date 2020-11-27 00:42:43 +00:00
Matthew Kennedy cf1c99b36c fix etb unit test idle hardware (#1991)
* move check to etb

* give it a sensor to read
2020-11-26 19:21:42 -05:00
rusefillc 41a02a0153 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:48:09 -05:00
GitHub build-firmware Action 2f30ac1575 Auto-generated configs and docs 2020-11-26 22:30:00 +00:00
rusefillc f63e3c68fd Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:20:13 -05:00
rusefillc 7b8d20108f Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 10:41:22 -05:00
rusefi ab98e15f01 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 00:16:59 -05:00
rusefi 7d11aaf9e4 Starter is engaged on start-up in pull-up configuration #1969 2020-11-25 23:59:11 -05:00
rusefi 1e91b88296 Starter is engaged on start-up in pull-up configuration #1969 2020-11-25 23:38:43 -05:00
Matthew Kennedy 92e36e66b5 fix etb wastegate percent output (#1988)
* wastegate etb should use percent

* percent_t

* fix test
2020-11-25 21:14:06 -05:00
rusefi 3ee96210af Merge remote-tracking branch 'origin/master' 2020-11-25 19:53:49 -05:00
rusefi 1d497eaac4 Starter is engaged on start-up in pull-up configuration #1969 2020-11-25 19:52:22 -05:00
GitHub set-date Action 2865b8318c Update date 2020-11-26 00:40:20 +00:00
rusefi bdba67e05f better default value 2020-11-25 17:02:28 -05:00
GitHub build-firmware Action bd9ec0f327 Auto-generated configs and docs 2020-11-25 21:46:33 +00:00
GitHub build-firmware Action e483d6805b Auto-generated configs and docs 2020-11-25 18:21:44 +00:00
Matthew Kennedy ae53889d10 Boost tolerance (#1986)
* tolerate invalid closed loop config when in open loop mode

* fix test
2020-11-25 07:27:24 -05:00
GitHub set-date Action 052206e9c4 Update date 2020-11-25 00:40:48 +00:00
rusefillc 5a0ec3088e avoid float -> int64 conversion #1977
cherry picking...
2020-11-24 14:11:41 -05:00
rusefillc 56044d4dd0 avoid float -> int64 conversion #1977
cherry picking...
2020-11-24 00:06:12 -05:00
rusefillc b939feea2b avoid float -> int64 conversion #1977
cherry picking...
2020-11-23 23:53:25 -05:00
Matthew Kennedy be71d06dfc remove (#1985) 2020-11-23 20:10:17 -05:00
GitHub set-date Action 5eb921f311 Update date 2020-11-24 00:40:20 +00:00
Matthew Kennedy ebb8ede1da squash warnings (#1984)
* warnings

* unused

* a few more

* too much

* uint16_t-ify
2020-11-23 09:43:16 -05:00
rusefi a54f3e5289 GDI Epic #1448 2020-11-23 01:10:12 -05:00
GitHub set-date Action e04b7aa089 Update date 2020-11-23 00:40:35 +00:00
GitHub build-firmware Action 4eb6e4cade Auto-generated configs and docs 2020-11-22 23:32:36 +00:00
Matthew Kennedy 6f9a84e79c adjust boost (#1975) 2020-11-22 18:30:19 -05:00
rusefi 918c8abf5c better hpfpValve bench settings 2020-11-22 12:43:28 -05:00
Andrey G 005a5daa74 ADC: fixes: (#1979)
* ADC: fixes:

-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM

* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
rusefi c3fa5d8847 GDI Epic #1448 2020-11-22 00:47:43 -05:00
GitHub build-firmware Action 34d45edc0f Auto-generated configs and docs 2020-11-22 05:45:32 +00:00
rusefi b58ef54479 GDI Epic #1448 2020-11-22 00:40:21 -05:00
rusefi 7c2eaee40f GDI Epic #1448 2020-11-22 00:13:55 -05:00
GitHub build-firmware Action ae932d2366 Auto-generated configs and docs 2020-11-22 05:11:29 +00:00
rusefi d1de459d0d GDI Epic #1448 2020-11-22 00:09:36 -05:00
GitHub build-firmware Action 39cfc0692a Auto-generated configs and docs 2020-11-22 03:58:53 +00:00
GitHub build-firmware Action 88d3c2b124 Auto-generated configs and docs 2020-11-22 03:01:11 +00:00
GitHub set-date Action 77d1d0a1fb Update date 2020-11-22 00:41:19 +00:00
GitHub build-firmware Action 6374b08e34 Auto-generated configs and docs 2020-11-21 01:38:58 +00:00
GitHub set-date Action fb0180be77 Update date 2020-11-21 00:39:02 +00:00
rusefillc 17a110ad44 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-19 23:57:06 -05:00
shadowm60 e69d103461 Launch control unit tests update (#1972)
* testable launch start

* extract base class

* add a test

* fix ts debug

* Launch control unit_tests

updated launch control for a better split
VSS mock for unit tests

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2020-11-19 21:14:38 -05:00
Matthew Kennedy ad6c24a9cc no feed forward for wastegate (#1971)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-19 20:51:30 -05:00
GitHub set-date Action 014e2feff4 Update date 2020-11-20 00:39:06 +00:00
rusefillc f3c9d67d8b Starter is engaged on start-up in pull-up configuration #1969
usability & test improvement
2020-11-19 17:15:28 -05:00
Matthew Kennedy 359a6ddc47 Launch control testable (#1967)
* testable launch start

* extract base class

* add a test

* fix ts debug
2020-11-19 08:15:56 -05:00
Matthew Kennedy 2792828dce Remove lockAnyContext, replace with CriticalSectionLocker (#1938)
* switch to CriticalSectionLocker

* that's just about all

* clean up last usage

* include hpp for sim

* need the cpp wrappers in the makefile too

* include dir

* include
2020-11-19 06:56:02 -05:00
rusefillc dbdfd87c6d Starter seems to be engaged forever fix #1965 2020-11-18 23:54:30 -05:00
rusefillc 2d3ddcde9d Starter seems to be engaged forever #1965 2020-11-18 22:47:40 -05:00
rusefillc b6dac8dac2 Starter seems to be engaged forever #1965 2020-11-18 22:42:41 -05:00
rusefillc b95dd4311b Starter seems to be engaged forever #1965 2020-11-18 21:08:01 -05:00
rusefillc a73b2c9298 Starter seems to be engaged forever #1965 2020-11-18 20:53:03 -05:00
rusefillc 4b57edc6d1 Starter seems to be engaged forever #1965 2020-11-18 20:48:52 -05:00
rusefillc ab75be8742 Something something unit test ETB does not work #1966 2020-11-18 20:12:58 -05:00
rusefillc 2af3cdf70e Starter seems to be engaged forever #1965 2020-11-18 20:01:02 -05:00
rusefillc 66c784480f Merge remote-tracking branch 'origin/master' into master 2020-11-18 19:51:57 -05:00
rusefillc c30d0d31f3 Starter seems to be engaged forever #1965 2020-11-18 19:51:51 -05:00
GitHub set-date Action 37230c1a95 Update date 2020-11-19 00:38:43 +00:00
rusefillc 5118a67f89 better error handling 2020-11-17 22:45:43 -05:00
GitHub set-date Action 5a54a6b668 Update date 2020-11-18 00:38:02 +00:00
Matthew Kennedy 7d6fe4ff8e undo 1946 (#1957) 2020-11-17 17:07:56 -05:00
rusefillc 8a419291c6 DC not ETB refactoring 2020-11-16 20:07:12 -05:00
rusefillc 851478f846 DC not ETB refactoring 2020-11-16 20:05:35 -05:00
GitHub build-firmware Action b00cc44f6d Auto-generated configs and docs 2020-11-17 00:54:02 +00:00
rusefillc 3fef5606ed DC not ETB refactoring 2020-11-16 19:51:36 -05:00
GitHub build-firmware Action d1f19d6a42 Auto-generated configs and docs 2020-11-17 00:45:34 +00:00
rusefillc 848af9a0f8 Merge remote-tracking branch 'origin/master' into master 2020-11-16 19:43:12 -05:00
rusefillc c6efcb6013 DC not ETB refactoring 2020-11-16 19:43:00 -05:00
GitHub set-date Action 8f6fe82262 Update date 2020-11-17 00:37:46 +00:00
rusefillc 499d93ed49 DC not ETB refactoring 2020-11-16 19:28:30 -05:00
GitHub build-firmware Action ea2eeb7ca1 Auto-generated configs and docs 2020-11-17 00:10:53 +00:00
Matthew Kennedy e0d0727896 adjust microsecond_timer api (#1952)
* change timer api

* don't need all that
2020-11-16 18:50:13 -05:00
Matthew Kennedy 89c56a00fa minor perf tweaks (#1946)
* only start PWM if needed

* put important stuff first

* use conversion

* this broke the logic
2020-11-16 00:06:11 -05:00
GitHub set-date Action 27c9571a3b Update date 2020-11-16 00:38:50 +00:00
GitHub build-firmware Action 8a20383b2d Auto-generated configs and docs 2020-11-15 22:33:48 +00:00
GitHub build-firmware Action 341778e3cc Auto-generated configs and docs 2020-11-15 22:19:44 +00:00
GitHub build-firmware Action f6b2c9743c Auto-generated configs and docs 2020-11-15 21:07:18 +00:00
GitHub set-date Action c1ba274027 Update date 2020-11-15 00:38:12 +00:00
GitHub build-firmware Action 6d63adc174 Auto-generated configs and docs 2020-11-14 23:08:03 +00:00
rusefillc 6f56988469 https://rusefi.com/forum/viewtopic.php?p=38367#p38367
idle position/waste gate position sensor usability
2020-11-14 18:05:27 -05:00
GitHub set-date Action 5423bf53e1 Update date 2020-11-14 00:36:52 +00:00
GitHub set-date Action 0db3a928aa Update date 2020-11-13 00:35:10 +00:00
GitHub build-firmware Action 1a2aaf5e29 Auto-generated configs and docs 2020-11-12 02:49:26 +00:00
Matthew Kennedy 605269c358 remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
Matthew Kennedy 6b0c533d2c consolidate EFI_UNIT_TEST and friends (#1940)
* restructure

* guard c++

* idle too

* status_loop.h

* consolidate definitions

* use 1/0 instead, check for existence

* missed a few

* dead define

* defs for bootloader
2020-11-11 20:34:39 -05:00
GitHub set-date Action 537f28cbb8 Update date 2020-11-12 00:35:21 +00:00
Matthew Kennedy 74d2af9c6c Move all DECLARE_ENGINE_PTR etc to one place (#1937)
* restructure

* guard c++

* idle too

* status_loop.h
2020-11-11 19:06:04 -05:00
rusefillc cf7c613ed8 GDI Epic #1448 2020-11-11 00:43:21 -05:00
GitHub build-firmware Action 58b039f433 Auto-generated configs and docs 2020-11-11 04:13:06 +00:00
Matthew Kennedy 0fa06e2e2a compensate injector flow based on fuel pressure (#1931)
* injector compensation

* fix

* ui

* testability & comments

* hella testing

* debug channels

* enum value

* auto generated enums

* update comment

* oops too much

* update config fields

* handle failed pressure sensor

* build

* fix

* add some todos for the future

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
GitHub set-date Action c1e99b05d4 Update date 2020-11-11 00:31:30 +00:00
rusefillc 99cf91c784 tle8888 drivers wants RAM as well 2020-11-10 18:26:46 -05:00
rusefillc c6c9ab36d0 Merge remote-tracking branch 'origin/master' into master 2020-11-10 18:26:09 -05:00
rusefillc 89ae747179 more more more RAM 2020-11-10 13:07:55 -05:00
GitHub build-firmware Action fcf09c3bd6 Auto-generated configs and docs 2020-11-10 17:39:01 +00:00
rusefillc 53113287f7 GDI Epic #1448 2020-11-09 22:53:46 -05:00
rusefillc 529a6863c3 GDI Epic #1448 2020-11-09 22:53:23 -05:00
rusefillc fd140ee665 GDI Epic #1448 2020-11-09 22:49:06 -05:00
rusefillc ac37b2c19e GDI Epic #1448 2020-11-09 22:33:48 -05:00
rusefillc 0474458906 GDI Epic #1448 2020-11-09 22:21:38 -05:00
GitHub build-firmware Action 05d94c987e Auto-generated configs and docs 2020-11-10 03:09:32 +00:00
rusefillc d8a022d1aa GDI Epic #1448 2020-11-09 21:41:13 -05:00
GitHub build-firmware Action e3a34c427c Auto-generated configs and docs 2020-11-10 02:34:55 +00:00
rusefillc aa5c0ec049 RAM, ram, ram... 2020-11-09 21:25:44 -05:00
GitHub build-firmware Action 9bdcd5290f Auto-generated configs and docs 2020-11-10 02:20:33 +00:00
rusefillc 1739437096 Output pin init/deinit needs a linked list #1803 2020-11-09 21:10:48 -05:00
rusefillc 76e7c0be01 Merge remote-tracking branch 'origin/master' into master 2020-11-09 19:48:11 -05:00
rusefillc 8fc5e1a4a0 docs 2020-11-09 19:47:10 -05:00
GitHub set-date Action 3e88d50e15 Update date 2020-11-10 00:39:25 +00:00
GitHub set-date Action 5f44182973 Update date 2020-11-09 00:39:56 +00:00
GitHub set-date Action cf108f6225 Update date 2020-11-08 00:40:00 +00:00
rusefillc 89a20a20b0 Proteus TCU gear shift configuration #1927 2020-11-06 23:48:35 -05:00
rusefillc e168ae1d35 refactoring: code duplication 2020-11-06 21:24:58 -05:00
GitHub set-date Action 0d19eff22c Update date 2020-11-07 00:38:05 +00:00
rusefi fa0de4598c Output pin init/deinit needs a linked list #1803 2020-11-06 15:45:15 -05:00
rusefi 34f887d6af v12 & dual-channel PPS 2020-11-06 15:30:11 -05:00
GitHub build-firmware Action 3396487f84 Auto-generated configs and docs 2020-11-06 19:37:34 +00:00
GitHub set-date Action 13024163d7 Update date 2020-11-06 00:37:03 +00:00
rusefillc 3643b2d063 Output pin init/deinit needs a linked list #1803 2020-11-05 18:42:45 -05:00
rusefillc 14fffa5136 refactoring 2020-11-05 18:10:44 -05:00
rusefillc 8e4ebc9a7d Output pin init/deinit needs a linked list #1803 2020-11-05 17:52:30 -05:00
rusefillc 721ab9c7ca Output pin init/deinit needs a linked list #1803
one step back
2020-11-05 17:44:16 -05:00
rusefillc e7b1b80ce9 Output pin init/deinit needs a linked list #1803 2020-11-05 17:23:09 -05:00
rusefillc 310998d0ae GDI Epic #1448 2020-11-05 16:42:56 -05:00
rusefillc e06fdaea0a GDI Epic #1448 2020-11-05 16:34:25 -05:00
GitHub build-firmware Action b363782d04 Auto-generated configs and docs 2020-11-05 20:37:03 +00:00
GitHub build-firmware Action 536230b587 Auto-generated configs and docs 2020-11-05 13:06:37 +00:00
GitHub set-date Action 9451f6f743 Update date 2020-11-05 00:36:36 +00:00
GitHub build-firmware Action cbeca5144c Auto-generated configs and docs 2020-11-04 19:51:14 +00:00
GitHub build-firmware Action 45d34a28e9 Auto-generated configs and docs 2020-11-04 17:50:19 +00:00
rusefi cff029f289 miata TCU 2020-11-04 12:48:07 -05:00
GitHub build-firmware Action 72ebf9312d Auto-generated configs and docs 2020-11-04 17:46:41 +00:00
GitHub build-firmware Action f2f552434f Auto-generated configs and docs 2020-11-04 05:47:44 +00:00
GitHub set-date Action 50fc169e13 Update date 2020-11-04 00:35:42 +00:00
GitHub build-firmware Action 0bad2bc697 Auto-generated configs and docs 2020-11-04 00:05:36 +00:00
Matthew Kennedy 5f11390f58 fatal error + inhibit read on TS preset (#1922)
* fatal error + inhibit read on preset

* inhibit more stuff when flag is set

* don't need that message

* extract function, improve msg

* changelog entry
2020-11-03 19:03:46 -05:00
Matthew Kennedy e8bb0cfd00 extract idle hardware to its own file (#1923)
* extract idle hardware

* should fix the build
2020-11-03 18:06:32 -05:00
Matthew Kennedy 789926a61d convert cranking defaults to mg (#1921)
* convert cranking defaults to mg

* fix tests
2020-11-03 14:12:26 -05:00
rusefi a626e4f0c8 GDI Epic #1448 2020-11-03 13:19:56 -05:00
rusefillc 4000c34c93 Output pin init/deinit needs a linked list #1803 2020-11-03 12:28:13 -05:00
GitHub build-firmware Action 582774150c Auto-generated configs and docs 2020-11-03 17:20:50 +00:00
GitHub build-firmware Action 175eca2956 Auto-generated configs and docs 2020-11-03 16:39:27 +00:00
rusefillc 7f733de3b8 Merge remote-tracking branch 'origin/master' into master 2020-11-03 11:34:54 -05:00
rusefillc 39d21ca08f Output pin init/deinit needs a linked list #1803 2020-11-03 11:31:40 -05:00
rusefillc fa49bbd580 Output pin init/deinit needs a linked list #1803 2020-11-03 11:01:43 -05:00
GitHub build-firmware Action 72b393b645 Auto-generated configs and docs 2020-11-03 15:53:22 +00:00
rusefillc 4397c1f18b Output pin init/deinit needs a linked list #1803 2020-11-03 10:51:54 -05:00
rusefi 4dc5c61f60 Output pin init/deinit needs a linked list #1803
trying to make things more consistent & smarter
2020-11-03 00:46:03 -05:00
rusefi c464dfdca6 Output pin init/deinit needs a linked list #1803 2020-11-03 00:21:39 -05:00
rusefi 66b61f76a7 Output pin init/deinit needs a linked list #1803 2020-11-03 00:09:42 -05:00
rusefi 9aa8273cbb Merge remote-tracking branch 'origin/master' 2020-11-02 23:53:38 -05:00
rusefi 82768bed1e typo 2020-11-02 23:52:26 -05:00
GitHub build-firmware Action dd2d1c01d5 Auto-generated configs and docs 2020-11-03 04:48:42 +00:00
rusefi 8dcb2fe55f this stuff is just too dead 2020-11-02 23:46:41 -05:00
GitHub set-date Action 6903b348ec Update date 2020-11-03 00:34:56 +00:00
GitHub build-firmware Action f230f0abe8 Auto-generated configs and docs 2020-11-02 03:27:26 +00:00
Andrey G e14fa4b189 Tle8888 small update (#1908)
* TLE8888: add support MR switching from SW

Main Relay has limitation - it is always active while KEY=1. When
KEY=0 MR can be switched on from SW.

* TLE8888: support reading of KEY and WAKE inputs

* Rusefi enums: add new TLE8888 pins
2020-11-01 22:19:55 -05:00
GitHub set-date Action 26336f3f5c Update date 2020-11-02 00:34:36 +00:00
rusefi a00229c843 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-11-01 00:33:42 -04:00
rusefi d2d8b78073 B6 GDI 2020-11-01 00:33:18 -04:00
GitHub set-date Action cc9fde8095 Update date 2020-11-01 00:36:45 +00:00
rusefi 1d6c6eb804 wall wetting default 2020-10-31 19:28:27 -04:00
GitHub build-firmware Action 5186c4813c Auto-generated configs and docs 2020-10-31 21:54:50 +00:00
Matthew Kennedy a29f73f467 log afr in addition to lambda (#1920)
* log afr

* log it

* weird double commas
2020-10-31 17:52:07 -04:00
GitHub set-date Action 9b58ac9fd8 Update date 2020-10-31 00:32:15 +00:00
GitHub build-firmware Action 057bdb540a Auto-generated configs and docs 2020-10-30 21:44:34 +00:00
GitHub set-date Action c53a9824f6 Update date 2020-10-30 00:34:32 +00:00
GitHub build-firmware Action 36850f76b9 Auto-generated configs and docs 2020-10-29 19:28:08 +00:00
Matthew Kennedy bcabb51222 unused tach field (#1918) 2020-10-29 15:26:01 -04:00
GitHub set-date Action 8a0ea8c8fd Update date 2020-10-29 00:58:40 +00:00
rusefillc 781cc3d326 [EPIC] [Feature Request] Transmission Control #1454 2020-10-28 01:23:05 -04:00
rusefillc 2f8f0bdd3c Merge remote-tracking branch 'origin/master' into master 2020-10-28 01:15:53 -04:00
GitHub build-firmware Action 046f4247df Auto-generated configs and docs 2020-10-28 05:06:20 +00:00
rusefillc 91afd62a53 GDI 2020-10-28 01:01:54 -04:00
rusefillc eb06ce55cd TCU 2020-10-28 01:01:30 -04:00
GitHub build-firmware Action 2d12a998a0 Auto-generated configs and docs 2020-10-28 04:22:27 +00:00
GitHub build-firmware Action 28ba6a9025 Auto-generated configs and docs 2020-10-28 04:18:04 +00:00
GitHub set-date Action 94f49adf34 Update date 2020-10-28 00:57:34 +00:00
GitHub build-firmware Action 5019042e10 Auto-generated configs and docs 2020-10-27 12:24:46 +00:00
GitHub set-date Action bec70e3cd4 Update date 2020-10-27 00:56:50 +00:00
GitHub build-firmware Action c202e8b15c Auto-generated configs and docs 2020-10-26 22:17:20 +00:00
Matthew Kennedy b8c2041467 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 61865292ff probably fix ci (#1912) 2020-10-26 14:04:22 -04:00
GitHub build-firmware Action e862d2c1fe Auto-generated configs and docs 2020-10-26 11:25:24 +00:00
Matthew Kennedy 6abc80e74c convert mass -> duration later in the pipeline (#1906)
* cranking duration to mass

* implement

* units

* patch types

* suppress warning

* fix output channels

* add note about how to set it
2020-10-26 07:23:13 -04:00
GitHub build-firmware Action 959e6e9a62 Auto-generated configs and docs 2020-10-26 02:28:28 +00:00
GitHub set-date Action b5605c9fba Update date 2020-10-26 00:57:31 +00:00
GitHub build-firmware Action 7ff2189e60 Auto-generated configs and docs 2020-10-25 23:27:30 +00:00
Matthew Kennedy 5189e0b1d9 fix double deadtime (#1904)
* move global correction factor to fuel mass

* tests

* the fix
2020-10-25 00:12:05 -04:00
GitHub set-date Action 5b627e0e77 Update date 2020-10-25 00:58:09 +00:00
GitHub set-date Action af13c26680 Update date 2020-10-24 00:55:30 +00:00
Matthew Kennedy 5296de1493 use fuel model (#1901)
* use fuel model

* spit'n'polish
2020-10-23 20:25:47 -04:00
GitHub build-firmware Action f504ba90b8 Auto-generated configs and docs 2020-10-23 19:48:01 +00:00
Matthew Kennedy c38eb6d38f add Injector pressure sensor (#1898)
* add sensor type

* add config

* initialize injector pressure

* add UI
2020-10-23 15:46:16 -04:00
GitHub build-firmware Action a873f9f72b Auto-generated configs and docs 2020-10-23 16:27:21 +00:00
Andrey G 88e830d635 Tle8888 big update 1 (#1892)
* smart gpio: fix tle8888 direct pin mapping for MRE

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888

* TLE8888: cleanup

* TLE8888: do not reset driver private data on WD/undervoltage reset

* TLE8888: diagnostic updates

* TLE8888 driver: BIG driver rework

* TLE8888: check SPI answers for abnormal states

Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed

Keep tracking last accessed register and check with the next reply.

* TLE8888: debug clean-up

* TLE8888: implement spi array write

This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS

* TLE8888: fix PP outputs in OD mode

* TLE8888: cleanup register definitions

* TLE8888: run separate driver thread for each chip instance

Calculating poll interval for few chips become more complex, avoid
this running thread for each device.

* TLE8888: fix cypress and kinetic compilation

Both platforms define its own MAX and cause redifination error if
common.h is included in driver.

* MRE: update mapping.yaml and fix direct pin mapping for TLE8888

* TLE8888: diagnnostic: disable switch off in case of overcurrent

For all output, use current limiting instead

* TLE8888: check for overvoltage on OUT8..OUT13

* TLE8888: add TODO note about how to recover from failure condition

Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.

* TLE8888: save few bytes of RAM

* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888

Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c

* TLE8888: reorder code, cleanup

* TLE8888: mode all debug/statisctic to per-chip struct

* TLE8888: rework poll interval calculation

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
GitHub build-firmware Action 7342b18291 Auto-generated configs and docs 2020-10-23 16:25:10 +00:00
GitHub build-firmware Action 36cf2d5e4c Auto-generated configs and docs 2020-10-23 11:33:40 +00:00
Matthew Kennedy dbdeca93b0 implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
rusefi 25189a70a8 B6 2020-10-23 00:39:22 -04:00
GitHub build-firmware Action 451d893a34 Auto-generated configs and docs 2020-10-23 03:26:03 +00:00
GitHub build-firmware Action eee55b77ec Auto-generated configs and docs 2020-10-23 03:19:42 +00:00
GitHub set-date Action fd0d145a5b Update date 2020-10-23 00:55:50 +00:00
GitHub build-firmware Action 9ebd97289c Auto-generated configs and docs 2020-10-22 02:51:46 +00:00
Matthew Kennedy 38b6e9ba2b gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
GitHub build-firmware Action a9cad5c3f0 Auto-generated configs and docs 2020-10-22 02:37:10 +00:00
rusefi 73d53db758 code style 2020-10-21 22:13:18 -04:00
GitHub set-date Action ad515b0f14 Update date 2020-10-22 00:55:13 +00:00
GitHub set-date Action c72bfdabe7 Update date 2020-10-21 00:54:27 +00:00
rusefi 4343f96fd4 refactoring 2020-10-19 22:44:44 -04:00
rusefi ca89cf9b95 GDI Epic #1448 2020-10-19 22:04:06 -04:00
GitHub set-date Action c25bf07abf Update date 2020-10-20 00:54:38 +00:00
GitHub build-firmware Action 782ffdaf6e Auto-generated configs and docs 2020-10-19 12:06:22 +00:00
Matthew Kennedy 4d1c331eca second PID config for wastegate (#1889)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests

* consume

* add cfg field

* ui maybe

* fix

* fix

* add wastegate config test
2020-10-19 08:04:27 -04:00
Matthew Kennedy 5337d9f723 Etb wastegate hookup (#1888)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests
2020-10-18 21:57:04 -04:00
GitHub set-date Action e4cab65723 Update date 2020-10-19 00:54:39 +00:00
Matthew Kennedy 8c11a6fb4b remove (#1887) 2020-10-18 20:49:42 -04:00
Matthew Kennedy 2c23085715 Etb function cfg: actually read config (#1884)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-18 17:26:38 -04:00
GitHub set-date Action 79f02f09ce Update date 2020-10-18 00:55:31 +00:00
rusefillc c354d1deb2 dead legacy code - current implementation is definitely more correct 2020-10-17 18:46:07 -04:00
rusefillc 3314394dd9 refactoring: better method name 2020-10-17 18:45:08 -04:00
rusefillc aec48c294e GDI Epic #1448 2020-10-17 14:53:56 -04:00
Matthew Kennedy c73978310f Remove trigger listener list (#1886)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out

* remove listener array
2020-10-17 08:00:11 -04:00
GitHub set-date Action 32e7391ffb Update date 2020-10-17 00:52:43 +00:00
Matthew Kennedy f6f3e514d2 trigger/scheduler perf improvements (#1885)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out
2020-10-16 11:04:27 -04:00
Matthew Kennedy 87d34ffcee more safe parts probably (#1883) 2020-10-15 22:04:42 -04:00
GitHub set-date Action e82306deaa Update date 2020-10-16 00:53:08 +00:00
Matthew Kennedy 02c47eeec8 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
GitHub build-firmware Action 2332ab26a0 Auto-generated configs and docs 2020-10-15 12:59:24 +00:00
Matthew Kennedy 94bd5921c5 simplify getTimeNowNt() (#1876)
* remove old impl

* add cpp wrapper to os_access

* clean up os_access

* remove touchTimeCounter

* new impl

* put comment about lock free impl

* include cpp wrappers for BL

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-15 08:57:13 -04:00
GitHub build-firmware Action 7b4c02eb6c Auto-generated configs and docs 2020-10-15 02:42:20 +00:00
Matthew Kennedy eac2b179c7 fix temp sensor & validate it (#1879)
* fix temp sensor & validate

* smaller here should work
2020-10-14 22:39:16 -04:00
Matthew Kennedy abfa17216b etb function config 1 (#1881)
* this should all be safe...

* test fix
2020-10-14 22:02:09 -04:00
GitHub set-date Action ed3a341c89 Update date 2020-10-15 00:52:07 +00:00
Matthew Kennedy 4868068e2f start using BufferedWriter (#1878)
* do the part up to actual usage

* borrow some memory for now
2020-10-14 20:06:05 -04:00
GitHub set-date Action 9df7b80835 Update date 2020-10-14 00:51:46 +00:00
GitHub set-date Action 97663a0594 Update date 2020-10-13 00:51:50 +00:00
Matthew Kennedy c5291888d0 buffered writer - progress on #1463 (#1875)
* add buffered writer

* rename
2020-10-12 15:10:34 -04:00
rusefi 996806d710 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 22:57:31 -04:00
rusefi 1c84b0dd9f QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase fix #1871 2020-10-11 22:46:08 -04:00
GitHub set-date Action 3df68f838c Update date 2020-10-12 00:51:55 +00:00
Matthew Kennedy 3985b7a6c9 Fix #1873 - compute dynamic PWM iterationLimit (#1874)
* fix

* remove define

* add an assert

* typo

* don't do a 64bit divide

* oh that's a float
2020-10-11 20:25:38 -04:00
GitHub build-firmware Action 08d03374d4 Auto-generated configs and docs 2020-10-11 23:07:39 +00:00
rusefi 4743718663 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
GitHub build-firmware Action b537290fdb Auto-generated configs and docs 2020-10-11 21:49:05 +00:00
GitHub set-date Action a5babfa28a Update date 2020-10-11 00:52:48 +00:00
GitHub build-firmware Action cb71a9ba23 Auto-generated configs and docs 2020-10-10 03:36:50 +00:00
David Holdeman a6a0e8ba77 Simple transmission 2 (#1870)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size

* add to makefile

* fixes

* fixes

* wat

* output pin, and ts stuff

* use SimpleTransmissionController

* include

* grrr

* grrr

* move to separate file

* fix includes

* try

* semicolon stupid

* try pointers

* try

* add to makefile

* wat

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* undo

* more idiomatic maybe

* remove logger

* try init func

* try

* try

* try init fn

* try

* switch

* try

* try

* ifndef

* try

* try

* ifndef

* use def dug

* INJECT FIRST

* try

* try

* duh
2020-10-09 23:34:45 -04:00
GitHub set-date Action c646fe2be7 Update date 2020-10-10 00:50:10 +00:00
GitHub build-firmware Action c6d12d8459 Auto-generated configs and docs 2020-10-09 21:19:04 +00:00
Matthew Kennedy 51d407aaf0 ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
GitHub build-firmware Action f01583be7a Auto-generated configs and docs 2020-10-09 06:11:02 +00:00
GitHub build-firmware Action e3cfc760d0 Auto-generated configs and docs 2020-10-09 06:07:46 +00:00
GitHub set-date Action c7879cef42 Update date 2020-10-09 00:49:56 +00:00
rusefillc a20f093140 SD card logs not valid for REO #1864 2020-10-08 20:35:32 -04:00
rusefillc 53c001d541 revering functional part of
Etb function cfg, try again #1860
try again from #1831
2020-10-08 17:09:00 -04:00
GitHub build-firmware Action 054b082355 Auto-generated configs and docs 2020-10-08 18:14:09 +00:00
Matthew Kennedy cca175c6ea Etb function cfg, try again (#1860)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-08 14:12:03 -04:00
Matthew Kennedy 732e2a64c1 fix fuel pump (#1865) 2020-10-07 22:30:24 -04:00
GitHub set-date Action 16eff072d2 Update date 2020-10-08 00:41:29 +00:00
Matthew Kennedy b9c26efd57 fix (#1863) 2020-10-07 14:59:24 -04:00
Matthew Kennedy 22a55ce7e6 switch from float to expected<float> (#1862) 2020-10-06 22:33:00 -04:00
Matthew Kennedy 7b333e60ea FSIO refactoring (#1861)
* better fsio tests

* condense operators

* minor parser cleanup too

* comments, too!
2020-10-06 21:54:49 -04:00
GitHub set-date Action c7c70bc87a Update date 2020-10-07 00:49:32 +00:00
rusefillc d5d5bbba9f tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
GitHub set-date Action bdbc8ef46f Update date 2020-10-06 00:48:58 +00:00
Matthew Kennedy e112bbd07e remove virtual calls from hot path (#1857)
* const ref-ify

* no virtual 

* even more const

* tests

* fix tests
2020-10-05 16:42:50 -04:00
Matthew Kennedy 060cfbd778 const ref-ify trigger (#1856)
* const ref-ify

* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy 540fca8cc9 use expected for event queue next event (#1859)
* use expected for event queue next event

* minor cleanup

* tests
2020-10-05 13:53:34 -04:00
Matthew Kennedy 60329b55a5 we don't need two loops (#1855) 2020-10-05 08:57:00 -04:00
Matthew Kennedy 04ae4ee347 pwm perf (#1858)
* pwm perf

* this trace is now redundant
2020-10-05 08:23:30 -04:00
Matthew Kennedy da3242f2fc missing iat (#1854) 2020-10-04 21:33:54 -04:00
GitHub set-date Action 41e49ff53c Update date 2020-10-05 00:50:15 +00:00
Matthew Kennedy ebc884e8d5 trigger decode cleanup and perf (#1853)
* trigger decode cleanup

* test config ptr patchup

* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefillc 9808e675f5 Trigger performance: variable gapTrackingLength #1851
cool change but looks to have made zero difference
2020-10-04 13:05:49 -04:00
rusefillc 61186a8d80 fixing Kinetis build 2020-10-04 03:04:01 -04:00
rusefillc e6bac27c70 60/2 perf grab #1850
unused parameter
2020-10-04 02:09:12 -04:00
rusefillc c1023504e6 Re-applying #1841
Revert "HW CI has failed 11 times since Oct 2 #1849"

This reverts commit 7d8238e6
2020-10-04 01:54:29 -04:00
rusefillc 8c32b13567 60/2 perf grab #1850
a) removing more of stack validating - one validation within the deepest method would be enough

b) un-wrapping main callback loop for explicit order of execution
2020-10-04 01:43:02 -04:00
rusefillc edc8ee7299 60/2 perf grab #1850 2020-10-04 01:26:29 -04:00
rusefillc 149bc309f7 60/2 perf grab #1850 2020-10-04 01:04:15 -04:00
rusefillc d9102b3c3c 60/2 perf grab #1850 2020-10-04 00:15:40 -04:00
GitHub build-firmware Action a21a27898b Auto-generated configs and docs 2020-10-04 02:02:15 +00:00
rusefillc aee984d0c2 HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit fd7dae8a
2020-10-03 22:00:00 -04:00
rusefillc 7d8238e697 HW CI has failed 11 times since Oct 2 #1849
Revert "configure all sample times - fix MRE knock sampling (#1841)"

This reverts commit e02c86a7
2020-10-03 21:36:09 -04:00
rusefillc b4fb172b06 Merge remote-tracking branch 'origin/master' into master 2020-10-03 20:53:29 -04:00
rusefillc 88e9dcd867 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:53:23 -04:00
GitHub set-date Action 8957a9f13d Update date 2020-10-04 00:51:05 +00:00
rusefillc bd78aa288d HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:25:37 -04:00
rusefillc 731341dad1 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:45:39 -04:00
GitHub build-firmware Action b339ad71bc Auto-generated configs and docs 2020-10-03 23:29:56 +00:00
GitHub build-firmware Action c67f26e863 Auto-generated configs and docs 2020-10-03 14:42:14 +00:00
rusefillc 3be325f78d Merge remote-tracking branch 'origin/master' into master 2020-10-03 10:39:54 -04:00
rusefillc c9bdd59220 new VVT trigger shape? #1847 2020-10-03 10:39:43 -04:00
GitHub build-firmware Action 5d006198eb Auto-generated configs and docs 2020-10-03 14:27:55 +00:00
GitHub build-firmware Action 279e1c008d Auto-generated configs and docs 2020-10-03 14:06:31 +00:00
GitHub build-firmware Action 905edb2fd4 Auto-generated configs and docs 2020-10-03 00:52:49 +00:00
Matthew Kennedy fd7dae8ab8 ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
Matthew Kennedy e02c86a7dc configure all sample times - fix MRE knock sampling (#1841)
* configure all sample times

* smpr 1 vs smpr 2

* man I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-02 20:49:56 -04:00
GitHub set-date Action 3135cfec0a Update date 2020-10-03 00:47:49 +00:00
GitHub build-firmware Action b96af6ce25 Auto-generated configs and docs 2020-10-02 18:35:16 +00:00