Commit Graph

2089 Commits

Author SHA1 Message Date
rusefillc ad76ebe9d6 only:3+0 crank trigger #5788
extract useful method
2023-12-25 20:17:38 -05:00
Andrey 04721870c8 custom FW repos code generation process #5817
preparation
2023-12-19 16:47:58 -05:00
Andrey 540e142c28 6G72 Trigger Pattern #5593 2023-12-06 23:02:08 -05:00
GitHub gen-configs Action 4b8a703b83 Auto-generated configs and docs 2023-12-06 19:49:31 +00:00
Andrey 442fa56438 proper location for camResyncCounter 2023-12-06 14:43:24 -05:00
Andrey 93684f1b46 vvt gap override
only:f407-discovery
2023-11-30 19:24:14 -05:00
rusefillc 6ecef25de6 vvt gap override
only:f407-discovery
2023-11-30 18:21:02 -05:00
rusefillc e2c2980335 making ACR quicker
only:proteus_f7
2023-11-13 17:25:07 -05:00
rusefillc 04c4623fd4 Please no physical sensors in CAM by MAP mode
only:proteus_f7
2023-11-13 16:55:17 -05:00
rusefillc a9a7a60bea ACR
only:proteus_f7
2023-11-13 01:10:14 -05:00
Andrey efed3a7a74 6G72 Trigger Pattern #5593 2023-11-08 15:29:07 -05:00
rusefillc 49e2f91a70 only: dead enum since VVT_MITSUBISHI_6G75 uses TT_NISSAN_MR18_CAM_VVT 2023-11-08 15:18:27 -05:00
rusefillc 27e479f447 only: 6G72 Trigger Pattern #5593 2023-11-08 14:59:38 -05:00
Andreika 84f7508701
Trigger emulator: support for cam/vvt (#5642)
* tiny refactoring

* add cam/vvt support to trigger_emulator

* fix

* fix unit-tests

* fix

* CAM sensor simulator #5640
only: assertHappyTrigger

* fix?

* better fix?

* only:alphax-8chan

* progress!

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Andrey <rusefillc@gmail.com>
2023-11-02 21:57:01 -04:00
rusefillc bb44f565b6 only:cam/shadow 2023-11-02 15:51:25 -04:00
Andrey d97a73e05c clean-up 2023-11-02 10:39:18 -04:00
Andrey c403a86f9b only:helping non-EFI_ENABLE_ASSERTS compilation 2023-11-02 09:55:22 -04:00
Matthew Kennedy 78655a168a dead line 2023-11-02 01:18:13 -04:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
rusefillc b3d921d961 only:variable shadowing should be avoided #5676 2023-11-01 12:00:08 -04:00
rusefillc 850d79d89d shall we be just a little less Toyota 2023-11-01 09:48:33 -04:00
rusefi 2708114905 HW CI instability: handleShaftSignal unexpected loop fix #5661
shoot from the hip?
2023-10-29 13:26:21 -04:00
rusefillc bcd41c0df1 only: CAM sensor simulator #5640
one step back
2023-10-26 18:17:02 -04:00
rusefillc c091270d19
T2 5 (#5650)
* fix

* add cam/vvt support to trigger_emulator

---------

Co-authored-by: andreika-git <andrei.home@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-10-26 16:06:50 -04:00
rusefillc 9c54180bf6
T2 (#5647)
* fix unit-tests

* add cam/vvt support to trigger_emulator

---------

Co-authored-by: andreika-git <andrei.home@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-10-26 14:10:51 -04:00
rusefillc 2507d4e467
tiny refactoring (#5646)
Co-authored-by: andreika-git <andrei.home@gmail.com>
2023-10-26 13:04:30 -04:00
rusefillc 0ce7bf586b Revert "future home of quick&dirty VVT simulation only:mre_f4"
This reverts commit dfd3fde5
2023-10-25 13:04:25 -04:00
rusefillc 9fa20ad0a8 CAM sensor simulator #5640 2023-10-25 12:57:07 -04:00
Matthew Kennedy 6b8aaa8e30 default params for happy test 2023-10-24 15:35:55 -04:00
rusefillc ba1ea253a3 dead code 2023-10-21 18:14:52 -04:00
Matthew Kennedy 2b392307e4 make wrapAngle a function not macro 2023-10-19 22:59:43 -04:00
rusefi a7b9603b9c docs 2023-10-19 22:54:24 -04:00
Matthew Kennedy 28fd3c59ac remove wrapAngle2, wrapAngle does fine 2023-10-19 22:53:09 -04:00
Matthew Kennedy 883336ff30 fixAngle -> wrapAngle 2023-10-19 22:42:50 -04:00
rusefillc a3050bba86 subaru 36-2-2-2
https://rusefi.com/forum/viewtopic.php?p=48444#p48444
2023-10-08 10:59:59 -04:00
Andrey 3b1fe9da7f only: VVT refactoring reducing magic index math 2023-10-07 12:34:32 -04:00
rusefillc 0921a303d0 cam input into logs
only:proteus_f4
2023-10-07 11:03:53 -04:00
Matthew Kennedy 22a10cc0eb minor pwm logic cleanup 2023-10-06 19:41:40 -04:00
Andrey be3a7a4ef6 per-tooth cam position accounting for offset 2023-10-06 14:38:27 -04:00
GitHub gen-configs Action e189430666 Auto-generated configs and docs 2023-10-06 17:26:49 +00:00
rusefillc 36789d7133 only:individual cam teeth positions 2023-10-06 13:22:33 -04:00
rusefillc 5b22465023 only:6G72 Trigger Pattern #5593 2023-09-29 23:21:48 -04:00
rusefi eda6435b18 better enum name 2023-09-29 21:18:19 -04:00
GitHub gen-configs Action c14c289419 Auto-generated configs and docs 2023-09-28 03:25:53 +00:00
rusefi 7624c91bec we already have vvtCamCounter doing same exact thing 2023-09-27 23:22:18 -04:00
rusefillc c0f8477692 36/2/2/2 is confusing #5566 2023-09-17 11:49:08 -04:00
Andrey 10563925d0 TT_MITSU_4G63_CRANK fix 2023-09-16 00:44:37 -04:00
Andrey 0a459fa9f5 36/2/2/2 is confusing #5566
only: code comments
2023-09-15 23:40:31 -04:00
Andrey 2f9f693665 only: adding some code clarity, actually no hacking here 2023-09-15 23:04:25 -04:00
Matthew Kennedy bc637c4e6b rename 2jz -> toyota 3 tooth 2023-09-14 17:42:27 -04:00
rusefillc 1c154f6ee7 2JZ cam trigger configuration is much easier to adjust #5557
only:proteus_f4
2023-09-10 10:34:06 -04:00
rusefi 1d4f82deab 2JZ cam trigger is unfinished #5557 2023-09-10 00:22:38 -04:00
GitHub gen-configs Action 37bd489600 Auto-generated configs and docs 2023-09-10 01:31:24 +00:00
Andrey 8391bc4dee only: 2JZ cam trigger is unfinished #5557 2023-09-09 21:10:37 -04:00
GitHub gen-configs Action 8cc2a2b080 Auto-generated configs and docs 2023-09-10 01:03:22 +00:00
Andrey 768eefbb36 https://rusefi.com/forum/viewtopic.php?f=4&t=2613 2023-09-09 20:27:53 -04:00
Andrey b5fd6ea044 spelling is important 2023-09-09 19:53:18 -04:00
Andrey a2a5fda3ce spelling is important 2023-09-09 19:51:09 -04:00
Andrey G 14333cb139
eg33 fixes (#5556)
* subaru-eg33: fix comments

* trigger_subaru: eg33: reuse defines

* subaru_eg33: enable LSE kills PC14, PC15 used for ignition

ChibiOS init code enabes LSE oscilator on this pins.
2023-09-09 16:44:14 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
Andrey c8302be4ae type clean-up to avoid nasty cast 2023-09-05 15:33:05 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
Andrey c5966f4fee 4G69 Cam pattern #5541 2023-08-25 11:00:35 -04:00
Andrey 4fbccca850 4G69 Cam pattern #5541 2023-08-25 01:10:08 -04:00
Andrey 49a270e3a3 4G69 Cam pattern #5541 2023-08-24 22:50:16 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
Andrey ee83fea7e0 Renault F 60-2-2 trigger wheel fix #5513 2023-08-15 12:50:54 -04:00
Andrey 1774a75732 docs & extracing constant 2023-08-15 12:25:53 -04:00
rusefillc 8ddb59db32 Renault F3R trigger #5513 2023-08-15 08:49:20 -04:00
rusefillc 17026dbb3d MAP Sync not working #5503
additional data points
2023-08-09 05:49:06 -04:00
GitHub gen-configs Action f889aa76b6 Auto-generated configs and docs 2023-08-09 09:41:01 +00:00
rusefillc 1a7d9b0f43 MAP Sync not working #5503
additional data points
2023-08-09 05:35:14 -04:00
Andrey 5f686c302d "Single Tooth" renamed to "Half Moon", more proper "Single Tooth" crank trigger as a new trigger fix #5488 2023-08-05 23:49:32 -04:00
Andrey f3a5586e36 Custom Trigger Tooth with 1+0 causes endless loop fix #5471 2023-08-05 12:59:11 -04:00
Andrey 0787b4f4a0 Custom Trigger Tooth with 1+0 causes endless loop #5471
only:test
2023-08-05 12:44:16 -04:00
rusefillc 77ef4db8ab
Simplified VVT single tooth cam modes. (#5483)
* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-08-03 20:24:22 -04:00
Andrey 6ccf1fe426 only:mre_f4
honda 600 https://rusefi.com/forum/viewtopic.php?f=16&t=2572
2023-07-03 10:25:04 -04:00
Matthew Kennedy 7f67ecd02d simplify adjustCrankPhase
(cherry picked from commit 7ae11160d9bfb31a664130e66586e849b8201c8a)
2023-06-28 21:49:51 -04:00
rusefillc c20963d302 proteus F7 hard fault on "enable self stimulation" #5354
i feel lucky so I make random changes
2023-06-25 02:21:38 -04:00
rusefillc bc2a2b9ab9 only:better method name 2023-06-25 02:08:53 -04:00
rusefi cf7642b737 https://rusefi.com/forum/viewtopic.php?f=16&t=2572 2023-06-23 19:25:53 -04:00
AvatarSD 087a1c2ccd
Trigger: "Single 60deg tooth before TDC" for Saruman, Sovek ignition (#5347)
* Trigger: "Single 60deg tooth before TDC" for Saruman, Sovek ignition triggers has been added

* Cosmetic: added usefull notions from https://github.com/rusefi/rusefi/pull/5347

---------

Co-authored-by: Denys Sobchuk <d.sobchuk@perenio.com>
2023-06-22 21:10:29 -05:00
Andrey 632912d265 extra checks 2023-06-22 14:45:55 -05:00
rusefi f77f356e6d reducing code duplication 2023-06-11 23:17:13 -04:00
rusefi 731fd89ef7 reducing magic constant 2023-06-11 23:13:36 -04:00
Matthew Kennedy 81682d1a55 oop 2023-06-05 14:15:21 -04:00
Matthew Kennedy f7e6ccd9e2 de-pointerize outputMode #49 2023-06-05 10:25:00 -04:00
Matthew Kennedy 71799f3f3d better error message
(cherry picked from commit f9541aa1d160ca4be8d5da7f83593738d602f649)
2023-06-01 23:02:11 -04:00
Matthew Kennedy 0d1705599a multiple assignments in one line is confusing
(cherry picked from commit 22553992579adb93caea3b138d7660c7ee6145a9)
2023-06-01 23:01:36 -04:00
rusefi 4d0abac889 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefi 1908896598 Technical debt: ENUM_32_BITS #3874
poking the bear
2023-06-01 10:29:05 -04:00
rusefillc ad52947775 it's going to be p 2023-05-31 16:20:54 -04:00
Matthew Kennedy f12cab93aa looks like initialState was dead #55
(cherry picked from commit daaf50c2e45de84b9a47716ff253d744caeb34b8)
2023-05-31 16:11:05 -04:00
Matthew Kennedy 12a29232cc tooth_logger.h -> pch
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
Mingjie Shen 495f0ea8c4 Fix invoking virtual functions from constructors
Virtual functions should not be invoked from a constructor or destructor
of the same class. Confusingly, virtual functions are resolved
statically (not dynamically) in constructors and destructors for the
same class. The call should be made explicitly static by qualifying it
using the scope resolution operator.
2023-05-24 15:27:09 -04:00
rusefillc 80d88604ff fix https://github.com/rusefi/alphax-4chan/issues/135 2023-05-16 23:07:34 -04:00
rusefillc 86c1a9f8e0 fix https://github.com/rusefi/alphax-4chan/issues/135 2023-05-16 23:00:18 -04:00
Andrey 51def75f8d Ford Coyote VVT Decoder #5275
only:alphax-8chan
2023-05-13 16:08:23 -04:00
Andrey b69d846384 trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 15:43:53 -04:00
Andrey 5d8eef1782 trigger refactoring: we are long overdue for better api, also reducing CRANK_MODE_MULTIPLIER crazy 2023-05-13 15:34:59 -04:00