Commit Graph

5472 Commits

Author SHA1 Message Date
Matthew Kennedy 55379463c0
remove (#1985) 2020-11-23 20:10:17 -05:00
GitHub set-date Action 140f892661 Update date 2020-11-24 00:40:20 +00:00
Matthew Kennedy 922f0249d2
squash warnings (#1984)
* warnings

* unused

* a few more

* too much

* uint16_t-ify
2020-11-23 09:43:16 -05:00
rusefi b329cc66ed GDI Epic #1448 2020-11-23 01:10:12 -05:00
GitHub set-date Action 9961b8efeb Update date 2020-11-23 00:40:35 +00:00
GitHub build-firmware Action 9ac0391fb4 Auto-generated configs and docs 2020-11-22 23:32:36 +00:00
Matthew Kennedy 866038900f
adjust boost (#1975) 2020-11-22 18:30:19 -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
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 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
GitHub build-firmware Action 85d2555d70 Auto-generated configs and docs 2020-11-22 03:01:11 +00: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
GitHub set-date Action 059f654da1 Update date 2020-11-21 00:39:02 +00: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 53f6f1e661 Starter seems to be engaged forever #1965 2020-11-18 22:42:41 -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
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
Matthew Kennedy 774de10f40
undo 1946 (#1957) 2020-11-17 17:07:56 -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
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
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
GitHub build-firmware Action c2ed3f4a8b Auto-generated configs and docs 2020-11-15 22:19:44 +00:00
GitHub build-firmware Action 26ee7c4ec0 Auto-generated configs and docs 2020-11-15 21:07:18 +00:00
GitHub set-date Action 956401cb8e Update date 2020-11-15 00:38:12 +00: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 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
rusefillc c15a4a22d2 GDI Epic #1448 2020-11-11 00:43:21 -05:00
GitHub build-firmware Action d6687a68e9 Auto-generated configs and docs 2020-11-11 04:13:06 +00:00
Matthew Kennedy 02c4d630f6
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 cd55e04085 Update date 2020-11-11 00:31:30 +00:00
rusefillc 2ae7ac8ced tle8888 drivers wants RAM as well 2020-11-10 18:26:46 -05:00
rusefillc 06c1f872c2 Merge remote-tracking branch 'origin/master' into master 2020-11-10 18:26:09 -05:00
rusefillc 3625bcb7ae more more more RAM 2020-11-10 13:07:55 -05:00
GitHub build-firmware Action eada3c394c Auto-generated configs and docs 2020-11-10 17:39:01 +00:00
rusefillc df4fa1f424 GDI Epic #1448 2020-11-09 22:53:46 -05:00
rusefillc 896a55d78e GDI Epic #1448 2020-11-09 22:53:23 -05:00
rusefillc 414ebbc46d GDI Epic #1448 2020-11-09 22:49:06 -05:00
rusefillc 2293634ffa GDI Epic #1448 2020-11-09 22:33:48 -05:00
rusefillc 235fe9447b GDI Epic #1448 2020-11-09 22:21:38 -05:00
GitHub build-firmware Action 910a97726d Auto-generated configs and docs 2020-11-10 03:09:32 +00:00
rusefillc 77b70f47f7 GDI Epic #1448 2020-11-09 21:41:13 -05:00
GitHub build-firmware Action e999104651 Auto-generated configs and docs 2020-11-10 02:34:55 +00:00
rusefillc b13bc55e4a RAM, ram, ram... 2020-11-09 21:25:44 -05:00
GitHub build-firmware Action 2f59d771ec Auto-generated configs and docs 2020-11-10 02:20:33 +00:00
rusefillc 9aff6e3103 Output pin init/deinit needs a linked list #1803 2020-11-09 21:10:48 -05:00
rusefillc 5c857571ec Merge remote-tracking branch 'origin/master' into master 2020-11-09 19:48:11 -05:00
rusefillc b2ad14fa63 docs 2020-11-09 19:47:10 -05:00
GitHub set-date Action bb8dae1a82 Update date 2020-11-10 00:39:25 +00:00
GitHub set-date Action a73aa60db3 Update date 2020-11-09 00:39:56 +00:00
GitHub set-date Action 1c723a3c5e Update date 2020-11-08 00:40:00 +00:00
rusefillc 7bfa18295a Proteus TCU gear shift configuration #1927 2020-11-06 23:48:35 -05:00
rusefillc 1eb5d7f927 refactoring: code duplication 2020-11-06 21:24:58 -05:00
GitHub set-date Action bb9aaeb1ca Update date 2020-11-07 00:38:05 +00:00
rusefi 73b18b4a01 Output pin init/deinit needs a linked list #1803 2020-11-06 15:45:15 -05:00
rusefi 8a11920dec v12 & dual-channel PPS 2020-11-06 15:30:11 -05:00
GitHub build-firmware Action af0a777fad Auto-generated configs and docs 2020-11-06 19:37:34 +00:00
GitHub set-date Action 31727a427b Update date 2020-11-06 00:37:03 +00:00
rusefillc cbb00a1a85 Output pin init/deinit needs a linked list #1803 2020-11-05 18:42:45 -05:00
rusefillc 111b017442 refactoring 2020-11-05 18:10:44 -05:00
rusefillc 8e8b5256c8 Output pin init/deinit needs a linked list #1803 2020-11-05 17:52:30 -05:00
rusefillc 01a0a8fff7 Output pin init/deinit needs a linked list #1803
one step back
2020-11-05 17:44:16 -05:00
rusefillc edb016a76e Output pin init/deinit needs a linked list #1803 2020-11-05 17:23:09 -05:00
rusefillc eae48cdda6 GDI Epic #1448 2020-11-05 16:42:56 -05:00
rusefillc fa58d75364 GDI Epic #1448 2020-11-05 16:34:25 -05:00
GitHub build-firmware Action 061ca7f137 Auto-generated configs and docs 2020-11-05 20:37:03 +00:00
GitHub build-firmware Action 9a01d3a4a0 Auto-generated configs and docs 2020-11-05 13:06:37 +00:00
GitHub set-date Action 67957fd6ea Update date 2020-11-05 00:36:36 +00:00
GitHub build-firmware Action 7e2a9b352f Auto-generated configs and docs 2020-11-04 19:51:14 +00:00
GitHub build-firmware Action 3ec3a36e4e Auto-generated configs and docs 2020-11-04 17:50:19 +00:00
rusefi 59a000e7d5 miata TCU 2020-11-04 12:48:07 -05:00
GitHub build-firmware Action afacf7eb1b Auto-generated configs and docs 2020-11-04 17:46:41 +00:00
GitHub build-firmware Action 5b322c05a6 Auto-generated configs and docs 2020-11-04 05:47:44 +00:00
GitHub set-date Action 11755e7631 Update date 2020-11-04 00:35:42 +00:00
GitHub build-firmware Action d0ab0a74e2 Auto-generated configs and docs 2020-11-04 00:05:36 +00:00
Matthew Kennedy f9357d209a
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 3241a43a2d
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 cf3dc9c2c3
convert cranking defaults to mg (#1921)
* convert cranking defaults to mg

* fix tests
2020-11-03 14:12:26 -05:00
rusefi a51b68bbed GDI Epic #1448 2020-11-03 13:19:56 -05:00
rusefillc a7c97b3508 Output pin init/deinit needs a linked list #1803 2020-11-03 12:28:13 -05:00
GitHub build-firmware Action 885d28e0e4 Auto-generated configs and docs 2020-11-03 17:20:50 +00:00
GitHub build-firmware Action b37f9a0e24 Auto-generated configs and docs 2020-11-03 16:39:27 +00:00
rusefillc ddab5744b7 Merge remote-tracking branch 'origin/master' into master 2020-11-03 11:34:54 -05:00
rusefillc 256650aa88 Output pin init/deinit needs a linked list #1803 2020-11-03 11:31:40 -05:00
rusefillc c0ac1649e2 Output pin init/deinit needs a linked list #1803 2020-11-03 11:01:43 -05:00
GitHub build-firmware Action 06d4e727c8 Auto-generated configs and docs 2020-11-03 15:53:22 +00:00
rusefillc 3d7a6c6729 Output pin init/deinit needs a linked list #1803 2020-11-03 10:51:54 -05:00
rusefi 7de1fc8e2a 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 e5ad8eb5c0 Output pin init/deinit needs a linked list #1803 2020-11-03 00:21:39 -05:00
rusefi 2c322006d8 Output pin init/deinit needs a linked list #1803 2020-11-03 00:09:42 -05:00
rusefi 148f9494f2 Merge remote-tracking branch 'origin/master' 2020-11-02 23:53:38 -05:00
rusefi 13b4b02873 typo 2020-11-02 23:52:26 -05:00
GitHub build-firmware Action 949b1a379e Auto-generated configs and docs 2020-11-03 04:48:42 +00:00
rusefi 0f5f0a549b this stuff is just too dead 2020-11-02 23:46:41 -05:00
GitHub set-date Action 4a81da605e Update date 2020-11-03 00:34:56 +00:00
GitHub build-firmware Action a0b7cbe21b Auto-generated configs and docs 2020-11-02 03:27:26 +00:00
Andrey G 63c25ab8a7
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 10977825f4 Update date 2020-11-02 00:34:36 +00:00
rusefi 5f0673e4d4 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-11-01 00:33:42 -04:00
rusefi 93d37634a8 B6 GDI 2020-11-01 00:33:18 -04:00
GitHub set-date Action 1976017785 Update date 2020-11-01 00:36:45 +00:00
rusefi 2b7e33404f wall wetting default 2020-10-31 19:28:27 -04:00
GitHub build-firmware Action 307c3fece1 Auto-generated configs and docs 2020-10-31 21:54:50 +00:00
Matthew Kennedy 15d5c872c2
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 dd8d10366f Update date 2020-10-31 00:32:15 +00:00
GitHub build-firmware Action 1cb2cd6094 Auto-generated configs and docs 2020-10-30 21:44:34 +00:00
GitHub set-date Action c29fb5169b Update date 2020-10-30 00:34:32 +00:00
GitHub build-firmware Action 5d410e94f9 Auto-generated configs and docs 2020-10-29 19:28:08 +00:00
Matthew Kennedy 3e30865e6c
unused tach field (#1918) 2020-10-29 15:26:01 -04:00
GitHub set-date Action e8faed0614 Update date 2020-10-29 00:58:40 +00:00
rusefillc 3635bac90a [EPIC] [Feature Request] Transmission Control #1454 2020-10-28 01:23:05 -04:00
rusefillc 2bd5f135d6 Merge remote-tracking branch 'origin/master' into master 2020-10-28 01:15:53 -04:00
GitHub build-firmware Action 8d0c537533 Auto-generated configs and docs 2020-10-28 05:06:20 +00:00
rusefillc 67789a4b2f GDI 2020-10-28 01:01:54 -04:00
rusefillc b4e3927a92 TCU 2020-10-28 01:01:30 -04:00
GitHub build-firmware Action 7568f7a5d8 Auto-generated configs and docs 2020-10-28 04:22:27 +00:00
GitHub build-firmware Action 60532606c1 Auto-generated configs and docs 2020-10-28 04:18:04 +00:00
GitHub set-date Action cd12d752f0 Update date 2020-10-28 00:57:34 +00:00
GitHub build-firmware Action 6d10f2fb61 Auto-generated configs and docs 2020-10-27 12:24:46 +00:00
GitHub set-date Action 4b1d123f15 Update date 2020-10-27 00:56:50 +00:00
GitHub build-firmware Action 733be969ad Auto-generated configs and docs 2020-10-26 22:17:20 +00:00
Matthew Kennedy 09b41bb1bb
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 5e06db6b75
probably fix ci (#1912) 2020-10-26 14:04:22 -04:00
GitHub build-firmware Action d5c929f5ba Auto-generated configs and docs 2020-10-26 11:25:24 +00:00
Matthew Kennedy a90792fa44
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 ac9b8fee45 Auto-generated configs and docs 2020-10-26 02:28:28 +00:00
GitHub set-date Action 593780e75d Update date 2020-10-26 00:57:31 +00:00
GitHub build-firmware Action 20b5219def Auto-generated configs and docs 2020-10-25 23:27:30 +00:00
Matthew Kennedy f37ed597c5
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 15363e9a41 Update date 2020-10-25 00:58:09 +00:00
GitHub set-date Action 779381a125 Update date 2020-10-24 00:55:30 +00:00
Matthew Kennedy 10c1ad7698
use fuel model (#1901)
* use fuel model

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

* add config

* initialize injector pressure

* add UI
2020-10-23 15:46:16 -04:00
GitHub build-firmware Action 0ae003dcd3 Auto-generated configs and docs 2020-10-23 16:27:21 +00:00
Andrey G 8e11675afd
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 ec17daeee7 Auto-generated configs and docs 2020-10-23 16:25:10 +00:00
GitHub build-firmware Action 82587e97cf Auto-generated configs and docs 2020-10-23 11:33:40 +00:00
Matthew Kennedy 4e249889a6
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 a7a475a1df B6 2020-10-23 00:39:22 -04:00
GitHub build-firmware Action 7a65b7e715 Auto-generated configs and docs 2020-10-23 03:26:03 +00:00
GitHub build-firmware Action d3a7d9e329 Auto-generated configs and docs 2020-10-23 03:19:42 +00:00
GitHub set-date Action 93da2717af Update date 2020-10-23 00:55:50 +00:00
GitHub build-firmware Action 3f9dd26478 Auto-generated configs and docs 2020-10-22 02:51:46 +00:00
Matthew Kennedy 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
GitHub build-firmware Action e9ab6f9b04 Auto-generated configs and docs 2020-10-22 02:37:10 +00:00
rusefi 9060aff46c code style 2020-10-21 22:13:18 -04:00
GitHub set-date Action 2a64162b43 Update date 2020-10-22 00:55:13 +00:00
GitHub set-date Action 24fb167a34 Update date 2020-10-21 00:54:27 +00:00
rusefi 2ce0bef9b9 refactoring 2020-10-19 22:44:44 -04:00
rusefi e0a5c3dc12 GDI Epic #1448 2020-10-19 22:04:06 -04:00
GitHub set-date Action 4b920250c6 Update date 2020-10-20 00:54:38 +00:00
GitHub build-firmware Action dbf3b68e33 Auto-generated configs and docs 2020-10-19 12:06:22 +00:00
Matthew Kennedy 06f92807cc
second PID config for wastegate (#1889)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests

* consume

* add cfg field

* ui maybe

* fix

* fix

* add wastegate config test
2020-10-19 08:04:27 -04:00
Matthew Kennedy 42bfad807b
Etb wastegate hookup (#1888)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests
2020-10-18 21:57:04 -04:00
GitHub set-date Action c0d45d5b82 Update date 2020-10-19 00:54:39 +00:00
Matthew Kennedy ee5d0bf07b
remove (#1887) 2020-10-18 20:49:42 -04:00
Matthew Kennedy 44653da2e5
Etb function cfg: actually read config (#1884)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-18 17:26:38 -04:00
GitHub set-date Action 09f7667bd5 Update date 2020-10-18 00:55:31 +00:00
rusefillc a87c28a8ad dead legacy code - current implementation is definitely more correct 2020-10-17 18:46:07 -04:00
rusefillc b24f173892 refactoring: better method name 2020-10-17 18:45:08 -04:00
rusefillc 665900d76a GDI Epic #1448 2020-10-17 14:53:56 -04:00
Matthew Kennedy a68cbae0dc
Remove trigger listener list (#1886)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out

* remove listener array
2020-10-17 08:00:11 -04:00
GitHub set-date Action 7099ca6cb6 Update date 2020-10-17 00:52:43 +00:00
Matthew Kennedy 7eeb60a8a0
trigger/scheduler perf improvements (#1885)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out
2020-10-16 11:04:27 -04:00
Matthew Kennedy 749282c807
more safe parts probably (#1883) 2020-10-15 22:04:42 -04:00
GitHub set-date Action a2c23d4a6c Update date 2020-10-16 00:53:08 +00:00
Matthew Kennedy a8057cfc16
write SD header using new Writer class (#1882)
* write header

* hooray, free memory!

* fix test

* is there really this much free space...?

* no, there is not
2020-10-15 16:00:13 -04:00
GitHub build-firmware Action 4aac58065e Auto-generated configs and docs 2020-10-15 12:59:24 +00:00
Matthew Kennedy 2083b34cf9
simplify getTimeNowNt() (#1876)
* remove old impl

* add cpp wrapper to os_access

* clean up os_access

* remove touchTimeCounter

* new impl

* put comment about lock free impl

* include cpp wrappers for BL

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-15 08:57:13 -04:00
GitHub build-firmware Action 906675166e Auto-generated configs and docs 2020-10-15 02:42:20 +00:00
Matthew Kennedy 568ec91fc0
fix temp sensor & validate it (#1879)
* fix temp sensor & validate

* smaller here should work
2020-10-14 22:39:16 -04:00
Matthew Kennedy 299a345c1c
etb function config 1 (#1881)
* this should all be safe...

* test fix
2020-10-14 22:02:09 -04:00
GitHub set-date Action 6cafebc6bd Update date 2020-10-15 00:52:07 +00:00
Matthew Kennedy 2855e04234
start using BufferedWriter (#1878)
* do the part up to actual usage

* borrow some memory for now
2020-10-14 20:06:05 -04:00
GitHub set-date Action b39df90612 Update date 2020-10-14 00:51:46 +00:00
GitHub set-date Action 2a597d4786 Update date 2020-10-13 00:51:50 +00:00
Matthew Kennedy 605e2590f1
buffered writer - progress on #1463 (#1875)
* add buffered writer

* rename
2020-10-12 15:10:34 -04:00
rusefi 12a720dde2 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 22:57:31 -04:00
rusefi b77c4ab55a QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase fix #1871 2020-10-11 22:46:08 -04:00
GitHub set-date Action 5bb332138a Update date 2020-10-12 00:51:55 +00:00
Matthew Kennedy 018db0df94
Fix #1873 - compute dynamic PWM iterationLimit (#1874)
* fix

* remove define

* add an assert

* typo

* don't do a 64bit divide

* oh that's a float
2020-10-11 20:25:38 -04:00
GitHub build-firmware Action 99923b17b7 Auto-generated configs and docs 2020-10-11 23:07:39 +00:00
rusefi 94a6399e56 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
GitHub build-firmware Action 2d9a63b8ef Auto-generated configs and docs 2020-10-11 21:49:05 +00:00
GitHub set-date Action 13f96c3504 Update date 2020-10-11 00:52:48 +00:00
GitHub build-firmware Action c15083efac Auto-generated configs and docs 2020-10-10 03:36:50 +00:00
David Holdeman 29c2d692ee
Simple transmission 2 (#1870)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size

* add to makefile

* fixes

* fixes

* wat

* output pin, and ts stuff

* use SimpleTransmissionController

* include

* grrr

* grrr

* move to separate file

* fix includes

* try

* semicolon stupid

* try pointers

* try

* add to makefile

* wat

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* undo

* more idiomatic maybe

* remove logger

* try init func

* try

* try

* try init fn

* try

* switch

* try

* try

* ifndef

* try

* try

* ifndef

* use def dug

* INJECT FIRST

* try

* try

* duh
2020-10-09 23:34:45 -04:00
GitHub set-date Action b76afc46e4 Update date 2020-10-10 00:50:10 +00:00
GitHub build-firmware Action 2638fb63fa Auto-generated configs and docs 2020-10-09 21:19:04 +00:00
Matthew Kennedy 83fe9dae77
ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
GitHub build-firmware Action d1ec5522ac Auto-generated configs and docs 2020-10-09 06:11:02 +00:00
GitHub build-firmware Action 0f52622409 Auto-generated configs and docs 2020-10-09 06:07:46 +00:00
GitHub set-date Action a5d4dedcea Update date 2020-10-09 00:49:56 +00:00
rusefillc a71528a458 SD card logs not valid for REO #1864 2020-10-08 20:35:32 -04:00
rusefillc 07a905b1fe revering functional part of
Etb function cfg, try again #1860
try again from #1831
2020-10-08 17:09:00 -04:00
GitHub build-firmware Action c5d4150377 Auto-generated configs and docs 2020-10-08 18:14:09 +00:00
Matthew Kennedy 1bce3aa4c0
Etb function cfg, try again (#1860)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-08 14:12:03 -04:00
Matthew Kennedy 24503cd31c
fix fuel pump (#1865) 2020-10-07 22:30:24 -04:00
GitHub set-date Action 7098c50592 Update date 2020-10-08 00:41:29 +00:00
Matthew Kennedy a9e2a5cd1e
fix (#1863) 2020-10-07 14:59:24 -04:00
Matthew Kennedy cb47cde068
switch from float to expected<float> (#1862) 2020-10-06 22:33:00 -04:00
Matthew Kennedy 8cff16e797
FSIO refactoring (#1861)
* better fsio tests

* condense operators

* minor parser cleanup too

* comments, too!
2020-10-06 21:54:49 -04:00
GitHub set-date Action 3ded888df3 Update date 2020-10-07 00:49:32 +00:00
rusefillc 5f15b8e48b tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
GitHub set-date Action c49a241993 Update date 2020-10-06 00:48:58 +00:00
Matthew Kennedy c9fdde4472
remove virtual calls from hot path (#1857)
* const ref-ify

* no virtual 

* even more const

* tests

* fix tests
2020-10-05 16:42:50 -04:00
Matthew Kennedy 5925a5f4bd
const ref-ify trigger (#1856)
* const ref-ify

* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy c885db32f0
use expected for event queue next event (#1859)
* use expected for event queue next event

* minor cleanup

* tests
2020-10-05 13:53:34 -04:00
Matthew Kennedy dd6b02d555
we don't need two loops (#1855) 2020-10-05 08:57:00 -04:00
Matthew Kennedy aad5d987a2
pwm perf (#1858)
* pwm perf

* this trace is now redundant
2020-10-05 08:23:30 -04:00
Matthew Kennedy 86b5edecbc
missing iat (#1854) 2020-10-04 21:33:54 -04:00
GitHub set-date Action d9fb908b4f Update date 2020-10-05 00:50:15 +00:00
Matthew Kennedy 3aa4f2bd97
trigger decode cleanup and perf (#1853)
* trigger decode cleanup

* test config ptr patchup

* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefillc 348b387483 Trigger performance: variable gapTrackingLength #1851
cool change but looks to have made zero difference
2020-10-04 13:05:49 -04:00
rusefillc 53ece86a88 fixing Kinetis build 2020-10-04 03:04:01 -04:00
rusefillc 96a126d60f 60/2 perf grab #1850
unused parameter
2020-10-04 02:09:12 -04:00
rusefillc efacf26554 Re-applying #1841
Revert "HW CI has failed 11 times since Oct 2 #1849"

This reverts commit 7f6a8311
2020-10-04 01:54:29 -04:00
rusefillc 030ec42ac7 60/2 perf grab #1850
a) removing more of stack validating - one validation within the deepest method would be enough

b) un-wrapping main callback loop for explicit order of execution
2020-10-04 01:43:02 -04:00
rusefillc 6b95579706 60/2 perf grab #1850 2020-10-04 01:26:29 -04:00
rusefillc c9d3d1f01a 60/2 perf grab #1850 2020-10-04 01:04:15 -04:00
rusefillc e2ca642f97 60/2 perf grab #1850 2020-10-04 00:15:40 -04:00
GitHub build-firmware Action c047397cf7 Auto-generated configs and docs 2020-10-04 02:02:15 +00:00
rusefillc 367436454d HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit af59c45a
2020-10-03 22:00:00 -04:00
rusefillc 7f6a831117 HW CI has failed 11 times since Oct 2 #1849
Revert "configure all sample times - fix MRE knock sampling (#1841)"

This reverts commit b3596f89
2020-10-03 21:36:09 -04:00
rusefillc 9273659d69 Merge remote-tracking branch 'origin/master' into master 2020-10-03 20:53:29 -04:00
rusefillc a9d669ba83 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:53:23 -04:00
GitHub set-date Action ed60cd3bce Update date 2020-10-04 00:51:05 +00:00
rusefillc dd7dd3b8eb HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:25:37 -04:00
rusefillc dce24274a2 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:45:39 -04:00
GitHub build-firmware Action 17c87dbd90 Auto-generated configs and docs 2020-10-03 23:29:56 +00:00
GitHub build-firmware Action 2c0db8e970 Auto-generated configs and docs 2020-10-03 14:42:14 +00:00
rusefillc 5cf8ce1db8 Merge remote-tracking branch 'origin/master' into master 2020-10-03 10:39:54 -04:00
rusefillc e5b8e0e515 new VVT trigger shape? #1847 2020-10-03 10:39:43 -04:00
GitHub build-firmware Action 71d603bcc9 Auto-generated configs and docs 2020-10-03 14:27:55 +00:00
GitHub build-firmware Action 4c403fbb22 Auto-generated configs and docs 2020-10-03 14:06:31 +00:00
GitHub build-firmware Action 1b37b2a0b8 Auto-generated configs and docs 2020-10-03 00:52:49 +00:00
Matthew Kennedy af59c45adb
ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
Matthew Kennedy b3596f8969
configure all sample times - fix MRE knock sampling (#1841)
* configure all sample times

* smpr 1 vs smpr 2

* man I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-02 20:49:56 -04:00
GitHub set-date Action 20312b0009 Update date 2020-10-03 00:47:49 +00:00
GitHub build-firmware Action 4eb2d8b42c Auto-generated configs and docs 2020-10-02 18:35:16 +00:00
GitHub set-date Action c40228d77e Update date 2020-10-02 00:47:06 +00:00
Matthew Kennedy c8b4fac456
move scheduling to its own file (#1842)
* move scheduling to its own file

* header

* protip don't include a cpp file
2020-10-01 17:55:03 -04:00
Matthew Kennedy a05b06f5f0
print red (#1843) 2020-10-01 17:14:25 -04:00
GitHub build-firmware Action 7a9a623b07 Auto-generated configs and docs 2020-10-01 04:06:05 +00:00
GitHub set-date Action d9713c84a4 Update date 2020-10-01 00:49:04 +00:00
GitHub build-firmware Action 90b8c991da Auto-generated configs and docs 2020-10-01 00:21:49 +00:00
Matthew Kennedy 6ac9aad358
display base fuel mass in milligrams (#1838)
* switch to mg

* use the correct thing

* gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
GitHub build-firmware Action 476c55fd4e Auto-generated configs and docs 2020-09-30 23:20:30 +00:00
GitHub set-date Action 33ddf08e1d Update date 2020-09-30 00:47:11 +00:00
GitHub build-firmware Action 5f72947d6f Auto-generated configs and docs 2020-09-29 10:36:50 +00:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
GitHub build-firmware Action 6b7c42b85e Auto-generated configs and docs 2020-09-29 01:41:06 +00:00
David Holdeman d6bc2a70e7
transmission solenoid control (#1833)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size
2020-09-28 21:39:03 -04:00
GitHub build-firmware Action fb2fa9aa62 Auto-generated configs and docs 2020-09-29 01:20:53 +00:00
rusefi 23e0851101 adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi c2efe95ee0 refactoring: magic constants 2020-09-28 21:11:04 -04:00
GitHub build-firmware Action 27570472cc Auto-generated configs and docs 2020-09-29 01:07:43 +00:00
rusefi 53412d1dd9 Merge remote-tracking branch 'origin/master' into master 2020-09-28 20:59:58 -04:00
rusefi 1adc9444a8 removing third copy of same values 2020-09-28 20:58:21 -04:00