Commit Graph

8539 Commits

Author SHA1 Message Date
rusefi 7c2eaee40f GDI Epic #1448 2020-11-22 00:13:55 -05:00
GitHub build-firmware Action ae932d2366 Auto-generated configs and docs 2020-11-22 05:11:29 +00:00
rusefi d1de459d0d GDI Epic #1448 2020-11-22 00:09:36 -05:00
GitHub build-firmware Action 39cfc0692a Auto-generated configs and docs 2020-11-22 03:58:53 +00:00
rusefillc 621e8e851f GDI Epic #1448 2020-11-21 22:56:47 -05:00
GitHub build-firmware Action 88d3c2b124 Auto-generated configs and docs 2020-11-22 03:01:11 +00:00
rusefillc c3e6bfb5ea GDI Epic #1448 2020-11-21 21:58:56 -05:00
GitHub set-date Action 77d1d0a1fb Update date 2020-11-22 00:41:19 +00:00
GitHub build-firmware Action 6374b08e34 Auto-generated configs and docs 2020-11-21 01:38:58 +00:00
rusefillc 49105703cc GDI Epic #1448 2020-11-20 20:36:48 -05:00
GitHub set-date Action fb0180be77 Update date 2020-11-21 00:39:02 +00:00
rusefillc 12187b4254 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-20 00:18:38 -05:00
rusefillc 17a110ad44 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-19 23:57:06 -05:00
shadowm60 e69d103461 Launch control unit tests update (#1972)
* testable launch start

* extract base class

* add a test

* fix ts debug

* Launch control unit_tests

updated launch control for a better split
VSS mock for unit tests

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2020-11-19 21:14:38 -05:00
Matthew Kennedy ad6c24a9cc no feed forward for wastegate (#1971)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-19 20:51:30 -05:00
GitHub set-date Action 014e2feff4 Update date 2020-11-20 00:39:06 +00:00
rusefillc f3c9d67d8b Starter is engaged on start-up in pull-up configuration #1969
usability & test improvement
2020-11-19 17:15:28 -05:00
Matthew Kennedy 359a6ddc47 Launch control testable (#1967)
* testable launch start

* extract base class

* add a test

* fix ts debug
2020-11-19 08:15:56 -05:00
Matthew Kennedy 2792828dce Remove lockAnyContext, replace with CriticalSectionLocker (#1938)
* switch to CriticalSectionLocker

* that's just about all

* clean up last usage

* include hpp for sim

* need the cpp wrappers in the makefile too

* include dir

* include
2020-11-19 06:56:02 -05:00
rusefillc dbdfd87c6d Starter seems to be engaged forever fix #1965 2020-11-18 23:54:30 -05:00
rusefillc 2d3ddcde9d Starter seems to be engaged forever #1965 2020-11-18 22:47:40 -05:00
rusefillc 3a38c837cc Starter seems to be engaged forever #1965 2020-11-18 22:45:37 -05:00
rusefillc b6dac8dac2 Starter seems to be engaged forever #1965 2020-11-18 22:42:41 -05:00
rusefillc 9f94205b2b Starter seems to be engaged forever #1965 2020-11-18 21:45:17 -05:00
rusefillc b95dd4311b Starter seems to be engaged forever #1965 2020-11-18 21:08:01 -05:00
rusefillc a73b2c9298 Starter seems to be engaged forever #1965 2020-11-18 20:53:03 -05:00
rusefillc 4b57edc6d1 Starter seems to be engaged forever #1965 2020-11-18 20:48:52 -05:00
rusefillc ab75be8742 Something something unit test ETB does not work #1966 2020-11-18 20:12:58 -05:00
rusefillc 2af3cdf70e Starter seems to be engaged forever #1965 2020-11-18 20:01:02 -05:00
rusefillc 66c784480f Merge remote-tracking branch 'origin/master' into master 2020-11-18 19:51:57 -05:00
rusefillc c30d0d31f3 Starter seems to be engaged forever #1965 2020-11-18 19:51:51 -05:00
GitHub set-date Action 37230c1a95 Update date 2020-11-19 00:38:43 +00:00
Matthew Kennedy 776dd75a8a consolidate to common (#1962) 2020-11-18 16:22:19 -05:00
Matthew Kennedy 786aaf2e3c put getTimeNowLowerNt in to mpu_util (#1950)
* put getTimeNowLowerNt in to mpu_util

* move GPTDEVICE to port_mpu_util

* and remove from efifeatures
2020-11-18 14:17:00 -05:00
rusefi 5a249e1b8f better MC33816 start-up status 2020-11-18 01:07:09 -05:00
rusefillc 28e65e8fea occasional tunerstudio CRC errors #1943
third time a charm?
2020-11-17 23:47:35 -05:00
rusefillc 5118a67f89 better error handling 2020-11-17 22:45:43 -05:00
GitHub set-date Action 5a54a6b668 Update date 2020-11-18 00:38:02 +00:00
Andrey G 39bc608ce5 TLE8888: disable diagnostic for OUTPUT8..13 (#1956)
Enabled pull-down affects analog inputs that shares same pins.
Disable it.
DOTO: enable diagnostic if ouput requested through tle8888_setPadMode
2020-11-17 18:33:37 -05:00
Matthew Kennedy 7d6fe4ff8e undo 1946 (#1957) 2020-11-17 17:07:56 -05:00
rusefillc 9fb7540ece sporadic crc error #1943
un-removing, one step forward
2020-11-17 15:24:00 -05:00
rusefillc ecbdfe379e docs 2020-11-17 08:25:50 -05:00
Matthew Kennedy 319384143e read SD card config exactly once (#1955)
* only read mmc device once

* format

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-17 07:48:43 -05:00
rusefi e7dfffe71d toyota89281_33010_pedal_position_sensor 2020-11-16 23:38:23 -05:00
rusefillc 8a419291c6 DC not ETB refactoring 2020-11-16 20:07:12 -05:00
rusefillc 851478f846 DC not ETB refactoring 2020-11-16 20:05:35 -05:00
GitHub build-firmware Action b00cc44f6d Auto-generated configs and docs 2020-11-17 00:54:02 +00:00
rusefillc 3fef5606ed DC not ETB refactoring 2020-11-16 19:51:36 -05:00
GitHub build-firmware Action d1f19d6a42 Auto-generated configs and docs 2020-11-17 00:45:34 +00:00
rusefillc 848af9a0f8 Merge remote-tracking branch 'origin/master' into master 2020-11-16 19:43:12 -05:00
rusefillc c6efcb6013 DC not ETB refactoring 2020-11-16 19:43:00 -05:00
GitHub set-date Action 8f6fe82262 Update date 2020-11-17 00:37:46 +00:00
rusefillc 499d93ed49 DC not ETB refactoring 2020-11-16 19:28:30 -05:00
GitHub build-firmware Action ea2eeb7ca1 Auto-generated configs and docs 2020-11-17 00:10:53 +00:00
rusefi 65a1847505 refactoring: TS to match C 2020-11-16 19:09:05 -05:00
Matthew Kennedy e0d0727896 adjust microsecond_timer api (#1952)
* change timer api

* don't need all that
2020-11-16 18:50:13 -05:00
Matthew Kennedy 89c56a00fa minor perf tweaks (#1946)
* only start PWM if needed

* put important stuff first

* use conversion

* this broke the logic
2020-11-16 00:06:11 -05:00
rusefi 70a94ee1f7 occasional tunerstudio CRC errors #1943
second step back
2020-11-15 22:41:04 -05:00
rusefillc c3b680b408 occasional tunerstudio CRC errors #1943
one step back
2020-11-15 21:41:38 -05:00
rusefi 5b45f25f09 B6 2020-11-15 20:56:16 -05:00
Matthew Kennedy d9f625c8ba prevent MMC preemption by TS thread (#1949)
* prevent preemption by TS thread

* didn't need that
2020-11-15 20:44:36 -05:00
GitHub set-date Action 27c9571a3b Update date 2020-11-16 00:38:50 +00:00
GitHub build-firmware Action 8a20383b2d Auto-generated configs and docs 2020-11-15 22:33:48 +00:00
rusefi 2eab666f63 GDI Epic #1448 2020-11-15 17:31:53 -05:00
GitHub build-firmware Action 341778e3cc Auto-generated configs and docs 2020-11-15 22:19:44 +00:00
rusefi cad3fb8a51 Merge remote-tracking branch 'origin/master' 2020-11-15 17:18:03 -05:00
rusefi b3e910008c MRE mapping 2020-11-15 17:16:58 -05:00
Matthew Kennedy 80edfe64ce Fix crc again, for real this time (#1948)
* re enable

* changelog

* fix

* fix test

* put some tests back
2020-11-15 16:59:02 -05:00
GitHub build-firmware Action f6b2c9743c Auto-generated configs and docs 2020-11-15 21:07:18 +00:00
rusefi f3ea723843 GDI Epic #1448
typo
2020-11-15 16:05:10 -05:00
rusefi ad9635b4ff GDI Epic #1448 2020-11-15 15:37:53 -05:00
rusefillc 1eb0f8808f occasional tunerstudio CRC errors #1943
unit test progress
2020-11-15 12:36:07 -05:00
rusefillc 05e7792ad4 occasional tunerstudio CRC errors #1943
now with a bit of a unit test
2020-11-15 12:27:47 -05:00
rusefillc 53bcd448cf occasional tunerstudio CRC errors #1943
getting ready for unit test
2020-11-15 11:55:26 -05:00
rusefillc 952e019b01 occasional tunerstudio CRC errors #1943
getting ready for unit test
2020-11-15 11:53:09 -05:00
rusefillc 0cc30b4239 Re-applying part of "fix CRC errors #1944" 2020-11-15 10:28:23 -05:00
rusefillc 0ec945dc4c fix CRC errors #1944
partial rollback in order to isolate the defect
2020-11-15 10:02:40 -05:00
Matthew Kennedy 3a052682dd fix large response packets (#1947)
* fix console text mode

* oops I should actually write the crc
2020-11-15 07:14:50 -05:00
GitHub set-date Action c1ba274027 Update date 2020-11-15 00:38:12 +00:00
Matthew Kennedy ebcd4f73af fix CRC errors (#1944)
* fix crc mismatch

* cleanup

* use size_t, add null check

* bounds check for good measure

* rename to scratchBuffer

* comment
2020-11-14 19:21:29 -05:00
GitHub build-firmware Action 6d63adc174 Auto-generated configs and docs 2020-11-14 23:08:03 +00:00
rusefillc 6f56988469 https://rusefi.com/forum/viewtopic.php?p=38367#p38367
idle position/waste gate position sensor usability
2020-11-14 18:05:27 -05:00
GitHub set-date Action 5423bf53e1 Update date 2020-11-14 00:36:52 +00:00
GitHub set-date Action 0db3a928aa Update date 2020-11-13 00:35:10 +00:00
GitHub build-firmware Action 1a2aaf5e29 Auto-generated configs and docs 2020-11-12 02:49:26 +00:00
Matthew Kennedy 605269c358 remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
Matthew Kennedy c36c23c0b6 debugging in vscode 🎉 (#1942) 2020-11-11 20:36:15 -05:00
Matthew Kennedy 6b0c533d2c consolidate EFI_UNIT_TEST and friends (#1940)
* restructure

* guard c++

* idle too

* status_loop.h

* consolidate definitions

* use 1/0 instead, check for existence

* missed a few

* dead define

* defs for bootloader
2020-11-11 20:34:39 -05:00
GitHub set-date Action 537f28cbb8 Update date 2020-11-12 00:35:21 +00:00
Matthew Kennedy 74d2af9c6c Move all DECLARE_ENGINE_PTR etc to one place (#1937)
* restructure

* guard c++

* idle too

* status_loop.h
2020-11-11 19:06:04 -05:00
rusefillc cf7c613ed8 GDI Epic #1448 2020-11-11 00:43:21 -05:00
GitHub build-firmware Action 58b039f433 Auto-generated configs and docs 2020-11-11 04:13:06 +00:00
Matthew Kennedy 0fa06e2e2a compensate injector flow based on fuel pressure (#1931)
* injector compensation

* fix

* ui

* testability & comments

* hella testing

* debug channels

* enum value

* auto generated enums

* update comment

* oops too much

* update config fields

* handle failed pressure sensor

* build

* fix

* add some todos for the future

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
GitHub set-date Action c1e99b05d4 Update date 2020-11-11 00:31:30 +00:00
rusefillc 99cf91c784 tle8888 drivers wants RAM as well 2020-11-10 18:26:46 -05:00
rusefillc c6c9ab36d0 Merge remote-tracking branch 'origin/master' into master 2020-11-10 18:26:09 -05:00
Andrey G 2f891cc23a Tle8888 stepper (#1936)
* TLE8888: enable PP mode for OUT21..24 in case of useTLE8888_stepper

* Lada Kalina is a test mule for stepper idle
2020-11-10 14:16:46 -05:00
rusefillc 89ae747179 more more more RAM 2020-11-10 13:07:55 -05:00
GitHub build-firmware Action fcf09c3bd6 Auto-generated configs and docs 2020-11-10 17:39:01 +00:00
rusefillc 232b64292d field = "useTLE8888 2020-11-10 12:37:15 -05:00
rusefillc 53113287f7 GDI Epic #1448 2020-11-09 22:53:46 -05:00
rusefillc 529a6863c3 GDI Epic #1448 2020-11-09 22:53:23 -05:00
rusefillc fd140ee665 GDI Epic #1448 2020-11-09 22:49:06 -05:00
rusefillc ac37b2c19e GDI Epic #1448 2020-11-09 22:33:48 -05:00
rusefillc 0474458906 GDI Epic #1448 2020-11-09 22:21:38 -05:00
GitHub build-firmware Action 05d94c987e Auto-generated configs and docs 2020-11-10 03:09:32 +00:00
rusefillc 66d96eafbd GDI Epic #1448 2020-11-09 22:07:52 -05:00
rusefillc d8a022d1aa GDI Epic #1448 2020-11-09 21:41:13 -05:00
GitHub build-firmware Action e3a34c427c Auto-generated configs and docs 2020-11-10 02:34:55 +00:00
rusefillc 130e684262 GDI Epic #1448 2020-11-09 21:32:48 -05:00
rusefillc aa5c0ec049 RAM, ram, ram... 2020-11-09 21:25:44 -05:00
GitHub build-firmware Action 9bdcd5290f Auto-generated configs and docs 2020-11-10 02:20:33 +00:00
rusefillc 8c71bf49f1 GDI Epic #1448 2020-11-09 21:18:52 -05:00
rusefillc 1739437096 Output pin init/deinit needs a linked list #1803 2020-11-09 21:10:48 -05:00
rusefillc 76e7c0be01 Merge remote-tracking branch 'origin/master' into master 2020-11-09 19:48:11 -05:00
rusefillc 8fc5e1a4a0 docs 2020-11-09 19:47:10 -05:00
GitHub set-date Action 3e88d50e15 Update date 2020-11-10 00:39:25 +00:00
GitHub set-date Action 5f44182973 Update date 2020-11-09 00:39:56 +00:00
GitHub set-date Action cf108f6225 Update date 2020-11-08 00:40:00 +00:00
rusefi 9f237d963b debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927
refactoring
2020-11-07 00:46:59 -05:00
rusefi 55065781f8 debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927
undoing brain fart
2020-11-07 00:43:42 -05:00
rusefi f353e5c7a3 debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927 2020-11-07 00:35:56 -05:00
rusefillc 89a20a20b0 Proteus TCU gear shift configuration #1927 2020-11-06 23:48:35 -05:00
rusefillc e168ae1d35 refactoring: code duplication 2020-11-06 21:24:58 -05:00
GitHub set-date Action 0d19eff22c Update date 2020-11-07 00:38:05 +00:00
rusefi fa0de4598c Output pin init/deinit needs a linked list #1803 2020-11-06 15:45:15 -05:00
rusefi 34f887d6af v12 & dual-channel PPS 2020-11-06 15:30:11 -05:00
GitHub build-firmware Action 3396487f84 Auto-generated configs and docs 2020-11-06 19:37:34 +00:00
rusefi 5efd49bc76 docs 2020-11-06 14:35:11 -05:00
rusefi 7adde869d7 v12 Proteus 2020-11-06 14:18:54 -05:00
GitHub set-date Action 13024163d7 Update date 2020-11-06 00:37:03 +00:00
rusefillc e8446bd73c Output pin init/deinit needs a linked list #1803 2020-11-05 18:47:45 -05:00
rusefillc 3643b2d063 Output pin init/deinit needs a linked list #1803 2020-11-05 18:42:45 -05:00
rusefillc 14fffa5136 refactoring 2020-11-05 18:10:44 -05:00
rusefillc 8e4ebc9a7d Output pin init/deinit needs a linked list #1803 2020-11-05 17:52:30 -05:00
rusefillc 721ab9c7ca Output pin init/deinit needs a linked list #1803
one step back
2020-11-05 17:44:16 -05:00
rusefillc e7b1b80ce9 Output pin init/deinit needs a linked list #1803 2020-11-05 17:23:09 -05:00
rusefillc 310998d0ae GDI Epic #1448 2020-11-05 16:42:56 -05:00
rusefillc e06fdaea0a GDI Epic #1448 2020-11-05 16:34:25 -05:00
GitHub build-firmware Action b363782d04 Auto-generated configs and docs 2020-11-05 20:37:03 +00:00
andreika-git 554e1f7927 Make AFR great again! (#1929)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-11-05 15:35:11 -05:00
GitHub build-firmware Action 536230b587 Auto-generated configs and docs 2020-11-05 13:06:37 +00:00
rusefillc 502102a3bb poke 2020-11-05 08:04:43 -05:00
GitHub set-date Action 9451f6f743 Update date 2020-11-05 00:36:36 +00:00
GitHub build-firmware Action cbeca5144c Auto-generated configs and docs 2020-11-04 19:51:14 +00:00
rusefi 2a4e4d55f5 one step back 2020-11-04 14:49:23 -05:00
GitHub build-firmware Action 45d34a28e9 Auto-generated configs and docs 2020-11-04 17:50:19 +00:00
rusefi cff029f289 miata TCU 2020-11-04 12:48:07 -05:00
GitHub build-firmware Action 72ebf9312d Auto-generated configs and docs 2020-11-04 17:46:41 +00:00
rusefi 08f621fe79 miata TCU 2020-11-04 12:44:30 -05:00
rusefi 69d233cc66 miata TCU 2020-11-04 12:42:30 -05:00
GitHub build-firmware Action f2f552434f Auto-generated configs and docs 2020-11-04 05:47:44 +00:00
rusefi 12f317c80e TCU minor fix 2020-11-04 00:45:58 -05:00
rusefi fdd183324e miata TCU 2020-11-03 23:59:00 -05:00
rusefi 457deea2e7 miata TCU 2020-11-03 23:21:47 -05:00
David Holdeman 77460ba6ae set solenoids (#1925) 2020-11-03 22:18:40 -05:00
rusefillc e384df96cc TCU 2020-11-03 20:17:47 -05:00
GitHub set-date Action 50fc169e13 Update date 2020-11-04 00:35:42 +00:00
GitHub build-firmware Action 0bad2bc697 Auto-generated configs and docs 2020-11-04 00:05:36 +00:00
Matthew Kennedy 5f11390f58 fatal error + inhibit read on TS preset (#1922)
* fatal error + inhibit read on preset

* inhibit more stuff when flag is set

* don't need that message

* extract function, improve msg

* changelog entry
2020-11-03 19:03:46 -05:00
Matthew Kennedy e8bb0cfd00 extract idle hardware to its own file (#1923)
* extract idle hardware

* should fix the build
2020-11-03 18:06:32 -05:00
Matthew Kennedy 789926a61d convert cranking defaults to mg (#1921)
* convert cranking defaults to mg

* fix tests
2020-11-03 14:12:26 -05:00
rusefi a626e4f0c8 GDI Epic #1448 2020-11-03 13:19:56 -05:00
rusefillc 4000c34c93 Output pin init/deinit needs a linked list #1803 2020-11-03 12:28:13 -05:00
GitHub build-firmware Action 582774150c Auto-generated configs and docs 2020-11-03 17:20:50 +00:00
rusefillc efc9efcc58 Output pin init/deinit needs a linked list #1803 2020-11-03 12:18:52 -05:00
GitHub build-firmware Action 175eca2956 Auto-generated configs and docs 2020-11-03 16:39:27 +00:00
rusefillc 2ab5cfdd1b Output pin init/deinit needs a linked list #1803 2020-11-03 11:37:09 -05:00
rusefillc 7f733de3b8 Merge remote-tracking branch 'origin/master' into master 2020-11-03 11:34:54 -05:00
rusefillc 39d21ca08f Output pin init/deinit needs a linked list #1803 2020-11-03 11:31:40 -05:00
rusefillc fa49bbd580 Output pin init/deinit needs a linked list #1803 2020-11-03 11:01:43 -05:00
GitHub build-firmware Action 72b393b645 Auto-generated configs and docs 2020-11-03 15:53:22 +00:00
rusefillc 4397c1f18b Output pin init/deinit needs a linked list #1803 2020-11-03 10:51:54 -05:00
rusefillc e6e211ffcf Merge remote-tracking branch 'origin/master' into master 2020-11-03 07:59:20 -05:00
rusefi 4dc5c61f60 Output pin init/deinit needs a linked list #1803
trying to make things more consistent & smarter
2020-11-03 00:46:03 -05:00
rusefi c464dfdca6 Output pin init/deinit needs a linked list #1803 2020-11-03 00:21:39 -05:00
rusefi 66b61f76a7 Output pin init/deinit needs a linked list #1803 2020-11-03 00:09:42 -05:00
rusefi 9aa8273cbb Merge remote-tracking branch 'origin/master' 2020-11-02 23:53:38 -05:00
rusefi 82768bed1e typo 2020-11-02 23:52:26 -05:00
GitHub build-firmware Action dd2d1c01d5 Auto-generated configs and docs 2020-11-03 04:48:42 +00:00
rusefi 8dcb2fe55f this stuff is just too dead 2020-11-02 23:46:41 -05:00
rusefillc 05c5b82431 Merge remote-tracking branch 'origin/master' into master 2020-11-02 20:09:37 -05:00
GitHub set-date Action 6903b348ec Update date 2020-11-03 00:34:56 +00:00
rusefillc 238cc8d3f9 GDI Epic #1448 2020-11-02 19:28:46 -05:00
GitHub build-firmware Action f230f0abe8 Auto-generated configs and docs 2020-11-02 03:27:26 +00:00
Andrey G e14fa4b189 Tle8888 small update (#1908)
* TLE8888: add support MR switching from SW

Main Relay has limitation - it is always active while KEY=1. When
KEY=0 MR can be switched on from SW.

* TLE8888: support reading of KEY and WAKE inputs

* Rusefi enums: add new TLE8888 pins
2020-11-01 22:19:55 -05:00
GitHub set-date Action 26336f3f5c Update date 2020-11-02 00:34:36 +00:00
rusefi a00229c843 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-11-01 00:33:42 -04:00
rusefi d2d8b78073 B6 GDI 2020-11-01 00:33:18 -04:00
GitHub set-date Action cc9fde8095 Update date 2020-11-01 00:36:45 +00:00
rusefi 1d6c6eb804 wall wetting default 2020-10-31 19:28:27 -04:00
GitHub build-firmware Action 5186c4813c Auto-generated configs and docs 2020-10-31 21:54:50 +00:00
Matthew Kennedy a29f73f467 log afr in addition to lambda (#1920)
* log afr

* log it

* weird double commas
2020-10-31 17:52:07 -04:00
GitHub set-date Action 9b58ac9fd8 Update date 2020-10-31 00:32:15 +00:00
GitHub build-firmware Action 057bdb540a Auto-generated configs and docs 2020-10-30 21:44:34 +00:00
Matthew Kennedy c0ed7cab62 log target lambda (#1919) 2020-10-30 17:42:00 -04:00
GitHub set-date Action c53a9824f6 Update date 2020-10-30 00:34:32 +00:00
GitHub build-firmware Action 36850f76b9 Auto-generated configs and docs 2020-10-29 19:28:08 +00:00
Matthew Kennedy bcabb51222 unused tach field (#1918) 2020-10-29 15:26:01 -04:00
rusefi f16556bdc5 b6 2020-10-29 01:15:55 -04:00
GitHub set-date Action 8a0ea8c8fd Update date 2020-10-29 00:58:40 +00:00
rusefi b76cfa8ef1 b6 2020-10-28 18:53:30 -04:00
Matthew Kennedy 3aed0a083c create changelog (#1917)
* add changelog

* clarify

* add october release

* mention tle

* add how-to
2020-10-28 17:16:06 -04:00
rusefillc 781cc3d326 [EPIC] [Feature Request] Transmission Control #1454 2020-10-28 01:23:05 -04:00
rusefillc 2f8f0bdd3c Merge remote-tracking branch 'origin/master' into master 2020-10-28 01:15:53 -04:00
GitHub build-firmware Action 046f4247df Auto-generated configs and docs 2020-10-28 05:06:20 +00:00
rusefillc 91afd62a53 GDI 2020-10-28 01:01:54 -04:00
rusefillc eb06ce55cd TCU 2020-10-28 01:01:30 -04:00
GitHub build-firmware Action 2d12a998a0 Auto-generated configs and docs 2020-10-28 04:22:27 +00:00
rusefillc 31256f6559 fluid gauges 2020-10-28 00:20:35 -04:00
GitHub build-firmware Action 28ba6a9025 Auto-generated configs and docs 2020-10-28 04:18:04 +00:00
rusefillc 3677f63737 fluid gauges 2020-10-28 00:16:16 -04:00
rusefillc 81f425b3d0 Merge remote-tracking branch 'origin/master' into master 2020-10-28 00:14:34 -04:00
rusefillc cc4ce62113 docs 2020-10-28 00:07:34 -04:00
GitHub set-date Action 94f49adf34 Update date 2020-10-28 00:57:34 +00:00
GitHub build-firmware Action 5019042e10 Auto-generated configs and docs 2020-10-27 12:24:46 +00:00
shadowm60 3e8c184eba Fix COMPOSITE_DATA_LENGTH_HALF (#1913)
hardcoded value was the only way i could generate correct dataLength in ini file
2020-10-27 08:22:47 -04:00
GitHub set-date Action bec70e3cd4 Update date 2020-10-27 00:56:50 +00:00
GitHub build-firmware Action c202e8b15c Auto-generated configs and docs 2020-10-26 22:17:20 +00:00
Matthew Kennedy b8c2041467 Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy 61865292ff probably fix ci (#1912) 2020-10-26 14:04:22 -04:00
GitHub build-firmware Action e862d2c1fe Auto-generated configs and docs 2020-10-26 11:25:24 +00:00
Matthew Kennedy 6abc80e74c convert mass -> duration later in the pipeline (#1906)
* cranking duration to mass

* implement

* units

* patch types

* suppress warning

* fix output channels

* add note about how to set it
2020-10-26 07:23:13 -04:00
GitHub build-firmware Action 959e6e9a62 Auto-generated configs and docs 2020-10-26 02:28:28 +00:00
shadowm60 8b92537e2a Trigger logger (#1902)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* tooth logger update

Updated the way we send the buffer to TS
Updated the way we log cam signals
removed TDC, inj and ign direct log... this causes some flicker in TS, this way we log inj and ign comapred to a cranck or camshaft trigger.

* Update tooth_logger.cpp

Fix unit_tests

* Update tooth_logger.h

clean-up

* Update tooth_logger.cpp

remove dead code, actually i forgot to uncomment these lines.
rename isTDC to trigger, since it is trigger (cam) for TS.

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-10-25 22:26:20 -04:00
GitHub set-date Action b5605c9fba Update date 2020-10-26 00:57:31 +00:00
GitHub build-firmware Action 7ff2189e60 Auto-generated configs and docs 2020-10-25 23:27:30 +00:00
Matthew Kennedy 74f59ff67e fix MRE digital input mapping (#1910) 2020-10-25 19:26:04 -04:00
Matthew Kennedy 4c3046a707 remove spiMtx (#1907) 2020-10-25 17:26:46 -04:00
Matthew Kennedy 5189e0b1d9 fix double deadtime (#1904)
* move global correction factor to fuel mass

* tests

* the fix
2020-10-25 00:12:05 -04:00
GitHub set-date Action 5b627e0e77 Update date 2020-10-25 00:58:09 +00:00
GitHub set-date Action af13c26680 Update date 2020-10-24 00:55:30 +00:00
Matthew Kennedy 5296de1493 use fuel model (#1901)
* use fuel model

* spit'n'polish
2020-10-23 20:25:47 -04:00
GitHub build-firmware Action f504ba90b8 Auto-generated configs and docs 2020-10-23 19:48:01 +00:00
Matthew Kennedy c38eb6d38f add Injector pressure sensor (#1898)
* add sensor type

* add config

* initialize injector pressure

* add UI
2020-10-23 15:46:16 -04:00
Matthew Kennedy 5fc47d0153 oops (#1899) 2020-10-23 15:45:44 -04:00
GitHub build-firmware Action a873f9f72b Auto-generated configs and docs 2020-10-23 16:27:21 +00:00
Andrey G 88e830d635 Tle8888 big update 1 (#1892)
* smart gpio: fix tle8888 direct pin mapping for MRE

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888

* TLE8888: cleanup

* TLE8888: do not reset driver private data on WD/undervoltage reset

* TLE8888: diagnostic updates

* TLE8888 driver: BIG driver rework

* TLE8888: check SPI answers for abnormal states

Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed

Keep tracking last accessed register and check with the next reply.

* TLE8888: debug clean-up

* TLE8888: implement spi array write

This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS

* TLE8888: fix PP outputs in OD mode

* TLE8888: cleanup register definitions

* TLE8888: run separate driver thread for each chip instance

Calculating poll interval for few chips become more complex, avoid
this running thread for each device.

* TLE8888: fix cypress and kinetic compilation

Both platforms define its own MAX and cause redifination error if
common.h is included in driver.

* MRE: update mapping.yaml and fix direct pin mapping for TLE8888

* TLE8888: diagnnostic: disable switch off in case of overcurrent

For all output, use current limiting instead

* TLE8888: check for overvoltage on OUT8..OUT13

* TLE8888: add TODO note about how to recover from failure condition

Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.

* TLE8888: save few bytes of RAM

* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888

Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c

* TLE8888: reorder code, cleanup

* TLE8888: mode all debug/statisctic to per-chip struct

* TLE8888: rework poll interval calculation

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
GitHub build-firmware Action 7342b18291 Auto-generated configs and docs 2020-10-23 16:25:10 +00:00
rusefillc 804cf7f436 gettig ready for Tle8888 big update 1 #1892 2020-10-23 12:23:17 -04:00
GitHub build-firmware Action 36cf2d5e4c Auto-generated configs and docs 2020-10-23 11:33:40 +00:00
Matthew Kennedy dbdeca93b0 implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
rusefi 25189a70a8 B6 2020-10-23 00:39:22 -04:00
GitHub build-firmware Action 451d893a34 Auto-generated configs and docs 2020-10-23 03:26:03 +00:00
rusefillc 9ad38bd6a9 GDI Epic #1448 2020-10-22 23:24:15 -04:00
GitHub build-firmware Action eee55b77ec Auto-generated configs and docs 2020-10-23 03:19:42 +00:00
rusefillc fd30576dca GDI Epic #1448 2020-10-22 23:17:29 -04:00
GitHub set-date Action fd0d145a5b Update date 2020-10-23 00:55:50 +00:00
Matthew Kennedy e4c891f328 no sd enable (#1894)
* no sd enable

* add assert

* Revert "no sd enable"

This reverts commit fd997381ee884c890fe7664e56ed2b0f0caef2ff.
2020-10-22 20:51:28 -04:00
Andrey G 4c074fb9c8 common.h: define MIN and MAX macro only if nod defined yet (#1896)
This fix compilation error for Kinetis and Cypress if common.h
is included after platform includes which also defines MIN MAX.
2020-10-22 08:41:44 -04:00