Commit Graph

10617 Commits

Author SHA1 Message Date
GitHub build-firmware Action 33f2125159 Auto-generated configs and docs 2021-06-30 19:01:13 +00:00
Andrey c32c56a1b4 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-30 14:59:06 -04:00
Matthew Kennedy 0c5f4f5179
target lambda table (#2879)
* move function

* put that back

* fancy lamba table
2021-06-30 06:56:43 -04:00
GitHub set-date Action d98fc39da9 Update date 2021-06-30 01:01:58 +00:00
GitHub build-firmware Action 329f983485 Auto-generated configs and docs 2021-06-29 21:30:44 +00:00
Andrey a30571d67f https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 17:22:43 -04:00
Andrey 1d722c99c4 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 17:20:36 -04:00
GitHub build-firmware Action 7707b0fbed Auto-generated configs and docs 2021-06-29 21:00:38 +00:00
Andrey 62507d008f https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 16:51:53 -04:00
GitHub build-firmware Action f412d52948 Auto-generated configs and docs 2021-06-29 05:14:46 +00:00
Andrey 75cffa26d3 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 01:04:39 -04:00
GitHub build-firmware Action 4eb2da685e Auto-generated configs and docs 2021-06-29 03:41:20 +00:00
Andrey 85ca46d455 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-28 23:39:24 -04:00
GitHub set-date Action baea1918a5 Update date 2021-06-29 00:53:47 +00:00
Andrey 70bc5b2375 Review default H64 tune #2815 2021-06-28 19:47:11 -04:00
Andrey c65e786664 fresh attempt at a June release 2021-06-28 19:29:06 -04:00
Andrey e50d18cea4 Hellen is the way 2021-06-28 19:24:35 -04:00
Andrey ec72c6950e Review default H64 tune #2815 2021-06-28 17:36:02 -04:00
Matthew Kennedy 5c60973dd8
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 e674917f7e Auto-generated configs and docs 2021-06-28 12:55:05 +00:00
Matthew Kennedy 32f5ce6fb4
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 3f63a108aa
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 2dd476dfc7 Auto-generated configs and docs 2021-06-28 01:07:22 +00:00
Andrey d45b6b9dd8 TS project: fixing cmd_* definition 2021-06-27 21:04:39 -04:00
GitHub set-date Action cb9924aff7 Update date 2021-06-28 00:57:46 +00:00
GitHub build-firmware Action 1d48a36777 Auto-generated configs and docs 2021-06-27 22:54:02 +00:00
Matthew Kennedy cd5eb6a77c
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 41060a1235 VW warnings on cranking #2861
same resilience for some other triggers
2021-06-27 13:29:09 -04:00
Andrey 21c06e1514 refactoring maybe making code reuse more possible in the future 2021-06-27 13:00:01 -04:00
Andrey 2e252022aa VW warnings on cranking #2861 2021-06-27 12:31:18 -04:00
Andrey f32c3f62af DRAM SDRAM #2551 2021-06-27 12:31:18 -04:00
GitHub build-firmware Action 5c95fba778 Auto-generated configs and docs 2021-06-27 16:16:51 +00:00
Andrey 1cd0440157 DRAM SDRAM #2551 2021-06-27 12:14:53 -04:00
Andrey b3579aadff DRAM SDRAM #2551 2021-06-27 11:23:16 -04:00
Andrey 6819ce9032 DRAM SDRAM #2551 2021-06-27 02:13:52 -04:00
Andrey 9e9300dce9 dead files? 2021-06-27 02:11:37 -04:00
Andrey 3db0933244 DRAM SDRAM #2551 2021-06-27 02:06:57 -04:00
Andrey 82439b3ffd so many wonderful discoveries 2021-06-27 00:54:38 -04:00
Andrey 4463ca1fdb depressing code comment 2021-06-26 23:01:47 -04:00
Andrey 5adb42f939 refactoring - crankDivider etc etc 2021-06-26 22:42:53 -04:00
Andrey eaff083377 refactoring - explicit read method 2021-06-26 22:17:07 -04:00
Andrey 1822426d0c refactoring - explicit read method 2021-06-26 22:11:42 -04:00
Andrey a5eeb19c4d refactoring - explicit read method 2021-06-26 22:07:45 -04:00
Matthew Kennedy cd055a687d
dc motor api (#2869)
* iwpm

* dc motor has configure

* consume

* format

* spelling
2021-06-26 21:42:40 -04:00
GitHub set-date Action c1178a0464 Update date 2021-06-27 01:09:33 +00:00
Matthew Kennedy a498e86944
dead fsio alt (#2871) 2021-06-26 20:15:48 -04:00
Matthew Kennedy 219d9feaef
Check that table axes are ascending (#2866)
* templated interpolation check

* check tables
2021-06-26 15:02:25 -04:00
rusefillc 9dc4e50fb3 ## June 2021 Release "Please Take My Children to Work Day" 2021-06-25 22:46:32 -04:00
Matthew Kennedy 2475cb283b
warnings (#2862)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 20:58:38 -04:00
GitHub set-date Action d83cdbfc0c Update date 2021-06-26 00:54:21 +00:00
Matthew Kennedy ce4eb2b55d
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 0af5de0934
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 942eb46471 Trigger: warning code on normal engine start up #669
better TDC unit test approach?
2021-06-25 13:19:16 -04:00
Andrey c40f801e6d Trigger: warning code on normal engine start up #669
making more code unit-testable
2021-06-25 12:50:19 -04:00
Andrey 12067584e9 helping build? 2021-06-25 12:28:55 -04:00
Andrey 265339a50b helping build? 2021-06-25 12:26:29 -04:00
Andrey 5e87b326f2 refactoring 2021-06-25 12:01:59 -04:00
Andrey 266e50f4ca Trigger: warning code on normal engine start up #669
making more code unit-testable
2021-06-25 11:50:23 -04:00
Andrey 28a27367e5 helping build? 2021-06-25 11:48:17 -04:00
Andrey 66b091a5a5 Trigger: warning code on normal engine start up #669
making more code unit-testable
2021-06-25 11:30:06 -04:00
Andrey 0c97b4bc83 refactoring: reducing code duplication 2021-06-25 10:55:46 -04:00
rusefillc b84369c8c0 unit_tests: mapAveragingTriggerCallback causes segmentation fault fix #2858 2021-06-25 10:43:58 -04:00
rusefillc 6605935015 unit_tests: mapAveragingTriggerCallback causes segmentation fault #2858 2021-06-25 10:21:31 -04:00
Andrey 761d9fc40e global static not good, there shall be only one god object /s 2021-06-25 01:37:43 -04:00
Andrey 71fdfe6756 giving unit tests a chance to use tdcMarkCallback 2021-06-25 01:31:53 -04:00
Andrey 3092164e48 Minor change of Miata NA trigger shape #2855 #669 2021-06-24 22:21:30 -04:00
Andrey 03f18cd0c8 OMG dead code?! 2021-06-24 22:01:57 -04:00
GitHub set-date Action cba533d257 Update date 2021-06-25 01:01:18 +00:00
Matthew Kennedy 7eb3b9890d
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 fd49590a4e
don't stack overflow on early ch dbg assert (#2853) 2021-06-24 16:36:20 -04:00
GitHub set-date Action 8ef5e0d1c9 Update date 2021-06-24 00:44:43 +00:00
Andrey a6dae486e0 fan2 bench 2021-06-23 17:16:11 -04:00
GitHub build-firmware Action 232f8296aa Auto-generated configs and docs 2021-06-23 21:07:38 +00:00
Andrey bbd9a6aee1 fan2 bench 2021-06-23 17:03:55 -04:00
Andrey c5dc371abb fan2 bench 2021-06-23 16:58:58 -04:00
Andrey 99bb01c4a5 H72 default progress 2021-06-23 16:58:34 -04:00
GitHub build-firmware Action 03296ed07c Auto-generated configs and docs 2021-06-23 18:54:44 +00:00
Andrey b82110555f more bench commands into .txt 2021-06-23 14:48:42 -04:00
Andrey 339cea9e7f H72 default progress 2021-06-23 14:44:50 -04:00
Andrey 1c48a61339 refactoring 2021-06-23 06:37:32 -04:00
Andrey a57d7c48fb global static not good, there shall be only one god object /s 2021-06-23 06:10:27 -04:00
Andrey G 08747d036e
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 8d0046b0de removing dead code 2021-06-23 04:26:32 -04:00
GitHub set-date Action 2efe5f555b Update date 2021-06-23 00:49:48 +00:00
GitHub set-date Action a8e6078f04 Update date 2021-06-22 00:52:52 +00:00
Andrey 50d00f1f73 as of today we still do not have desperate time debugging "writepin" command 2021-06-21 13:03:18 -04:00
Andrey 31a62d664f Actually two for SWAP_UINT16 :) 2021-06-21 10:47:43 -04:00
Andrey 498358247e performance optimization by dron0gus 2021-06-21 09:27:09 -04:00
Andrey 607ece65c2 flash writer thread name by dron0gus 2021-06-21 09:00:54 -04:00
Andrey 35a63cad89 Revert "TS Burned All Data engine stop #2839"
This reverts commit dcb52a5b
2021-06-21 08:53:39 -04:00
Andrey dcb52a5b37 TS Burned All Data engine stop #2839
second guess
2021-06-21 03:10:59 -04:00
Andrey 3aab93b122 TS Burned All Data engine stop #2839
first wild guess
2021-06-21 02:51:12 -04:00
Andrey c13bb8dbe1 looks like this parameter is very well used now? 2021-06-21 02:12:14 -04:00
Andrey 65a0303340 those and many other offsets are no longer correct 2021-06-21 02:11:36 -04:00
Andrey cd0990ccb4 TS Burned All Data engine stop #2839
reusing constant
2021-06-21 00:53:37 -04:00
GitHub build-firmware Action 187fdcb5c8 Auto-generated configs and docs 2021-06-21 03:35:31 +00:00
Andrey 35c8c9ac6b TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00
GitHub build-firmware Action 22cefc1468 Auto-generated configs and docs 2021-06-21 02:40:41 +00:00
David Holdeman feb4da7467
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 2d17a24b00 Update date 2021-06-21 00:59:18 +00:00
GitHub build-firmware Action af284d47af Auto-generated configs and docs 2021-06-20 21:45:12 +00:00
Matthew Kennedy aa8bfe0020
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 47b62a5a3a https://www.rusefi.com/forum/viewtopic.php?p=41296 2021-06-20 17:26:24 -04:00
Andrey G 802afaed34
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
GitHub set-date Action 5919122484 Update date 2021-06-20 00:58:37 +00:00
GitHub build-firmware Action f72581b1d7 Auto-generated configs and docs 2021-06-19 13:14:32 +00:00
David Holdeman 9955d49679
switch to switch_inputs (#2837)
* switch to switch_inputs

* switch output to outputs
2021-06-19 09:12:54 -04:00
GitHub build-firmware Action ef66ebcae4 Auto-generated configs and docs 2021-06-19 03:23:44 +00:00
Matthew Kennedy 0d80a781e6
more config cleanup: get rid of extra spaces (#2836)
* oh boy

* double space between sentences
2021-06-18 22:53:39 -04:00
GitHub build-firmware Action 55b7fc08d8 Auto-generated configs and docs 2021-06-19 00:55:47 +00:00
David Holdeman 2d0d61fa31
change digital_input to digital_inputs (#2833) 2021-06-18 20:43:30 -04:00
GitHub build-firmware Action 7e58366778 Auto-generated configs and docs 2021-06-18 20:33:41 +00:00
Matthew Kennedy 78304d2b39
gauges for raw TPS (#2831)
* ecu part

* gauges

* debug info for ford throttle

* sensible order
2021-06-18 16:27:44 -04:00
GitHub build-firmware Action 993298a93e Auto-generated configs and docs 2021-06-18 19:49:42 +00:00
Matthew Kennedy d57ea124a1
cleanup for easier ini compare (#2830)
* remove dot zero

* don't parse as double

* minor formatting

* Revert "don't parse as double"

This reverts commit f2427927f7df0f5fa27ed66c888009e3a3da8412.

* expect integer "1"

* jar
2021-06-18 15:43:16 -04:00
Matthew Kennedy e7e9ab0d5c
Antlr 2 (#2823)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* grammar for unions

* parse unions

* layout logic

* fix union alignment

* union in config

* jar

* comment

* jar

* jar

* no prefix on root struct

* stray space

* normalize some enums
2021-06-18 12:31:23 -04:00
rusefillc 56fd45a81e June 2021 Release "Garbage Man Day" 2021-06-17 22:14:40 -04:00
GitHub set-date Action 1a92197937 Update date 2021-06-18 00:56:57 +00:00
GitHub build-firmware Action 41b23d2063 Auto-generated configs and docs 2021-06-17 15:41:07 +00:00
rusefillc 2fead8f1b3 typo & clarification 2021-06-17 11:38:36 -04:00
GitHub build-firmware Action 9270425bc6 Auto-generated configs and docs 2021-06-17 13:51:57 +00:00
rusefillc dc7b1fc401 engine_load_mode_e clarification 2021-06-17 09:49:15 -04:00
Matthew Kennedy 71b552d3a7
changelog (#2825) 2021-06-17 04:56:32 -04:00
GitHub set-date Action c163d3bbed Update date 2021-06-17 00:54:30 +00:00
GitHub build-firmware Action a5063adacd Auto-generated configs and docs 2021-06-16 21:31:59 +00:00
Matthew Kennedy 3a30f038ce
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 850d19aaa9 Auto-generated configs and docs 2021-06-16 21:09:18 +00:00
Matthew Kennedy 2c6b8ae3c6
parse with antlr (#2747)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* console should not build config def tool

* ugh the dependency tree is insane

* this should fix hw ci

* console build

* console jenkins script

* test

* Revert "test"

This reverts commit 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.

* throw on parse failure

* jar

* fix #2821

* comment
2021-06-16 17:07:05 -04:00
GitHub build-firmware Action 59b2cee173 Auto-generated configs and docs 2021-06-16 15:30:04 +00:00
rusefillc 5c5ec16c13 docs 2021-06-16 11:20:14 -04:00
GitHub build-firmware Action 08b5ca6046 Auto-generated configs and docs 2021-06-16 12:54:10 +00:00
Matthew Kennedy 93adb8ea76
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 46494877af Update date 2021-06-16 00:56:27 +00:00
GitHub build-firmware Action b54c4c1738 Auto-generated configs and docs 2021-06-15 21:32:56 +00:00
Matthew Kennedy a4973a6f3d
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 f10607e6d5 Update date 2021-06-15 00:58:38 +00:00
GitHub build-firmware Action c264b94ba6 Auto-generated configs and docs 2021-06-14 01:39:17 +00:00
Andrey 3cf8244d46 Review default H64 tune #2815 2021-06-13 21:28:57 -04:00
Andrey 640097f327 Review default H64 tune #2815 2021-06-13 21:27:03 -04:00
Andrey 3c62881fe8 Review default H64 tune #2815 2021-06-13 21:17:22 -04:00
GitHub set-date Action 6670077dba Update date 2021-06-14 00:54:30 +00:00
GitHub build-firmware Action 2c135cf838 Auto-generated configs and docs 2021-06-14 00:43:24 +00:00
Andrey a1fa9719c9 Review default H64 tune #2815 2021-06-13 20:40:28 -04:00
Andrey 67f9e5a595 forgotten MPX4100 sensor 2021-06-13 20:30:51 -04:00
GitHub build-firmware Action b8a6c15881 Auto-generated configs and docs 2021-06-13 12:09:09 +00:00
Matthew Kennedy 097bf85faf
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 ca2244a043 Auto-generated configs and docs 2021-06-13 12:01:23 +00:00
Matthew Kennedy 7d2057e74a
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 12191bfcec Update date 2021-06-13 00:58:08 +00:00
Matthew Kennedy 15d172ab08
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