Commit Graph

8723 Commits

Author SHA1 Message Date
rusefi eece5496da ADC: fixes: #1979
more detailed error message
2020-11-22 12:57:04 -05:00
rusefi 4bd14ed974 better hpfpValve bench settings 2020-11-22 12:43:28 -05:00
Andrey G a285ba6743
ADC: fixes: (#1979)
* ADC: fixes:

-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM

* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
Andrey G b60ce1b9f8
Typo fix (#1978) 2020-11-22 08:27:03 -05:00
Matthew Kennedy 747b3d2fa8
fix #1968 (#1976)
* tanf

* name

* comment, add test
2020-11-22 08:26:17 -05:00
rusefi fb98a3dffc GDI Epic #1448 2020-11-22 01:14:34 -05:00
rusefi 1df2dc121d GDI Epic #1448 2020-11-22 00:47:43 -05:00
GitHub build-firmware Action 3211c033ff Auto-generated configs and docs 2020-11-22 05:45:32 +00:00
rusefi 0d3267e3a5 GDI Epic #1448 2020-11-22 00:43:45 -05:00
rusefi f6bff90f86 GDI Epic #1448 2020-11-22 00:40:21 -05:00
rusefi 79188c954a GDI Epic #1448 2020-11-22 00:13:55 -05:00
GitHub build-firmware Action dc0d3242bf Auto-generated configs and docs 2020-11-22 05:11:29 +00:00
rusefi daf1ec83a7 GDI Epic #1448 2020-11-22 00:09:36 -05:00
GitHub build-firmware Action 639901e58d Auto-generated configs and docs 2020-11-22 03:58:53 +00:00
rusefillc 599f7ceb39 GDI Epic #1448 2020-11-21 22:56:47 -05:00
GitHub build-firmware Action 85d2555d70 Auto-generated configs and docs 2020-11-22 03:01:11 +00:00
rusefillc b4e9aba0da GDI Epic #1448 2020-11-21 21:58:56 -05:00
GitHub set-date Action f6ce207c1f Update date 2020-11-22 00:41:19 +00:00
GitHub build-firmware Action 1996aefd10 Auto-generated configs and docs 2020-11-21 01:38:58 +00:00
rusefillc 1eeaca50dd GDI Epic #1448 2020-11-20 20:36:48 -05:00
GitHub set-date Action 059f654da1 Update date 2020-11-21 00:39:02 +00:00
rusefillc e6fa57db87 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-20 00:18:38 -05:00
rusefillc 3878cbb550 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-19 23:57:06 -05:00
shadowm60 7c793834ef
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 66687158c5
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 c3e4fdc57f Update date 2020-11-20 00:39:06 +00:00
rusefillc 68c8d8c6a2 Starter is engaged on start-up in pull-up configuration #1969
usability & test improvement
2020-11-19 17:15:28 -05:00
Matthew Kennedy ee51da64ad
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 f3b7a1d9da
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 47fbb92bff Starter seems to be engaged forever fix #1965 2020-11-18 23:54:30 -05:00
rusefillc a9e0bffbbd Starter seems to be engaged forever #1965 2020-11-18 22:47:40 -05:00
rusefillc 905d740b4b Starter seems to be engaged forever #1965 2020-11-18 22:45:37 -05:00
rusefillc 53f6f1e661 Starter seems to be engaged forever #1965 2020-11-18 22:42:41 -05:00
rusefillc 4e94324e4f Starter seems to be engaged forever #1965 2020-11-18 21:45:17 -05:00
rusefillc ce202c7ed7 Starter seems to be engaged forever #1965 2020-11-18 21:08:01 -05:00
rusefillc 7f688f7616 Starter seems to be engaged forever #1965 2020-11-18 20:53:03 -05:00
rusefillc 88a0b56cba Starter seems to be engaged forever #1965 2020-11-18 20:48:52 -05:00
rusefillc ee7e1880a2 Something something unit test ETB does not work #1966 2020-11-18 20:12:58 -05:00
rusefillc e29911114a Starter seems to be engaged forever #1965 2020-11-18 20:01:02 -05:00
rusefillc f0d93428e4 Merge remote-tracking branch 'origin/master' into master 2020-11-18 19:51:57 -05:00
rusefillc 4c9c8d42bf Starter seems to be engaged forever #1965 2020-11-18 19:51:51 -05:00
GitHub set-date Action ffd2f81061 Update date 2020-11-19 00:38:43 +00:00
Matthew Kennedy 8241b0aef6
consolidate to common (#1962) 2020-11-18 16:22:19 -05:00
Matthew Kennedy 5d3d85d644
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 dc3b14e5fc better MC33816 start-up status 2020-11-18 01:07:09 -05:00
rusefillc 44a0bade05 occasional tunerstudio CRC errors #1943
third time a charm?
2020-11-17 23:47:35 -05:00
rusefillc c70c546d46 better error handling 2020-11-17 22:45:43 -05:00
GitHub set-date Action ed652dfd10 Update date 2020-11-18 00:38:02 +00:00
Andrey G f48621e4c2
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 774de10f40
undo 1946 (#1957) 2020-11-17 17:07:56 -05:00
rusefillc 3917324f21 sporadic crc error #1943
un-removing, one step forward
2020-11-17 15:24:00 -05:00
rusefillc 4d89095890 docs 2020-11-17 08:25:50 -05:00
Matthew Kennedy f9ae075ac6
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 71638c07ae toyota89281_33010_pedal_position_sensor 2020-11-16 23:38:23 -05:00
rusefillc 014cae25db DC not ETB refactoring 2020-11-16 20:07:12 -05:00
rusefillc cd7cefb669 DC not ETB refactoring 2020-11-16 20:05:35 -05:00
GitHub build-firmware Action e39133fef1 Auto-generated configs and docs 2020-11-17 00:54:02 +00:00
rusefillc 5ad36e655f DC not ETB refactoring 2020-11-16 19:51:36 -05:00
GitHub build-firmware Action f128f8b864 Auto-generated configs and docs 2020-11-17 00:45:34 +00:00
rusefillc caf4a84de1 Merge remote-tracking branch 'origin/master' into master 2020-11-16 19:43:12 -05:00
rusefillc 2a3a2d7191 DC not ETB refactoring 2020-11-16 19:43:00 -05:00
GitHub set-date Action a1b39c2bd7 Update date 2020-11-17 00:37:46 +00:00
rusefillc 724abc68f5 DC not ETB refactoring 2020-11-16 19:28:30 -05:00
GitHub build-firmware Action a440fc6cff Auto-generated configs and docs 2020-11-17 00:10:53 +00:00
rusefi ec4232d3fa refactoring: TS to match C 2020-11-16 19:09:05 -05:00
Matthew Kennedy 6e4517be8c
adjust microsecond_timer api (#1952)
* change timer api

* don't need all that
2020-11-16 18:50:13 -05:00
Matthew Kennedy 2f4294ac4d
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 7cba09b3fa occasional tunerstudio CRC errors #1943
second step back
2020-11-15 22:41:04 -05:00
rusefillc c561fae005 occasional tunerstudio CRC errors #1943
one step back
2020-11-15 21:41:38 -05:00
rusefi 081aaec862 B6 2020-11-15 20:56:16 -05:00
Matthew Kennedy 5a443501fb
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 775bba6b09 Update date 2020-11-16 00:38:50 +00:00
GitHub build-firmware Action ebf64223fd Auto-generated configs and docs 2020-11-15 22:33:48 +00:00
rusefi d3bf7c5c30 GDI Epic #1448 2020-11-15 17:31:53 -05:00
GitHub build-firmware Action c2ed3f4a8b Auto-generated configs and docs 2020-11-15 22:19:44 +00:00
rusefi 9abbd17302 Merge remote-tracking branch 'origin/master' 2020-11-15 17:18:03 -05:00
rusefi 1561015ab1 MRE mapping 2020-11-15 17:16:58 -05:00
Matthew Kennedy 5b0a178605
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 26ee7c4ec0 Auto-generated configs and docs 2020-11-15 21:07:18 +00:00
rusefi 509d5a0252 GDI Epic #1448
typo
2020-11-15 16:05:10 -05:00
rusefi 07aae5e10e GDI Epic #1448 2020-11-15 15:37:53 -05:00
rusefillc 43c5c7ff83 occasional tunerstudio CRC errors #1943
unit test progress
2020-11-15 12:36:07 -05:00
rusefillc a42077bef8 occasional tunerstudio CRC errors #1943
now with a bit of a unit test
2020-11-15 12:27:47 -05:00
rusefillc 286fa10b15 occasional tunerstudio CRC errors #1943
getting ready for unit test
2020-11-15 11:55:26 -05:00
rusefillc 30a0082ed2 occasional tunerstudio CRC errors #1943
getting ready for unit test
2020-11-15 11:53:09 -05:00
rusefillc 842372e69a Re-applying part of "fix CRC errors #1944" 2020-11-15 10:28:23 -05:00
rusefillc 0a4b409810 fix CRC errors #1944
partial rollback in order to isolate the defect
2020-11-15 10:02:40 -05:00
Matthew Kennedy 866d645b11
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 956401cb8e Update date 2020-11-15 00:38:12 +00:00
Matthew Kennedy 11e77b7780
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 1a73258778 Auto-generated configs and docs 2020-11-14 23:08:03 +00:00
rusefillc 07e25ccf3c 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 799f98ebd3 Update date 2020-11-14 00:36:52 +00:00
GitHub set-date Action 04d0194fff Update date 2020-11-13 00:35:10 +00:00
GitHub build-firmware Action b299e4406c Auto-generated configs and docs 2020-11-12 02:49:26 +00:00
Matthew Kennedy 0e3673e78c
remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
Matthew Kennedy 07d6b8e1b5
debugging in vscode 🎉 (#1942) 2020-11-11 20:36:15 -05:00
Matthew Kennedy bb8650179c
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 8f40edf539 Update date 2020-11-12 00:35:21 +00:00
Matthew Kennedy d992bab241
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