Commit Graph

6345 Commits

Author SHA1 Message Date
GitHub set-date Action 2d2536f202 Update date 2021-07-03 00:55:05 +00:00
Andrey cd4842f2b8 Nissan VVT trigger decoder #2887 2021-07-02 20:28:15 -04:00
Andrey 9339f0169d Nissan progress 2021-07-02 20:12:31 -04:00
Andrey 2911e128d9 Nissan progress 2021-07-02 19:57:26 -04:00
Andrey 7b21e5cf29 wow we have weird code! 2021-07-02 19:49:00 -04:00
GitHub build-firmware Action 8134452d10 Auto-generated configs and docs 2021-07-02 23:16:26 +00:00
Andrey 4e18c2a0ae todo: vvt 2021-07-02 19:06:07 -04:00
GitHub build-firmware Action 7253a11b9c Auto-generated configs and docs 2021-07-02 21:56:55 +00:00
Andrey 7ffe09aa96 Nissan progress 2021-07-02 16:31:10 -04:00
Andrey 8013e598df Nissan progress 2021-07-02 16:26:23 -04:00
Andrey 1fe9389ede Nissan VVT trigger decoder #2887 2021-07-01 23:53:53 -04:00
Andrey 11def6d9e3 Nissan VVT trigger decoder #2887 2021-07-01 22:27:43 -04:00
Andrey fd3aa4ec18 Nissan VVT trigger decoder #2887 2021-07-01 21:48:47 -04:00
Matthew Kennedy 9ae1ada582 Stricter miata sync (#2891)
* strict mazda trigger shape

* this is an even better gap

* sync point moved so things are different now

* fix

* update instantrpm in test

* s

* s

* this is safer

* test

* tests

* instant rpm

* cleanup
2021-07-01 21:29:04 -04:00
GitHub set-date Action a51892047f Update date 2021-07-02 00:55:37 +00:00
Matthew Kennedy 20937455a0 Fix pre sync timestamp copy (#2892)
* fix tests

* fix pre sync copy

* this fixes the issue
2021-07-01 18:58:28 -04:00
GitHub build-firmware Action 2719cac4ce Auto-generated configs and docs 2021-07-01 21:43:39 +00:00
Andrey 6c7d2700b3 Nissan VVT trigger decoder #2887 2021-07-01 17:28:52 -04:00
GitHub build-firmware Action 1534df09bf Auto-generated configs and docs 2021-07-01 21:06:08 +00:00
Andrey af01242555 Nissan VVT trigger decoder #2887 2021-07-01 17:03:17 -04:00
Matthew Kennedy ebf6083d95 test dc_motor.cpp (#2890)
* use ipwm where possible

* mock ipwm

* initialize

* test
2021-07-01 09:21:18 -04:00
Matthew Kennedy 2cf2db8fb2 fix instant rpm (#2886)
* fix instant rpm

* this is what it should look like!

* warning

* comment issue link

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-01 09:19:16 -04:00
Matthew Kennedy 77f9c68733 not const getAirmass (#2883)
* not const

* test
2021-07-01 00:05:42 -04:00
GitHub set-date Action 2b0f12d7ec Update date 2021-07-01 00:59:08 +00:00
GitHub build-firmware Action 470730a6c8 Auto-generated configs and docs 2021-06-30 19:12:17 +00:00
GitHub build-firmware Action 3db8f25d5b Auto-generated configs and docs 2021-06-30 19:01:13 +00:00
Matthew Kennedy f804bdb602 target lambda table (#2879)
* move function

* put that back

* fancy lamba table
2021-06-30 06:56:43 -04:00
GitHub set-date Action da815445e4 Update date 2021-06-30 01:01:58 +00:00
GitHub build-firmware Action 0c5d5b3b0d Auto-generated configs and docs 2021-06-29 21:30:44 +00:00
GitHub build-firmware Action c237e0e39c Auto-generated configs and docs 2021-06-29 21:00:38 +00:00
GitHub build-firmware Action 7881c50495 Auto-generated configs and docs 2021-06-29 05:14:46 +00:00
Andrey a125ba8210 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 01:04:39 -04:00
GitHub build-firmware Action eb5495c526 Auto-generated configs and docs 2021-06-29 03:41:20 +00:00
GitHub set-date Action d73818d6c0 Update date 2021-06-29 00:53:47 +00:00
Matthew Kennedy ee6f49e65f Consolidate hwHandleShaftSignal (#2875)
* consolidate trigger input

* merge functions

* comment

* dead

* hw vs. not hw

* stray comma

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 10:06:22 -04:00
GitHub build-firmware Action c938ab7cf4 Auto-generated configs and docs 2021-06-28 12:55:05 +00:00
Matthew Kennedy 0defaccb15 no fan if stopped engine (#2822)
* no fan if stopped engine

* config

* use config

* more tests

* merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 08:52:54 -04:00
Matthew Kennedy 6b93647c5f deinit lua pins when not used (#2876)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 08:39:03 -04:00
GitHub build-firmware Action 75ef77dca3 Auto-generated configs and docs 2021-06-28 01:07:22 +00:00
GitHub set-date Action 9c7f7a383f Update date 2021-06-28 00:57:46 +00:00
GitHub build-firmware Action 611d88becc Auto-generated configs and docs 2021-06-27 22:54:02 +00:00
Matthew Kennedy fe6f123be5 Move AC logic out of FSIO (#2872)
* new impl

* remove fsio

* inject "is ac active" to fan

* include the correct code

* include

* test

* more AC features

* AC switch vs. actual AC indicators

* include

* duh
2021-06-27 18:51:34 -04:00
Andrey eefba195d0 VW warnings on cranking #2861
same resilience for some other triggers
2021-06-27 13:29:09 -04:00
Andrey 8185eb2de3 refactoring maybe making code reuse more possible in the future 2021-06-27 13:00:01 -04:00
Andrey 967f423391 VW warnings on cranking #2861 2021-06-27 12:31:18 -04:00
GitHub build-firmware Action afb7e52549 Auto-generated configs and docs 2021-06-27 16:16:51 +00:00
Andrey a5b64cd6cf DRAM SDRAM #2551 2021-06-27 02:13:52 -04:00
Andrey 0668bf899e so many wonderful discoveries 2021-06-27 00:54:38 -04:00
Andrey 083a2e12f9 depressing code comment 2021-06-26 23:01:47 -04:00
Andrey 738b03b63e refactoring - crankDivider etc etc 2021-06-26 22:42:53 -04:00
Andrey 4627707e1c refactoring - explicit read method 2021-06-26 22:17:07 -04:00
Andrey 25afc6e67c refactoring - explicit read method 2021-06-26 22:11:42 -04:00
Andrey 1003056f85 refactoring - explicit read method 2021-06-26 22:07:45 -04:00
Matthew Kennedy 71cbe6a3a6 dc motor api (#2869)
* iwpm

* dc motor has configure

* consume

* format

* spelling
2021-06-26 21:42:40 -04:00
GitHub set-date Action 4dfae99be3 Update date 2021-06-27 01:09:33 +00:00
Matthew Kennedy e39eadce85 dead fsio alt (#2871) 2021-06-26 20:15:48 -04:00
Matthew Kennedy b0ef8313cd warnings (#2862)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 20:58:38 -04:00
GitHub set-date Action ea214581d4 Update date 2021-06-26 00:54:21 +00:00
Matthew Kennedy 95f9e949a5 fix trigger changed logic (#2860)
* reenable

* fix

* longer interval between updates

* only deinit hard trigger outputs if necessary

* init logic

* init order

* warning

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 19:38:42 -04:00
rusefillc f262be8c99 Minor change of Miata NA trigger shape #2855 #669 (#2856)
* Minor change of Miata NA trigger shape #2855 #669

* Minor change of Miata NA trigger shape #2855 #669
2021-06-25 14:12:18 -04:00
Andrey bb5500dbb3 Trigger: warning code on normal engine start up #669
better TDC unit test approach?
2021-06-25 13:19:16 -04:00
Andrey 8d4b9c4535 Trigger: warning code on normal engine start up #669
making more code unit-testable
2021-06-25 12:50:19 -04:00
Andrey 1b968fbcbc helping build? 2021-06-25 12:28:55 -04:00
Andrey 78af6fd432 helping build? 2021-06-25 12:26:29 -04:00
Andrey da2e7101aa refactoring 2021-06-25 12:01:59 -04:00
Andrey bd29dedbca Trigger: warning code on normal engine start up #669
making more code unit-testable
2021-06-25 11:50:23 -04:00
Andrey fef89328d3 helping build? 2021-06-25 11:48:17 -04:00
Andrey 742935567b Trigger: warning code on normal engine start up #669
making more code unit-testable
2021-06-25 11:30:06 -04:00
Andrey 57094f43cc refactoring: reducing code duplication 2021-06-25 10:55:46 -04:00
rusefillc d69ad4f45c unit_tests: mapAveragingTriggerCallback causes segmentation fault fix #2858 2021-06-25 10:43:58 -04:00
rusefillc dc331a3b63 unit_tests: mapAveragingTriggerCallback causes segmentation fault #2858 2021-06-25 10:21:31 -04:00
Andrey 0a5f688697 global static not good, there shall be only one god object /s 2021-06-25 01:37:43 -04:00
Andrey f567c764ab giving unit tests a chance to use tdcMarkCallback 2021-06-25 01:31:53 -04:00
Andrey 1269e7f4ea Minor change of Miata NA trigger shape #2855 #669 2021-06-24 22:21:30 -04:00
Andrey 4f499dfa82 OMG dead code?! 2021-06-24 22:01:57 -04:00
GitHub set-date Action 45107f3773 Update date 2021-06-25 01:01:18 +00:00
Matthew Kennedy aafb2e7def misc threading/safety improvements (#2854)
* allow termination of thread controller

* no gpio if fatal

* stub for test
2021-06-24 20:18:23 -04:00
Matthew Kennedy dad704a926 don't stack overflow on early ch dbg assert (#2853) 2021-06-24 16:36:20 -04:00
GitHub set-date Action ffcc194a2f Update date 2021-06-24 00:44:43 +00:00
Andrey 839539abc4 fan2 bench 2021-06-23 17:16:11 -04:00
GitHub build-firmware Action 0d264916bb Auto-generated configs and docs 2021-06-23 21:07:38 +00:00
Andrey a91d67947a fan2 bench 2021-06-23 17:03:55 -04:00
GitHub build-firmware Action 6287f8d303 Auto-generated configs and docs 2021-06-23 18:54:44 +00:00
Andrey feb56dad72 refactoring 2021-06-23 06:37:32 -04:00
Andrey 263bdb7eae global static not good, there shall be only one god object /s 2021-06-23 06:10:27 -04:00
GitHub set-date Action 805604fc2b Update date 2021-06-23 00:49:48 +00:00
GitHub set-date Action 112e987f5a Update date 2021-06-22 00:52:52 +00:00
Andrey 67796d174f as of today we still do not have desperate time debugging "writepin" command 2021-06-21 13:03:18 -04:00
Andrey 9b02827a1e Actually two for SWAP_UINT16 :) 2021-06-21 10:47:43 -04:00
Andrey 25168809f3 performance optimization by dron0gus 2021-06-21 09:27:09 -04:00
Andrey 604d3e7cdd flash writer thread name by dron0gus 2021-06-21 09:00:54 -04:00
Andrey cb2c148d3b Revert "TS Burned All Data engine stop #2839"
This reverts commit 3c298da4
2021-06-21 08:53:39 -04:00
Andrey 3c298da417 TS Burned All Data engine stop #2839
second guess
2021-06-21 03:10:59 -04:00
Andrey 92f7079360 TS Burned All Data engine stop #2839
first wild guess
2021-06-21 02:51:12 -04:00
Andrey 7e0d83d54b looks like this parameter is very well used now? 2021-06-21 02:12:14 -04:00
Andrey 56e19b4a88 TS Burned All Data engine stop #2839
reusing constant
2021-06-21 00:53:37 -04:00
GitHub build-firmware Action e44facbce5 Auto-generated configs and docs 2021-06-21 03:35:31 +00:00
GitHub build-firmware Action 5a6145fc4f Auto-generated configs and docs 2021-06-21 02:40:41 +00:00
GitHub set-date Action 17a12b78b2 Update date 2021-06-21 00:59:18 +00:00
GitHub build-firmware Action 2993d01fbb Auto-generated configs and docs 2021-06-20 21:45:12 +00:00
Andrey a138ab98b0 https://www.rusefi.com/forum/viewtopic.php?p=41296 2021-06-20 17:26:24 -04:00
GitHub set-date Action 30c511be82 Update date 2021-06-20 00:58:37 +00:00
GitHub build-firmware Action e05590069b Auto-generated configs and docs 2021-06-19 13:14:32 +00:00
GitHub build-firmware Action bb92111795 Auto-generated configs and docs 2021-06-19 03:23:44 +00:00
GitHub build-firmware Action bf7fedffd9 Auto-generated configs and docs 2021-06-19 00:55:47 +00:00
GitHub build-firmware Action f1ab826f57 Auto-generated configs and docs 2021-06-18 20:33:41 +00:00
GitHub build-firmware Action be80c82b5f Auto-generated configs and docs 2021-06-18 19:49:42 +00:00
GitHub set-date Action c4d7348fff Update date 2021-06-18 00:56:57 +00:00
GitHub build-firmware Action ac7bdd1e8f Auto-generated configs and docs 2021-06-17 15:41:07 +00:00
GitHub build-firmware Action 805af460c7 Auto-generated configs and docs 2021-06-17 13:51:57 +00:00
GitHub set-date Action 0f89c55d9a Update date 2021-06-17 00:54:30 +00:00
GitHub build-firmware Action 72dfb6c950 Auto-generated configs and docs 2021-06-16 21:31:59 +00:00
Matthew Kennedy f1a95123fb kill engine if no oil pressure (#2800)
* min oil pressure for crank

* do it time-based

* rename field

* include

* fix existing test

* tests

* fix logic

* more test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-16 17:20:28 -04:00
GitHub build-firmware Action 91865c7a75 Auto-generated configs and docs 2021-06-16 21:09:18 +00:00
GitHub build-firmware Action 5e97d7e11f Auto-generated configs and docs 2021-06-16 15:30:04 +00:00
GitHub build-firmware Action a27b25a8ad Auto-generated configs and docs 2021-06-16 12:54:10 +00:00
Matthew Kennedy f15a017402 Etb rev limit (#2820)
* cfg

* impl

* a test

* don't break the ts channel

* text
2021-06-16 08:44:48 -04:00
GitHub set-date Action 49ab96a59c Update date 2021-06-16 00:56:27 +00:00
GitHub build-firmware Action 48f531ae0d Auto-generated configs and docs 2021-06-15 21:32:56 +00:00
Matthew Kennedy 63524c3f34 fan/AC idle improvements (#2818)
* fan 2 open loop bump

* we had an AC target bump all this time?!

* format

* enable test

* I can't type
2021-06-15 17:30:35 -04:00
GitHub set-date Action db66139edf Update date 2021-06-15 00:58:38 +00:00
GitHub build-firmware Action 7c9dbad0e0 Auto-generated configs and docs 2021-06-14 01:39:17 +00:00
Andrey 66de546bc9 Review default H64 tune #2815 2021-06-13 21:27:03 -04:00
Andrey b4fe83a17d Review default H64 tune #2815 2021-06-13 21:17:22 -04:00
GitHub set-date Action 717fc4ae6f Update date 2021-06-14 00:54:30 +00:00
GitHub build-firmware Action 35cc0b1d55 Auto-generated configs and docs 2021-06-14 00:43:24 +00:00
Andrey 1d4be8ee95 forgotten MPX4100 sensor 2021-06-13 20:30:51 -04:00
GitHub build-firmware Action 97c4922c37 Auto-generated configs and docs 2021-06-13 12:09:09 +00:00
Matthew Kennedy 172b11bfe9 dual fans (#2806)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match

* second fan config

* second fan ui

* defaults

* impl
2021-06-13 08:06:45 -04:00
GitHub build-firmware Action 8575d16287 Auto-generated configs and docs 2021-06-13 12:01:23 +00:00
Matthew Kennedy 322f69474f remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
GitHub set-date Action 73d0a5a03c Update date 2021-06-13 00:58:08 +00:00
Matthew Kennedy 0c0957f52a apply open loop idle when in automatic mode (#2745)
* always apply open loop in closed loop

* simplify flags

* comment

* move

* comment

* missed one

* config for fan bump

* adjust miata defaults

* test fan/ac open loop

* idle CL tests

* test coasting

* test integration case

* fix merge

* put back reset logic for now

* s

* don't need that part

* I guess use OL as baseIdlePosition

* reset condition
2021-06-12 14:21:11 -04:00
GitHub build-firmware Action 65780182bf Auto-generated configs and docs 2021-06-12 18:07:43 +00:00
Andrey ba8ad555c2 reverting TCU cherry pick 2021-06-12 13:52:18 -04:00
Andrey 7f61757f92 sorry last change for trans selector 2021-06-12 13:00:54 -04:00
Andrey eb09cdbfb9 helping build 2021-06-12 07:32:12 -04:00
GitHub build-firmware Action 05a9ec99a5 Auto-generated configs and docs 2021-06-12 11:28:45 +00:00
rusefillc 197d928a8c TCU cherry 2021-06-12 07:06:57 -04:00
GitHub build-firmware Action f81070dee6 Auto-generated configs and docs 2021-06-12 11:03:20 +00:00
GitHub build-firmware Action d6fa5895a5 Auto-generated configs and docs 2021-06-12 04:19:09 +00:00
GitHub build-firmware Action 3aa5d04fee Auto-generated configs and docs 2021-06-12 04:12:35 +00:00
GitHub build-firmware Action 82ec23f37d Auto-generated configs and docs 2021-06-12 04:03:50 +00:00
rusefillc 9caa794e6c TCU cherry 2021-06-11 23:48:57 -04:00
rusefillc 1ddd756f80 TCU cherry 2021-06-11 23:39:50 -04:00
GitHub set-date Action db28bfffd1 Update date 2021-06-12 00:51:57 +00:00
GitHub build-firmware Action 33a86e061f Auto-generated configs and docs 2021-06-11 16:25:58 +00:00
GitHub build-firmware Action 5c8de995b7 Auto-generated configs and docs 2021-06-11 10:27:21 +00:00
Matthew Kennedy 41104dcca8 hard coded fan logic (#2805)
* remove fsio

* hard code impl

* test it

* enable fan with AC

* make commented stuff match
2021-06-11 06:25:12 -04:00
GitHub set-date Action 2c6715c8d9 Update date 2021-06-11 00:56:20 +00:00