Commit Graph

5205 Commits

Author SHA1 Message Date
GitHub build-firmware Action 39cfc0692a Auto-generated configs and docs 2020-11-22 03:58:53 +00:00
GitHub build-firmware Action 88d3c2b124 Auto-generated configs and docs 2020-11-22 03:01:11 +00: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
GitHub set-date Action fb0180be77 Update date 2020-11-21 00:39:02 +00: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 b6dac8dac2 Starter seems to be engaged forever #1965 2020-11-18 22:42:41 -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
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
Matthew Kennedy 7d6fe4ff8e undo 1946 (#1957) 2020-11-17 17:07:56 -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
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
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
GitHub build-firmware Action 341778e3cc Auto-generated configs and docs 2020-11-15 22:19:44 +00:00
GitHub build-firmware Action f6b2c9743c Auto-generated configs and docs 2020-11-15 21:07:18 +00:00
GitHub set-date Action c1ba274027 Update date 2020-11-15 00:38:12 +00: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 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
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 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 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 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 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
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
GitHub set-date Action 13024163d7 Update date 2020-11-06 00:37:03 +00: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
GitHub build-firmware Action 536230b587 Auto-generated configs and docs 2020-11-05 13:06:37 +00: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
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
GitHub build-firmware Action f2f552434f Auto-generated configs and docs 2020-11-04 05:47:44 +00: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
GitHub build-firmware Action 175eca2956 Auto-generated configs and docs 2020-11-03 16:39:27 +00: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
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
GitHub set-date Action 6903b348ec Update date 2020-11-03 00:34:56 +00: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
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
GitHub set-date Action 8a0ea8c8fd Update date 2020-10-29 00:58:40 +00: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
GitHub build-firmware Action 28ba6a9025 Auto-generated configs and docs 2020-10-28 04:18:04 +00: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
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
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 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
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
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
GitHub build-firmware Action eee55b77ec Auto-generated configs and docs 2020-10-23 03:19:42 +00:00
GitHub set-date Action fd0d145a5b Update date 2020-10-23 00:55:50 +00:00
GitHub build-firmware Action 9ebd97289c Auto-generated configs and docs 2020-10-22 02:51:46 +00:00
Matthew Kennedy 38b6e9ba2b gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
GitHub build-firmware Action a9cad5c3f0 Auto-generated configs and docs 2020-10-22 02:37:10 +00:00
rusefi 73d53db758 code style 2020-10-21 22:13:18 -04:00
GitHub set-date Action ad515b0f14 Update date 2020-10-22 00:55:13 +00:00
GitHub set-date Action c72bfdabe7 Update date 2020-10-21 00:54:27 +00:00
rusefi 4343f96fd4 refactoring 2020-10-19 22:44:44 -04:00
rusefi ca89cf9b95 GDI Epic #1448 2020-10-19 22:04:06 -04:00
GitHub set-date Action c25bf07abf Update date 2020-10-20 00:54:38 +00:00
GitHub build-firmware Action 782ffdaf6e Auto-generated configs and docs 2020-10-19 12:06:22 +00:00
Matthew Kennedy 4d1c331eca 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 5337d9f723 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 e4cab65723 Update date 2020-10-19 00:54:39 +00:00
Matthew Kennedy 8c11a6fb4b remove (#1887) 2020-10-18 20:49:42 -04:00
Matthew Kennedy 2c23085715 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 79f02f09ce Update date 2020-10-18 00:55:31 +00:00
rusefillc c354d1deb2 dead legacy code - current implementation is definitely more correct 2020-10-17 18:46:07 -04:00
rusefillc 3314394dd9 refactoring: better method name 2020-10-17 18:45:08 -04:00
rusefillc aec48c294e GDI Epic #1448 2020-10-17 14:53:56 -04:00
Matthew Kennedy c73978310f 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 32e7391ffb Update date 2020-10-17 00:52:43 +00:00
Matthew Kennedy f6f3e514d2 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 87d34ffcee more safe parts probably (#1883) 2020-10-15 22:04:42 -04:00
GitHub set-date Action e82306deaa Update date 2020-10-16 00:53:08 +00:00
Matthew Kennedy 02c47eeec8 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 2332ab26a0 Auto-generated configs and docs 2020-10-15 12:59:24 +00:00
Matthew Kennedy 94bd5921c5 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 7b4c02eb6c Auto-generated configs and docs 2020-10-15 02:42:20 +00:00
Matthew Kennedy eac2b179c7 fix temp sensor & validate it (#1879)
* fix temp sensor & validate

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

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

* borrow some memory for now
2020-10-14 20:06:05 -04:00