Commit Graph

10333 Commits

Author SHA1 Message Date
Andrey 4c19e22237 Nissan VVT trigger decoder #2887
one step back
2021-07-03 12:42:07 -04:00
Andrey fb7639f347 Nissan VVT trigger decoder #2887 2021-07-03 12:26:31 -04:00
GitHub build-firmware Action a12c1c58cf Auto-generated configs and docs 2021-07-03 16:12:21 +00:00
Andrey ed170f7c98 Nissan VVT trigger decoder #2887 2021-07-03 12:06:47 -04:00
Andrey e34b04bd46 Nissan VVT trigger decoder #2887 2021-07-03 12:02:00 -04:00
GitHub build-firmware Action 346d93879c Auto-generated configs and docs 2021-07-03 15:33:11 +00:00
Andrey 6eb8ba34b7 Nissan VVT trigger decoder #2887 2021-07-03 11:20:06 -04:00
Andrey 03543b3aad Nissan VVT trigger decoder #2887 2021-07-03 11:12:16 -04:00
Andrey 2ad22a262b Nissan VVT trigger decoder #2887 2021-07-03 11:08:22 -04:00
Andrey 9ad5ec8044 refactoring: getShaftSynchronized 2021-07-03 10:37:03 -04:00
Andrey 26fdfb1ab6 Nissan VVT trigger decoder #2887 2021-07-03 10:15:41 -04:00
Andrey a8d5ff0a85 Nissan VVT trigger decoder #2887 2021-07-03 09:48:59 -04:00
Andrey f3ffecbc2b Nissan VVT trigger decoder #2887 2021-07-03 09:43:27 -04:00
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
Andrey e1c6e19577 less broken code? 2021-07-02 19:28:09 -04:00
GitHub build-firmware Action 8134452d10 Auto-generated configs and docs 2021-07-02 23:16:26 +00:00
Andrey c8059f0337 dialog header fix 2021-07-02 19:13:31 -04:00
Andrey 4e18c2a0ae todo: vvt 2021-07-02 19:06:07 -04:00
Andrey 78daeb7cba more details into error message 2021-07-02 19:05:54 -04:00
GitHub build-firmware Action 7253a11b9c Auto-generated configs and docs 2021-07-02 21:56:55 +00:00
BeerMoneyMotorsports 5caf438930 Update main.yaml (#2896) 2021-07-02 17:52:16 -04:00
BeerMoneyMotorsports 7fc8e4342d F12 fix (#2895)
fixed f12 duplication
2021-07-02 16:41:58 -04:00
BeerMoneyMotorsports cfbd57a897 1l and 1r fix (#2894)
1l and 1r are tied to the same pin and rely on the same id.  removed the id and TS name from 1r and removed pin designation from 1L TS name to avoid confusion.  Now just "Radiator Fan"
2021-07-02 16:35:55 -04: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 ab24b8e5f3 Nissan progress 2021-07-02 14:56:12 -04:00
rusefillc 11c00db119 H64 uses GPIOD_12 twice why does it not fail? #2877
poke
2021-07-02 13:17:14 -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
Andrey f6aa1b8415 https://github.com/rusefi/hellen121nissan-issues/issues/2
oh that's pigtail color not pinout color
2021-06-30 15:10:11 -04:00
GitHub build-firmware Action 3db8f25d5b Auto-generated configs and docs 2021-06-30 19:01:13 +00:00
Andrey 316c83101c https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-30 14:59:06 -04: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
Andrey 819eb8c92e https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 17:22:43 -04:00
Andrey 403cb3a96c https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 17:20:36 -04:00
GitHub build-firmware Action c237e0e39c Auto-generated configs and docs 2021-06-29 21:00:38 +00:00
Andrey ea4b7029a7 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 16:51:53 -04: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
Andrey dd4990b3f1 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-28 23:39:24 -04:00
GitHub set-date Action d73818d6c0 Update date 2021-06-29 00:53:47 +00:00
Andrey 309b630480 Review default H64 tune #2815 2021-06-28 19:47:11 -04:00
Andrey 44d4a33732 fresh attempt at a June release 2021-06-28 19:29:06 -04:00
Andrey b09a66e51b Hellen is the way 2021-06-28 19:24:35 -04:00
Andrey b4d10caf45 Review default H64 tune #2815 2021-06-28 17:36:02 -04: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
Andrey ab0556382d TS project: fixing cmd_* definition 2021-06-27 21:04:39 -04: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
Andrey 3ae6835964 DRAM SDRAM #2551 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 0708934be1 DRAM SDRAM #2551 2021-06-27 12:14:53 -04:00
Andrey 30bdfe323e DRAM SDRAM #2551 2021-06-27 11:23:16 -04:00
Andrey a5b64cd6cf DRAM SDRAM #2551 2021-06-27 02:13:52 -04:00
Andrey b73eb20a2a DRAM SDRAM #2551 2021-06-27 02:06:57 -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 aadcd0cc6b Check that table axes are ascending (#2866)
* templated interpolation check

* check tables
2021-06-26 15:02:25 -04:00
rusefillc 2a1dc63cba ## June 2021 Release "Please Take My Children to Work Day" 2021-06-25 22:46:32 -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
Andrey 6343dc2765 fan2 bench 2021-06-23 16:58:58 -04:00
Andrey 7153a47e76 H72 default progress 2021-06-23 16:58:34 -04:00
GitHub build-firmware Action 6287f8d303 Auto-generated configs and docs 2021-06-23 18:54:44 +00:00
Andrey 57d687cd0f more bench commands into .txt 2021-06-23 14:48:42 -04:00
Andrey eaf1348650 H72 default progress 2021-06-23 14:44:50 -04: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
Andrey G 5c552e196a TS communication minor fixes (#2847)
* console: noone use this

* console: do not stop blinking if TS command executes too long

Set and clear flag from the same place

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey 270905fa8b removing dead code 2021-06-23 04:26:32 -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 d7789bc2a0 those and many other offsets are no longer correct 2021-06-21 02:11:36 -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
Andrey 526c436d19 TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00
GitHub build-firmware Action 5a6145fc4f Auto-generated configs and docs 2021-06-21 02:40:41 +00:00
David Holdeman d2c60e30d5 Fix class (#2841)
* switch to switch_inputs

* switch output to outputs

* add missing s
2021-06-20 22:38:17 -04: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
Matthew Kennedy f28c10e87f parse enums (#2832)
* enums and definitions

* bad merge

* txt format

* endBit

* handle 1-size arrays

* strings

* fix auto enum

* hard code 0 and 1

* jar

* jar
2021-06-20 17:35:31 -04:00
Andrey a138ab98b0 https://www.rusefi.com/forum/viewtopic.php?p=41296 2021-06-20 17:26:24 -04:00
Andrey G 77b9a9a99d Fixes eg33 (#2838)
* CAN HW: use designated initizalization

* board subaru eg33: set CAN transceiver EN to active state constantly

While FW does not handle CAN transceiver's EN signal
2021-06-20 08:18:16 -04:00