Commit Graph

6526 Commits

Author SHA1 Message Date
Matthew Kennedy 0a40ccd619 put names in flash (#2939)
* put names in flash

* probing freed ram

* this one too

* probing memory

* more like that much
2021-07-09 17:05:16 -04:00
Matthew Kennedy 1bba234920 inject (#2938) 2021-07-09 17:02:25 -04:00
Matthew Kennedy ff31301284 trailing coils (#2937)
* gpio wiring

* plumbing
2021-07-09 15:51:30 -04:00
Andrey 8ab2fb542b RX8 wants all the RAM 2021-07-09 15:51:16 -04:00
Andrey 21a83351c3 random progress 2021-07-09 14:43:58 -04:00
rusefillc 06c364247f random progress 2021-07-09 14:27:10 -04:00
GitHub build-firmware Action 698f28e05d Auto-generated configs and docs 2021-07-09 17:19:11 +00:00
GitHub build-firmware Action 32942822f8 Auto-generated configs and docs 2021-07-09 15:53:39 +00:00
Andrey c5e9f2b6b5 trailing spark outputs #2931 2021-07-09 10:14:00 -04:00
GitHub build-firmware Action 3537e538cb Auto-generated configs and docs 2021-07-09 14:09:27 +00:00
GitHub build-firmware Action 32e40532c5 Auto-generated configs and docs 2021-07-09 12:40:06 +00:00
Matthew Kennedy f169fbf615 trailing spark scheduling (#2932)
* enable bit

* implement trailing sparks

* test trailing spark

* it helps to call the correct function

* add pins

* gobblin ram
2021-07-09 08:37:46 -04:00
Matthew Kennedy dd7ece2031 wideband (#2934)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-09 01:54:02 -04:00
rusefi 3b30b81f11 VAG canned tunes 2021-07-09 01:53:09 -04:00
GitHub build-firmware Action 4be2874fb9 Auto-generated configs and docs 2021-07-09 05:14:21 +00:00
GitHub build-firmware Action 2adc2b79d2 Auto-generated configs and docs 2021-07-09 04:47:44 +00:00
GitHub set-date Action c32504aa91 Update date 2021-07-09 00:57:46 +00:00
GitHub build-firmware Action 021ecb35f8 Auto-generated configs and docs 2021-07-09 00:52:18 +00:00
Andrey cbe407f465 VAG canned tunes 2021-07-08 20:42:35 -04:00
GitHub build-firmware Action d6c00923ae Auto-generated configs and docs 2021-07-09 00:09:07 +00:00
GitHub build-firmware Action 5bc6a02994 Auto-generated configs and docs 2021-07-08 23:57:16 +00:00
GitHub build-firmware Action 34083f4a8e Auto-generated configs and docs 2021-07-08 23:24:35 +00:00
rusefillc cad8d90125 mobile browser coding 2021-07-08 18:09:03 -04:00
GitHub build-firmware Action a358c6ac14 Auto-generated configs and docs 2021-07-08 20:44:58 +00:00
rusefi 76003ca393 VAG canned tunes 2021-07-08 16:35:58 -04:00
GitHub build-firmware Action 1c3680e822 Auto-generated configs and docs 2021-07-08 13:42:46 +00:00
GitHub build-firmware Action 9447b77cb0 Auto-generated configs and docs 2021-07-08 04:08:31 +00:00
GitHub build-firmware Action ca59ff5b56 Auto-generated configs and docs 2021-07-08 03:49:03 +00:00
Matthew Kennedy 03c6db89f5 injector nonlinearity (#2916)
* nonlinear polynomial

* make existing tests work again

* test that nonlinearity is called

* s

* fix enum

* ui

* fix and test

* comment

* changeloggy
2021-07-07 23:46:44 -04:00
GitHub set-date Action fd2443ad55 Update date 2021-07-08 00:55:35 +00:00
GitHub build-firmware Action 0e4a459599 Auto-generated configs and docs 2021-07-07 12:40:27 +00:00
Matthew Kennedy 110322d353 store cylinder count as plain number (#2915)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* no need to be a typedef

* paste in actual cylinder count
2021-07-07 08:31:05 -04:00
Andrey 7f9c9a02bd Gather Nissan CAN data #2278 2021-07-06 23:12:03 -04:00
Andrey a856014cd3 Gather Nissan CAN data #2278 2021-07-06 22:47:06 -04:00
Matthew Kennedy ba331f4895 knock sensing peak detect (#2910)
* knock peak detect

* comments

* comment

* initialize

* test

* fix warnings while we're here

* those are functions, not values

* ram
2021-07-06 21:44:59 -04:00
GitHub set-date Action 6738194e30 Update date 2021-07-07 01:19:30 +00:00
GitHub build-firmware Action 24dcc2cf4a Auto-generated configs and docs 2021-07-07 00:57:01 +00:00
Matthew Kennedy 717d4dd7ac Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey 54133f21f8 Option to log VVT target #2913 2021-07-06 20:00:53 -04:00
Matthew Kennedy 16dac2e47c Disable closed loop idle during cranking->running taper (#2900)
* implement

* dead file?

* implement tests

* new phase
2021-07-06 08:47:06 -04:00
Matthew Kennedy 0abbf182d3 hellen 128 defaults (#2912)
* all the pins

* s

* ign
2021-07-06 01:03:07 -04:00
Andrey ab3a862f19 reducing code duplication 2021-07-06 00:09:35 -04:00
Andrey 3759028a32 unit tests pass on Linux fail on Windows fix #2902
reducing code duplication
2021-07-05 23:51:13 -04:00
Andrey 8f13e5711a Nissan VVT trigger decoder #2887 2021-07-05 23:39:39 -04:00
Andrey bb181ac8fd Nissan VVT trigger decoder #2887
another bug - improper handling of three-times-symmetrical
2021-07-05 23:15:44 -04:00
Andrey 5416dd9906 refactoring - reusing magic constant 2021-07-05 23:07:36 -04:00
Andrey eceaa1f377 Nissan VVT trigger decoder #2887
that looks like one bug
2021-07-05 22:44:20 -04:00
Andrey 7ec3ef4b28 Nissan VVT trigger decoder #2887
that's all very strange
2021-07-05 22:17:26 -04:00
Andrey 59e33b3577 restore testQuadCam #2911 2021-07-05 21:04:09 -04:00
rusefi de750354a2 Nissan progress!!! 2021-07-05 20:29:49 -04:00
GitHub build-firmware Action 7e26091b8e Auto-generated configs and docs 2021-07-05 23:56:24 +00:00
GitHub build-firmware Action fe29fafa06 Auto-generated configs and docs 2021-07-05 23:08:29 +00:00
Andrey f8d5e3f51b Nissan 2021-07-05 18:43:39 -04:00
rusefillc e223ff4d9e Nissan 2021-07-05 18:38:34 -04:00
rusefillc 32a813339d Nissan 2021-07-05 18:37:53 -04:00
Matthew Kennedy a3d3638232 more graceful chibios assertion failure (#2859)
* no custom assert hook

* dead

* setjmp/longjmp

* always call tid hook

* tests get threadid

* simulator threadid

* kick

* stubs for kinetis

* make it happier

* noreturn

* oops

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-05 18:18:58 -04:00
GitHub build-firmware Action 3e62beec6d Auto-generated configs and docs 2021-07-05 22:08:39 +00:00
rusefi 342727bdd2 Nissan 2021-07-05 17:58:31 -04:00
rusefi fd98a631c3 Nissan 2021-07-05 17:57:25 -04:00
GitHub set-date Action 19e8d468f1 Update date 2021-07-05 00:54:44 +00:00
Andrey G fdfec5ea3c Fix swap macro (#2904)
* convert swap macroses to inline functions

* clean-up workarounds
2021-07-04 18:03:17 -04:00
GitHub build-firmware Action 02d65f51a1 Auto-generated configs and docs 2021-07-04 13:37:12 +00:00
Matthew Kennedy 3247d4de00 Gate closed loop idle on road speed (#2901)
* implement

* test

* b

* config
2021-07-04 09:35:12 -04:00
GitHub build-firmware Action efc9ab6f97 Auto-generated configs and docs 2021-07-04 13:25:09 +00:00
Matthew Kennedy 9d41a19adc misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
GitHub build-firmware Action 3fc9c4ed32 Auto-generated configs and docs 2021-07-04 04:34:53 +00:00
GitHub build-firmware Action 9faee00030 Auto-generated configs and docs 2021-07-04 04:11:05 +00:00
GitHub build-firmware Action a14e9cfa43 Auto-generated configs and docs 2021-07-04 03:49:47 +00:00
GitHub build-firmware Action 56d65ba336 Auto-generated configs and docs 2021-07-04 01:26:21 +00:00
rusefillc 5438bb5a4b human readable warning codes into TS #2898
preparation
2021-07-03 21:01:42 -04:00
GitHub set-date Action 57e1ff6edd Update date 2021-07-04 00:57:29 +00:00
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 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 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
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
GitHub build-firmware Action 26cf864e19 Auto-generated configs and docs 2021-06-11 00:00:17 +00:00
Andrey G 84856f3073 Fixes (#2807)
* tle6240: fix Matt's trap

* map: report some default value if no map sensor configured

Othervise user will get "unexpected MAP value" warning

Thread 2 hit Breakpoint 1, validateMap (mapKPa=3121.66162) at ./controllers/sensors/map.cpp:126
126		if (cisnan(mapKPa) || mapKPa < CONFIG(mapErrorDetectionTooLow) || mapKPa > CONFIG(mapErrorDetectionTooHigh)) {
(gdb) bt
 0  validateMap (mapKPa=3121.66162) at ./controllers/sensors/map.cpp:126
 1  0x002717dc in getMap () at ./controllers/engine_cycle/map_averaging.cpp:334
 2  0x0028175a in GetMapWrapper::getMap (this=0x2004214c <mapWrapper>) at ./init/sensor/init_map.cpp:12
 3  0x0028177c in operator() (__closure=0x0) at ./init/sensor/init_map.cpp:20
 4  0x002817a8 in _FUN () at ./init/sensor/init_map.cpp:21
 5  0x002811de in FunctionPointerSensor::get (this=0x20042150 <mapSensor>) at ./controllers/sensors/function_pointer_sensor.h:24
 6  0x002651c0 in SensorRegistryEntry::get (this=0x2003ddf0 <s_sensorRegistry+48>) at ./controllers/sensors/sensor.cpp:111
 7  0x002653e2 in Sensor::get (type=SensorType::Map) at ./controllers/sensors/sensor.cpp:208
 8  0x00261f38 in updateTunerStudioState (tsOutputChannels=0x2003d2e8 <tsOutputChannels>) at ./console/status_loop.cpp:637
 9  0x00262e48 in prepareTunerStudioOutputs () at ./console/status_loop.cpp:900
 10 0x00260914 in TunerStudio::cmdOutputChannels (this=0x20021a64 <tsInstance>, tsChannel=0x2003d4dc <usbChannel>, offset=0, count=340) at ./console/binary/tunerstudio_commands.cpp:24
 11 0x00260584 in TunerStudioBase::handleCrcCommand (this=0x20021a64 <tsInstance>, tsChannel=0x2003d4dc <usbChannel>, data=0x2003d4e1 <usbChannel+5> "", incomingPacketSize=5)
    at ./console/binary/tunerstudio.cpp:701
 12 0x0025fb3c in tsProcessOne (tsChannel=0x2003d4dc <usbChannel>) at ./console/binary/tunerstudio.cpp:537
 13 0x0025fbe2 in TunerstudioThread::ThreadTask (this=0x2003d608 <usbConsole>) at ./console/binary/tunerstudio.cpp:554
 14 0x0025f094 in ThreadController<1200>::StaticThreadTaskAdapter (thread=0x2003d608 <usbConsole>) at ./controllers/system/thread_controller.h:37
 15 0x0020035e in _port_thread_start () at ChibiOS/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S:201
2021-06-10 19:39:48 -04:00
GitHub set-date Action 866fd0f305 Update date 2021-06-10 01:01:40 +00:00
GitHub build-firmware Action 3c7d0a2743 Auto-generated configs and docs 2021-06-10 00:48:08 +00:00
GitHub set-date Action 4bc758567c Update date 2021-06-09 01:03:02 +00:00
GitHub build-firmware Action cb3ff8aef7 Auto-generated configs and docs 2021-06-08 18:29:34 +00:00
GitHub build-firmware Action b5a00b17ab Auto-generated configs and docs 2021-06-08 11:55:00 +00:00
GitHub set-date Action aef94f660d Update date 2021-06-08 01:24:03 +00:00
GitHub set-date Action 1fa270795e Update date 2021-06-07 01:26:14 +00:00
GitHub set-date Action b4546dfe6c Update date 2021-06-06 01:25:25 +00:00
GitHub build-firmware Action 97c3d455da Auto-generated configs and docs 2021-06-05 20:42:46 +00:00
GitHub build-firmware Action a68c7d7d8b Auto-generated configs and docs 2021-06-05 20:21:28 +00:00
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
GitHub build-firmware Action 37a3f08c0c Auto-generated configs and docs 2021-06-05 20:09:52 +00:00
GitHub build-firmware Action d01fd93576 Auto-generated configs and docs 2021-06-05 19:51:13 +00:00
GitHub build-firmware Action eee3e6087c Auto-generated configs and docs 2021-06-05 11:00:25 +00:00
GitHub set-date Action 5e5d724aee Update date 2021-06-05 01:34:35 +00:00
Matthew Kennedy 7101a390db update wideband (#2795)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-04 01:34:30 -04:00
GitHub set-date Action aafe21e6e3 Update date 2021-06-04 01:55:47 +00:00