Commit Graph

372 Commits

Author SHA1 Message Date
Matthew Kennedy a70f113b77
finish it off: remove scheduleMsg (#2575)
* finish it off

* one more logger ptr

* fwd decl

* Revert "one more logger ptr"

This reverts commit a21fb0087ddc748978d716db2710800cf26e437b.

* unused

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 15:33:40 -04:00
Matthew Kennedy c26987b96b
Destroy all shared logger (#2574)
* most of shared logger

* a few more

* one more

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy ad71016862
rip the bandaid: find-replace most of scheduleMsg (#2572)
* biiiig find replace

* more trivial find replace

* pwm

* almost all of them

* few more

* gpio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
rusefillc 2b6345070f WOW major scheduling drama on NB2 running with Proteus #2533 2021-04-15 19:12:09 -04:00
rusefillc 2b8ec15071 WOW major scheduling drama on NB2 running with Proteus #2533
totally same numbers for NB1 just simpler code
2021-04-15 18:44:37 -04:00
rusefillc 3c6c4595c2 WOW major scheduling drama on NB2 running with Proteus #2533
removing weird comments
2021-04-15 18:22:23 -04:00
rusefillc 79e0d6ebd4 dead code - same value set by 's->initialize' 2021-04-13 01:11:03 -04:00
rusefillc 01344ec851 Kawasaki KX450F trigger wheel #2538 2021-04-13 00:24:52 -04:00
rusefillc 027a9efdc8 https://rusefi.com/forum/viewtopic.php?p=40383 2021-04-11 18:20:35 -04:00
rusefillc debd15991e Kawasaki KX450F trigger wheel #2538 2021-04-09 12:44:28 -04:00
rusefillc 2032e5fdb8 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:16:14 -04:00
Matthew Kennedy 5e88376e2c
barra vvt cam pattern (#2483)
* barra vvt cam pattern

* two tooth sync

* I think this needs to be here too
2021-03-22 07:48:29 -04:00
Andrey G 89b631a794
Hip9011 and cleanups (#2477)
* hip9011: move hipCs out of EnginePins to hip9011 driver

* hip9011: cleanup debug output, save few RAM bytes

* Supress few signed vs unsigned warnings
2021-03-20 08:40:36 -04:00
Matthew Kennedy be70524ced
harden against various no-boot scenarios (#2468)
* zero length trigger

* validate config

* validate cylinder count

* wrong type on cylinder count

* invalid comment

* invalid SPI
2021-03-17 09:24:13 -04:00
rusefillc 4e35176e81 TDC Trigger Position #2428
any single-tooth primary trigger should automatically run with "useOnlyPrimaryForSync = true;"
2021-03-08 00:00:48 -05:00
rusefillc e4bd0f6815 removing dead code - initialize() sets 'true' already 2021-03-07 23:37:54 -05:00
rusefillc 953990d10b Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05:00
rusefillc d95ba6b443 Trigger pattern request Škoda Favorit #2302 2021-02-06 20:12:58 -05:00
rusefillc 29db28f077 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 11:06:32 -05:00
rusefillc 8ff61e9e68 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 09:50:20 -05:00
rusefillc 7eb5816c33 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:44:14 -05:00
rusefillc 11f9bf16f6 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:18:11 -05:00
rusefillc 9a2cc6b3c9 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 22:49:49 -05:00
rusefi 10e980e293 Revert "Save more space in the angle cache (#2228)"
This reverts commit c7ca1b2e
2021-01-18 18:53:00 -05:00
Matthew Kennedy c7ca1b2ef4
Save more space in the angle cache (#2228)
* store event angles in a scaled field

* tests

* comment
2021-01-18 18:31:06 -05:00
Matthew Kennedy 6a1b9db952
save 1440 bytes (#2226) 2021-01-16 21:22:30 -05:00
Matthew Kennedy 60f70a3721
clean up some includes (#2227)
* cleanup

* make c happy
2021-01-16 09:45:45 -05:00
Matthew Kennedy a5266cd6ef
part of 2217 which may fix it alone (#2220) 2021-01-11 08:01:54 -05:00
rusefillc 6c01aedbb0 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:44:31 -05:00
rusefillc 8c38664084 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:34:19 -05:00
rusefillc 9b5d45cb04 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:05:16 -05:00
rusefillc b1499d8a7f RAM efficiency of VR crank trigger shapes #2182 2021-01-04 00:26:05 -05:00
rusefillc b3e3248d71 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 14:05:24 -05:00
rusefillc 15665484e5 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:52:53 -05:00
rusefillc 8f06008239 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:34:00 -05:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi eae865d4de subi ops 2020-12-13 16:41:53 -05:00
rusefi f8803da107 poke 2020-12-13 16:31:47 -05:00
rusefi 38bcd63e13 maybe this would just work? 2020-12-13 16:22:02 -05:00
rusefillc 64fdfba435 dead code 2020-12-10 21:45:25 -05:00
rusefillc 9400af5452 GM x24 is a well defined trigger needs hard-coded tdcPosition fix #2054 2020-12-10 19:38:33 -05:00
rusefillc e6bfd9a2ed trigger lifecycle 2020-12-09 12:19:25 -05:00
rusefillc 6200569f28 6.1 Hemi V8 decoder fix #2010 2020-12-04 16:50:26 -05:00
rusefillc eaba91e1fd 6.1 Hemi V8 decoder #2010 2020-12-04 16:33:29 -05:00
rusefillc be2a34a956 refactoring: magic constants 2020-12-04 16:24:19 -05:00
rusefillc 2524b7b8c2 6.1 Hemi V8 decoder #2010 2020-12-04 16:03:27 -05:00
rusefillc e730c2c0b1 6.1 Hemi V8 decoder #2010 2020-12-04 15:33:07 -05:00
rusefillc 9221a12d95 6.1 Hemi V8 decoder #2010 2020-12-04 15:22:53 -05:00
rusefillc 61925aad15 all triggers should be documented way nicer #2001 2020-12-04 14:00:49 -05:00
rusefillc 6496fd5a64 all triggers should be documented way nicer #2001 2020-12-04 13:54:16 -05:00
rusefillc 8e13892736 6.1 Hemi V8 decoder #2010 2020-12-04 01:02:09 -05:00
rusefillc 0a23e82baf 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
rusefillc 4c3eae5676 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
rusefillc f021c37cc1 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT fix #2008 2020-12-03 23:12:30 -05:00
rusefillc c55120372b DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
rusefillc dd9e431782 dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
rusefillc a2036ebc70 dead trigger, this would now be vvt+60/2 2020-12-03 01:22:57 -05:00
rusefillc 0ba97379fb all triggers should be documented way nicer #2001 2020-12-02 22:17:38 -05:00
Matthew Kennedy a9e2a5cd1e
fix (#1863) 2020-10-07 14:59:24 -04:00
Matthew Kennedy 5925a5f4bd
const ref-ify trigger (#1856)
* const ref-ify

* tests
2020-10-05 14:22:59 -04:00
rusefillc 348b387483 Trigger performance: variable gapTrackingLength #1851
cool change but looks to have made zero difference
2020-10-04 13:05:49 -04:00
rusefi 23e0851101 adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi 10a6661fa5 VVT support for VAG trigger #883 2020-08-26 23:35:11 -04:00
rusefi e4386be937 VVT support for VAG trigger #883 2020-08-26 20:57:11 -04:00
rusefi 2ddf6ad717 VVT support for VAG trigger #883 2020-08-25 16:19:23 -04:00
rusefi 639e5be4d9 another attempt at dead code 2020-08-25 15:58:56 -04:00
rusefi b09091774a VVT support for VAG trigger #883 2020-08-25 12:45:18 -04:00
rusefi bfd5fb88d5 oh, here it is 2020-08-25 01:38:56 -04:00
rusefi b5098eb331 VVT support for VAG trigger #883 2020-08-25 01:24:15 -04:00
rusefi 540eef5e0d VVT support for VAG trigger #883 2020-08-25 00:59:07 -04:00
rusefi 5f5a16867a VVT support for VAG trigger #883
a bit of dead code?
2020-08-24 02:31:27 -04:00
rusefi e936c2742c self-stimulation RPM is wrong by 50% if switching from NA6 to NB2 configuration fix #1682 2020-08-08 17:00:14 -04:00
Matthew Kennedy b11c5cd8c8
switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
dron0gus a2565b7849
triggers: add Subaru SVX trigger (3 sensors) (#1433) 2020-05-14 20:40:47 -04:00
rusefi 8d91cc65cc 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi e451e3c4aa 34-2 3 cam Toyota wheel 2020-05-09 01:51:04 -04:00
rusefi 4ea0a3de26 nicer error messages 2020-05-09 01:49:17 -04:00
rusefi 6661c66e62 34-2 3 cam Toyota wheel progress 2020-05-09 01:15:55 -04:00
rusefi 3575962da6 docs 2020-05-04 22:31:47 -04:00
rusefi e18ee8c097 Bosch vvt shape #1368 2020-04-25 22:23:53 -04:00
rusefi 23e3d05d35 Bosch vvt shape #1368
skeleton
2020-04-25 19:50:43 -04:00
rusefi 387643047f docs 2020-04-20 23:44:59 -04:00
rusefi bae38f03ce docs 2020-04-20 22:42:34 -04:00
rusefi 71e7fb7e50 TT_RENIX_66_2_2_2 2020-04-19 14:54:02 -04:00
rusefi b287b2f339 TT_HONDA_K_12_1 2020-04-19 14:23:01 -04:00
rusefi c665e6b65d progress towards renix 66-2-2-2 2020-04-19 09:59:55 -04:00
rusefi be497685a0 Renix 44-2-2 2020-04-18 22:20:17 -04:00
rusefi 114b34a583 better trigger definition API 2020-04-18 20:28:03 -04:00
rusefi c166ee9d58 Fresh generated - auto 2020-04-18 16:40:59 -04:00
rusefi 907b80efa9 code style 2020-04-01 19:00:56 -04:00
rusefi a33d479683 CLT stops working when using 2-0 custom trigger wheel #1171 2020-03-06 01:31:04 -05:00
Matthew Kennedy 986b80671b
warnings (#1169) 2020-03-03 08:37:02 -05:00
rusefi ed2b7578a5 Merge remote-tracking branch 'remotes/origin/2019.12.25_release_1.19.12_xmas' 2020-02-14 10:50:50 -05:00
rusefi 75d9417131 miata vvt trigger decoding is broken #1145 2020-02-14 00:37:36 -05:00
rusefi 0d1f45422e cam/vvt decoder 2020-02-05 01:49:33 -05:00
rusefi 0c3f73c2b4 code style 2020-01-21 01:47:58 -05:00
rusefi 53433c88a7 trigger shape constraint validation 2020-01-14 03:54:46 -05:00
rusefi 27c44f08f4 reducing complexity? 2020-01-13 22:25:51 -05:00
rusefi 4cc206a393 reducing complexity 2020-01-13 22:23:46 -05:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 713ccf76bb header style 2020-01-13 02:30:49 -05:00
rusefi 0bab01369a refactoring: no need to specify parameter manually 2020-01-12 10:43:02 -05:00
rusefi 113fc4be36 refactoring 2020-01-12 05:17:42 -05:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
rusefi 9403b2a8fc fixing build is my most favourite time! 2019-12-13 18:02:24 -05:00
rusefi c5cfd21a70 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 28a12d9d04 typo 2019-12-06 00:07:27 -05:00
rusefi 813b6aa6ce The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 12a828b391 codes clean-up 2019-12-02 20:16:41 -05:00
rusefi 6f50cae286 improving API? 2019-11-24 00:15:44 -05:00
rusefi f0c4817e1b 'triggerEventAngle' not really needed 2019-11-23 17:44:44 -05:00
rusefi ad7e36c228 refactoring 2019-11-20 01:35:08 -05:00
rusefi 7dfdfc6378 docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi d2e24cf2e5 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:33:40 -05:00
rusefi d4574a3cab evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 22:40:33 -05:00
rusefi 5c46ad25a7 review feedback 2019-11-03 10:36:35 -05:00
rusefi 47eaea3da3 scramblr reports sync issues on NB1 fix #990 2019-10-30 21:01:23 -04:00
rusefi 74e0c20235 flipping NB1 trigger definition 2019-10-29 21:19:00 -04:00
rusefi 1ab488e4b4 refactoring: better field name(s) 2019-10-08 01:03:57 -04:00
rusefi ca67249522 refactoring: better field name 2019-10-08 00:54:19 -04:00
rusefi 8424723024 refactoring: better variable names 2019-10-08 00:42:47 -04:00
rusefi 0d31cdddea refactoring: better parameter name 2019-10-08 00:30:20 -04:00
rusefi 53231f7b49 refactoring: smarter C++ initialization 2019-10-08 00:27:49 -04:00
Matthew Kennedy d1da567b85 fix gm 24x decoder (#963)
* fix gm

* fix

* fix default config, tests
2019-10-05 08:27:30 -04:00
rusefi e0acec2a63 WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
fatal error is the best I can come up with quickly
2019-08-08 22:57:22 -04:00
rusefi f25b1e5f2f WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:30:32 -04:00
rusefi 676035f950 refactoring: extracting method to facilitate debugging 2019-08-07 22:02:08 -04:00
rusefi 0306255013 CBR600 trigger progress 2019-07-23 19:22:40 -04:00
rusefi fecf83e4d2 order of includes consistency 2019-07-05 20:03:32 -04:00
rusefi 83ad64eade Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
Matthew Kennedy 95003e9a7b const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
rusefi a2c4b1bde1 typo 2019-05-10 22:43:03 -04:00
rusefi 1ec5baf57a refactoring: better method name 2019-05-02 18:05:33 -04:00
rusefi 541c445a2d defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi bd2b992918 unifying_file_naming 2019-03-29 09:11:13 -04:00
dron0gus c9edbf4225 Cleanup fixes (#700)
* Kill some more warnings

* pin_repository: add markUnused, allow use from plain C

* ehiGpio.cpp: add forgotten GPIOG port
2019-03-08 07:01:15 -05:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
dron0gus 76fa11d5e2 warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 5d735c4d6e Refactor Trigger System #635
better field names
2019-02-03 01:49:41 -05:00
rusefi 27da8ce328 Refactor Trigger System #635 2019-02-03 01:34:20 -05:00
rusefi 4187f4b081 Refactor Trigger System #635 2019-02-03 01:27:47 -05:00
rusefi 935a9fa706 Refactor Trigger System #635 2019-02-03 01:19:16 -05:00
rusefi d247c13283 Refactor Trigger System #635 2019-02-03 01:04:24 -05:00
rusefi 2f2fcc11e0 Refactor Trigger System #635 2019-02-03 00:40:25 -05:00
rusefi 9ed58a5ba0 better conditional compilation 2019-01-31 18:30:40 -05:00
rusefi 9a3441f11b #657 pulling global access down 2019-01-28 00:44:30 -05:00
rusefi 2756ff57eb refactoring: reducing header tree hell 2019-01-21 00:10:09 -05:00
rusefi 4ed5072f13 enjoying C++11 2019-01-14 00:20:50 -05:00
rusefi 6bb8da7b39 Question: something strange trigger errors #662 2019-01-11 09:24:24 -05:00
rusefi 6360719ed0 #635 2019-01-01 14:05:11 -05:00
rusefi f0344fd16c #625 big step - no more engine dependency from TriggerShape 2018-12-25 22:47:29 -05:00
rusefi d51fa71085 #625 2018-12-25 20:56:54 -05:00
rusefi 22734e8f39 #635 2018-12-25 20:09:35 -05:00
rusefi 23de7a6d8a #635 2018-12-25 19:42:27 -05:00
rusefi 7e64c16df5 #625 2018-12-25 19:18:37 -05:00
rusefi c6c53a02fd #625 progress 2018-12-25 19:13:28 -05:00
rusefi 62b5e87393 #635 2018-12-25 12:27:34 -05:00
rusefi 57ebbb1a0b #635 2018-12-25 11:51:49 -05:00
rusefi 5b25174cc3 #635 2018-12-25 10:33:28 -05:00
rusefi daed49dd12 #635 2018-12-25 10:20:13 -05:00
rusefi a4efd47ba1 #635 better names 2018-12-25 10:13:00 -05:00
rusefi b15845754d #635 2018-12-24 23:33:21 -05:00
rusefi 3a7f719d5c #635 2018-12-24 23:23:45 -05:00
rusefi 7e3a7b5c79 #635 2018-12-24 23:16:33 -05:00
alexander-n8hgeg5e e8f0036042 trigger fix (#625) - mazda Z5 trigger 2018-11-22 09:56:34 -05:00
rusefi d5ddb0bc9d #619 2018-10-30 05:32:13 -04:00
rusefi 41073e2b1a #619 2018-10-30 04:46:13 -04:00
Matthew Kennedy bb766ea0e5 Gm24x (#614)
* implement new 24x

* typo
2018-10-28 15:30:38 -04:00
rusefi f68046e9af docs 2018-10-28 15:14:38 -04:00
rusefi 1c203a948d fix #615 2018-10-25 18:17:47 -04:00
rusefi cfb671feab #615 start 2018-10-25 17:42:42 -04:00
rusefi 5138d5c3c8 refactoring trigger sync layer 2018-10-21 13:41:01 -04:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusEfi a5506c1243 refactoring: separate VW files 2018-08-25 20:05:17 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi cd0e19958e eclipse 97 engine 420a, same as neon 95 2018-03-14 06:38:52 -04:00
rusefi c049eea877 fix #570 2018-03-01 06:01:15 -05:00
rusefi 923a5e97a2 progress 2018-02-28 07:57:04 -05:00
rusefi 94371fedba #570 2018-02-26 22:24:48 -05:00
rusefi 1d31067d19 happy new year 2018-01-20 20:55:31 -05:00
rusEfi 3b8ab4f6a7 happy new year nissan! 2018-01-01 22:24:33 -05:00
rusEfi 029e2b098f docs 2017-12-31 20:13:20 -05:00
rusEfi 8f34da3248 better method location 2017-12-13 21:17:32 -05:00
rusefi 74a359077c better macro name 2017-05-15 23:33:22 -04:00
rusefi 2a9f3cdede better macro name 2017-05-15 23:28:49 -04:00
rusefi 504c6b5e94 nissan 4/360 progress 2017-04-02 18:14:30 -04:00
rusefi 8ee968251b nissan 4/360 progress 2017-04-02 18:12:51 -04:00
rusefi 1f5ff28a0a nissan 4/360 progress 2017-04-02 17:59:01 -04:00
rusefi cbc77ef07b nissan 4/360 progress 2017-04-02 17:36:59 -04:00
rusefi 8c6b998b18 nissan 360/4 2017-03-22 22:53:10 -04:00
rusefi f2b82c9bdf tdc for nissan 2017-03-22 11:39:20 -04:00
rusefi 1a721240c6 widening the gap for Nissan trigger 2017-03-22 07:07:02 -04:00
rusefi 5782a38850 widening the gap for Nissan trigger 2017-03-21 07:53:35 -04:00
rusefi b9c422efd3 SR20VE trigger 2017-03-18 20:59:52 -04:00
rusefi b1f0371f67 removing dead code 2017-03-18 20:33:36 -04:00
rusefi 0d330b3c84 explicit SR20VE name 2017-03-18 20:18:21 -04:00
rusefi 0dc446efc7 GM 7x wheel 2017-03-12 22:55:41 -04:00
rusefi 57e934d8ac GM 7x wheel 2017-03-12 22:55:02 -04:00
rusefi dae0b1d790 fixed #366 2017-03-06 17:42:16 -05:00