Commit Graph

6261 Commits

Author SHA1 Message Date
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