Commit Graph

98 Commits

Author SHA1 Message Date
Matthew Kennedy 7d657106d7
warning cleanup (#4020) 2022-03-22 16:53:24 -04:00
Matthew Kennedy 555a8d5f43
simplify cylinder phasing (#3650) 2021-12-05 10:46:35 -05:00
rusefillc fda7a3a775 Engine phase wrap around in log #3645
refactoring & docs
2021-12-02 17:06:20 -05:00
Matthew Kennedy 3334a6963c
oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05: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
Matthew Kennedy da6518dcb1
remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Andrey G fa840a7593
hip9011 and friends (#2527)
* engine math: extrant getFiringOrderTable for reuse

* engine math: getNextFiringCylinderId helper

* introduce knock_logic: first member is getCylinderKnockBank()

moved from software_knock.cpp

* hip9011: support two inputs/banks

* fix CI

* Board Subaru EG33: populated with TPIC8101 with Advanced mode

* hip9011: test communication in advanced mode

* hip9011: handle situation when chip is already in advanced mode

* Board Subaru EG33: cylinder to knock bank mapping

* hip9011: count spi transactions in advansed mode too

* hip9011: reset incalid responce counter after chip initialization

* hip9011: make debug output more structured
2021-04-04 18:13:21 -04:00
Matthew Kennedy 3a8313a94a
try rpm calculator timer (#2053)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

* oops

* format

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 18:56:34 -05:00
rusefillc b3d45b909f Revert "switch rpm calculator to use timer class (#2005)"
This reverts most of a26ed3eb5a commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy a26ed3eb5a
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 2ba340bce4 no bins 2020-08-03 12:21:49 -07:00
Matthew Kennedy 2b8b43ca55
plumb new load channels (#1573)
* wire up new channels

* add deprecation comment

* add gauges

* these tables are indeed used in those modes

* simplify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi c5cfd21a70 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 8f5895321c refactoring 2019-11-05 23:17:44 -05:00
rusEfi 1c0d38abef new feature: check engine light to blink on trigger synchronization 2019-08-18 15:53:38 -04:00
rusefi ff4b56504f refactoring 2019-07-08 18:02:21 -04:00
rusefi 28bde6f084 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi dd8e2d9326 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
rusefi f0344fd16c #625 big step - no more engine dependency from TriggerShape 2018-12-25 22:47:29 -05:00
rusefi 8ba703da6b docs 2018-10-13 09:24:41 -04:00
rusefi 9b1af6ad6d error codes 2018-09-10 22:10:55 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
rusEfi 9cce922b78 per error code 2018-07-23 21:38:05 -04:00
rusefi 74bd1d7e10 error code into angle validation 2018-07-23 21:03:20 -04:00
andreika-git ac0189270e Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi 1eea49aaec extracting macro 2018-02-03 10:48:35 -05:00
rusefi 64b7a51617 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusEfi 414f45ede2 softer error handling 2017-12-03 18:17:59 -05:00
rusefi 3232d0d59d better state validation 2017-12-02 18:58:40 -05:00
rusefi ba42a98c2f RPM refactoring 2017-07-06 17:26:32 -04:00
rusefi 004c0dc6b7 refactoring 2017-06-11 14:40:29 -04:00
rusefi d280141ac2 better error code names 2017-05-29 19:23:15 -04:00
rusefi 74a359077c better macro name 2017-05-15 23:33:22 -04:00
rusefi 3648a1f651 validating firing order length 2017-03-23 22:01:10 -04:00
rusefi 60920bfa14 refactoring #370 2017-03-09 00:51:27 -05:00
rusefi 2babd85a9e individual error codes for all errors 2017-03-05 08:50:19 -05:00
rusefi b01b053595 progress #363 2017-03-01 22:18:25 -05:00
rusEfi 55e89f0f31 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi 39fd428e0d auto-sync 2016-12-18 22:03:00 -05:00
rusEfi 12e550a3c4 auto-sync 2016-12-06 09:02:05 -05:00
rusEfi e8cf062755 auto-sync 2016-12-05 22:01:54 -05:00
rusEfi b8bf58aa58 auto-sync 2016-11-25 14:03:06 -05:00
rusEfi e984e7a0c4 auto-sync 2016-10-10 14:02:17 -04:00
rusEfi 1afc239f3b auto-sync 2016-09-15 18:02:36 -04:00
rusEfi 4cc1aee6a5 auto-sync 2016-07-24 23:02:52 -04:00
rusEfi d6b08f314b auto-sync 2016-07-01 01:01:34 -04:00
rusEfi f722def920 auto-sync 2016-07-01 00:02:20 -04:00