Commit Graph

9018 Commits

Author SHA1 Message Date
Matthew Kennedy d4965d16f3 Enable idle timing/ve tables based on idle phase logic (#2213)
* add helper

* advance

* ve

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 00:54:37 -05:00
rusefillc ce68d9042f cmd_test_main_relay 2021-01-10 23:58:09 -05:00
GitHub build-firmware Action 3c84f07e91 Auto-generated configs and docs 2021-01-11 04:48:37 +00:00
rusefillc 5e1a94ef1e cmd_test_main_relay 2021-01-10 23:46:50 -05:00
GitHub build-firmware Action b64a920658 Auto-generated configs and docs 2021-01-11 01:36:06 +00:00
rusefillc dff1334c28 cmd_test_main_relay 2021-01-10 20:30:08 -05:00
rusefillc 36a143ca90 Merge remote-tracking branch 'origin/master' into master 2021-01-10 20:25:16 -05:00
GitHub set-date Action 2308c9614c Update date 2021-01-11 01:11:57 +00:00
rusefi 6ac9888425 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
rusefi fcc49918f9 vvt knock 2021-01-10 18:57:27 -05:00
rusefillc 2fcf87728f Migrate to newer ChibiOS #710 2021-01-10 12:30:10 -05:00
GitHub build-firmware Action 5ba07c47fd Auto-generated configs and docs 2021-01-10 15:16:52 +00:00
shadowm60 d415c3b790 Vss filter configuration field and param (#2210)
Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
2021-01-10 10:14:50 -05:00
GitHub build-firmware Action 934e29eacc Auto-generated configs and docs 2021-01-10 13:14:51 +00:00
Matthew Kennedy 3daa7d4d9a Start support for multi-bank closed loop fueling (#2184)
* cfg

* cell

* N banks

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -05:00
GitHub set-date Action 30e146ec29 Update date 2021-01-10 01:13:38 +00:00
GitHub build-firmware Action d0eb49cda0 Auto-generated configs and docs 2021-01-10 01:08:07 +00:00
rusefillc 6fef10bd6d Revert "Revert "rpm rate of change (#2159)""
This reverts commit d3c49578
2021-01-09 20:06:19 -05:00
GitHub build-firmware Action 4104f47e20 Auto-generated configs and docs 2021-01-10 00:49:08 +00:00
rusefillc d3c49578b7 Revert "rpm rate of change (#2159)"
This reverts commit eecb7ce9

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
rusefillc 5eeb48be51 cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 19:15:50 -05:00
rusefillc 5b7a59928a cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 18:55:58 -05:00
rusefillc 3747292782 Migrate to newer ChibiOS #710 2021-01-09 18:34:45 -05:00
rusefillc 3ddcb2ec17 Migrate to newer ChibiOS #710 2021-01-09 18:10:56 -05:00
rusefillc 4f0c19f2b0 Migrate to newer ChibiOS #710 2021-01-09 18:05:32 -05:00
rusefillc cecdecbb6c Migrate to newer ChibiOS #710 2021-01-09 18:03:32 -05:00
rusefillc ef44f47d5b Lcd fix (I hope) #2211
there is still an issue :(
2021-01-09 17:30:39 -05:00
Andrey G 75098a0d4b Lcd fix (I hope) (#2211)
* LCD: check if settings are valid on each access

* Lada Kalina: remove duplicate code

All LCD pins are set to GPIO_UNASSIGNED in disableLCD()

* Remove duplicate code

* We still need to know when invalid gpio is used...

This reverts commit 9c12c4dd44.
2021-01-09 17:16:10 -05:00
Matthew Kennedy 9fc02afe4a fix (#2209) 2021-01-09 16:51:24 -05:00
rusefillc 9c12c4dd44 dron0gus please help 2021-01-09 15:31:09 -05:00
Matthew Kennedy aaad4d758c Fix master fatal error (#2206)
* print the fatal that caused test failure

* fix the error
2021-01-09 15:13:43 -05:00
GitHub build-firmware Action 23b1198bb0 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
David Holdeman 7bf5dce671 Add TCU Solenoid debug fields (#2202)
* try adding debug fields

* oops

* include

* add labels

* add enum

* add more solenoid

* whoops

* ifdef
2021-01-09 14:12:45 -05:00
GitHub build-firmware Action 3686f16783 Auto-generated configs and docs 2021-01-09 16:25:47 +00:00
rusefillc 554dec7a05 Hellen 2021-01-09 11:24:13 -05:00
GitHub set-date Action 084de27ebe Update date 2021-01-09 01:09:57 +00:00
Andrey G b61ae75fe2 gpio helper (#2195)
* gpios: isBrainPinValid helper

* LCD HD44780: do not touch pins if DM_NONE or invalid gpio

* Fix isEnabled checks for GPS and Joystick

* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy b4c5c2dfef update biquad (#2201) 2021-01-08 19:48:56 -05:00
GitHub build-firmware Action d8ab72054d Auto-generated configs and docs 2021-01-08 18:43:44 +00:00
rusefillc 129641b66b poke 2021-01-08 13:39:53 -05:00
rusefillc 9bcc50c1d9 hellen72 2021-01-08 13:22:59 -05:00
GitHub build-firmware Action b2f91c0559 Auto-generated configs and docs 2021-01-08 18:11:13 +00:00
GitHub build-firmware Action f8025ea58a Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
andreika-git 3dac7599c4 Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy b8cab765b8 better error checking of thermistor config (#2199)
* add bounds check on result

* validate thermistor config

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 20:37:15 -05:00
GitHub set-date Action 7fe6421669 Update date 2021-01-08 01:09:32 +00:00
rusefillc ab85b9e0a7 Merge remote-tracking branch 'origin/master' into master 2021-01-07 10:17:16 -05:00
rusefillc bcda81feb3 poke 2021-01-07 08:59:33 -05:00
GitHub build-firmware Action 9f16370f52 Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
Matthew Kennedy 54a7d32467 Fix fan bench (#2198)
* fix fan, complain if missing bench mode

* more complaining about unexpected codes

* unused
2021-01-07 08:23:31 -05:00
GitHub build-firmware Action f0b6824021 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Matthew Kennedy 86d3746453 Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc c34bbe9c08 2021 Orthodox Christmas Day 2021-01-07 05:48:22 -05:00
rusefillc a21378e965 2021 Orthodox Christmas Day 2021-01-07 04:06:02 -05:00
GitHub set-date Action 81be487211 Update date 2021-01-07 01:10:03 +00:00
rusefillc 5a75c69b8e knock v12 2021-01-06 19:42:07 -05:00
Andrey G f962a7bd64 Gpio cleanup #2 (#1530)
* pin repository: PIN_USED size in now equal to brain_pin_e enum size

expect special values...

* smart gpios: register gpio chip to given base (no auto-allocation)

* drivers: gpio: core: add gpiochip_unregister()

* drivers: gpio: MC33810 intergation

* smart_gpio.cpp: cleanup ifdef mess, minor cleanups

* gpio: core: additional check for gpio ranges overlaps

* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
GitHub build-firmware Action 58eb4ed22f Auto-generated configs and docs 2021-01-06 19:42:58 +00:00
rusefillc b8f296e60f whitespaces fix? 2021-01-06 14:41:20 -05:00
rusefillc 42573f1ed2 TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:16:45 -05:00
rusefillc a6fe108ee7 TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:04:37 -05:00
GitHub build-firmware Action 48968cae7f Auto-generated configs and docs 2021-01-06 18:57:58 +00:00
rusefillc 7bc13d1860 TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05:00
GitHub build-firmware Action 9e20a3aafe Auto-generated configs and docs 2021-01-06 18:49:08 +00:00
rusefillc e7359dce3f TS bench test trans solenoid buttons #2191
reducing pin conflict
2021-01-06 13:47:01 -05:00
rusefillc 8396f36a14 knock knock v12 2021-01-06 12:48:32 -05:00
Andrey G 12728ccd82 Call startSmartCsPins when applying new settings (#2194)
Only stopSmartCsPins was called from applyNewHardwareSettings.
This cause lost of CS pins for external gpio chips
2021-01-06 08:59:13 -05:00
GitHub build-firmware Action 28920876ad Auto-generated configs and docs 2021-01-06 03:32:28 +00:00
David Holdeman 3aaa461132 TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
GitHub set-date Action a6efd7cd8d Update date 2021-01-06 01:06:01 +00:00
Matthew Kennedy 56b4d87fcd generate triggers.txt from parametric test (#2186)
* add new test

* comment

* remove old

* main cleanup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:58:34 -05:00
Matthew Kennedy d8ebf58f0d Implement flex sensor (#2189)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

* add sensor & init

* clamp

* update comment

* filter the resultant signal

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:13:56 -05:00
GitHub build-firmware Action 56bcf74046 Auto-generated configs and docs 2021-01-05 21:32:00 +00:00
Matthew Kennedy 8608df5450 flex fuel AFR interpolation (#2190)
* config

* implement flex

* secondary fuel default

* test

* test works

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Andrey G 71fe582ce5 Adc isAdcChannelValid helper (#2188)
* Guard define argument

* ADC: isAdcChannelValid

Check for both <= EFI_ADC_NONE and >= EFI_ADC_LAST_CHANNEL
Also check for value out of enum range (corrupted settings)

* Fix unit tests
2021-01-05 16:02:20 -05:00
GitHub build-firmware Action 0cab1f9374 Auto-generated configs and docs 2021-01-05 12:59:14 +00:00
Matthew Kennedy eba6ae2e8f Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
GitHub build-firmware Action 7eae69faaf Auto-generated configs and docs 2021-01-05 04:52:50 +00:00
rusefillc 70c44545f9 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:50:50 -05:00
rusefillc 28e975b096 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:44:31 -05:00
rusefillc 3ed2cdcc72 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:34:19 -05:00
rusefillc fea596e867 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912

fixing build?
2021-01-04 22:13:59 -05:00
rusefillc a51634fd2b RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 22:00:37 -05:00
rusefillc 72759ab4a8 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:30:54 -05:00
rusefillc 8aad769fa5 typo 2021-01-04 21:20:40 -05:00
rusefillc da8c1a3ed4 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:05:16 -05:00
GitHub set-date Action c01b2e9bb5 Update date 2021-01-05 01:05:48 +00:00
Matthew Kennedy 066beeb719 add obd stft bank 2 (#2183)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-04 07:35:21 -05:00
rusefillc 08e8764051 RAM efficiency of VR crank trigger shapes #2182 2021-01-04 00:26:05 -05:00
GitHub build-firmware Action cc6e844ffb Auto-generated configs and docs 2021-01-04 04:54:24 +00:00
rusefillc 3b4811bd29 funny progress 2021-01-03 23:52:31 -05:00
GitHub set-date Action 5b66e65dbc Update date 2021-01-04 01:06:44 +00:00
GitHub build-firmware Action 7884c8f765 Auto-generated configs and docs 2021-01-03 23:29:54 +00:00
rusefi 35482fd21e progress 2021-01-03 17:58:00 -05:00
rusefillc dda6b31d3c Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 14:05:24 -05:00
rusefillc 6eb11dc60a Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:52:53 -05:00
rusefillc 43586d5348 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:34:00 -05:00
GitHub build-firmware Action 0f84ec230c Auto-generated configs and docs 2021-01-03 18:08:09 +00:00
rusefillc fd5810f6e5 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:06:09 -05:00
GitHub build-firmware Action 72a305111e Auto-generated configs and docs 2021-01-03 14:57:29 +00:00
Matthew Kennedy eecb7ce97f rpm rate of change (#2159)
* compute rpm rate of change

* fix units on gauge

* oops

* correct order

* scaling and limits

* correct for engine cycle length

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-03 09:55:44 -05:00
GitHub set-date Action 07f6a0f7fd Update date 2021-01-03 01:06:16 +00:00
Matthew Kennedy add0dcd390 switch more map to read from sensor model (#2162)
* hook up map

* check for init

* switch some consumers

* that's the rest of them

* test

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
GitHub build-firmware Action 4a7db2de51 Auto-generated configs and docs 2021-01-02 22:34:11 +00:00
rusefi 8aa8b98e08 Unknown placement constraint 2021-01-02 17:32:33 -05:00
David Holdeman c01389469b Solenoid test in console (#2178)
* give it a try

* create component

* add command maybe

* try

* try

* add pic

* try TCU_SOLENOID_COUNT

* try

* use injection and ignition count fields
2021-01-02 17:18:44 -05:00
GitHub build-firmware Action 83cf734acb Auto-generated configs and docs 2021-01-02 21:53:01 +00:00
rusefillc 4c47983a4b questionable progress 2021-01-02 16:51:14 -05:00
GitHub build-firmware Action ca6dc22e8d Auto-generated configs and docs 2021-01-02 21:45:28 +00:00
rusefillc 8029175ecb reducing magic constants 2021-01-02 16:43:08 -05:00
GitHub build-firmware Action 995c547428 Auto-generated configs and docs 2021-01-02 14:16:50 +00:00
Matthew Kennedy fbe2f189cd cfg (#2176)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 09:14:55 -05:00
GitHub set-date Action f2662b8c9b Update date 2021-01-02 01:02:30 +00:00
rusefi a8bba64220 GPIOG_1 is not a proteus control pin, assuming a typo 2021-01-01 18:20:49 -05:00
rusefi c29a0d9b06 docs 2021-01-01 18:19:52 -05:00
rusefi 663ff4656f FATAL while bench testing VR #2153 2021-01-01 14:07:52 -05:00
GitHub build-firmware Action a25ccad766 Auto-generated configs and docs 2021-01-01 16:20:39 +00:00
rusefillc 51b51fa8c9 hellen 2021-01-01 11:17:17 -05:00
GitHub build-firmware Action 42f35c0b59 Auto-generated configs and docs 2021-01-01 06:12:01 +00:00
rusefillc 21a925f613 hellen 2021-01-01 01:10:28 -05:00
GitHub build-firmware Action cb44806b0e Auto-generated configs and docs 2021-01-01 05:59:19 +00:00
rusefillc 51b2314b71 hellen 2021-01-01 00:57:19 -05:00
GitHub set-date Action ed4673b859 Update date 2021-01-01 01:05:34 +00:00
GitHub build-firmware Action e9c35ac0de Auto-generated configs and docs 2020-12-31 17:41:53 +00:00
rusefillc 7c38714129 Revert "Idle timing PID uses phase logic (#2156)"
This reverts commit f1ee8b43
2020-12-31 12:22:54 -05:00
shadowm60 e0d1a57bfd Haltech as dash option (#2165)
* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
2020-12-31 12:22:01 -05:00
GitHub set-date Action 5c26527c02 Update date 2020-12-31 01:04:00 +00:00
GitHub build-firmware Action e1d5f5030c Auto-generated configs and docs 2020-12-30 13:45:30 +00:00
Matthew Kennedy 83266c904b Put map in the sensor model (#2161)
* hook up map

* check for init

* switch some consumers

* don't do limp for now

* oops

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy 8492f99b91 show when idle is closed loop (#2160)
* show when idle is closed loop

* semicolon

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:42:40 -05:00
GitHub build-firmware Action cd949622ef Auto-generated configs and docs 2020-12-30 13:37:55 +00:00
Matthew Kennedy c1713414d3 update idle UI (#2157)
* redo idle UI

* tooltip update

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:36:07 -05:00
Matthew Kennedy f1ee8b431e Idle timing PID uses phase logic (#2156)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 23:50:56 -05:00
GitHub set-date Action 7e74d81a1d Update date 2020-12-30 01:01:36 +00:00
Matthew Kennedy 587536ee4a use phase computation (#2152) 2020-12-29 07:49:10 -05:00
Matthew Kennedy a76d399bf6 add idle timing defaults (#2155)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 07:47:18 -05:00
rusefi e530ded915 F7 HW CI 2020-12-28 23:26:51 -05:00
GitHub set-date Action b3cadbc8ce Update date 2020-12-29 01:00:15 +00:00
rusefi 154912509b fixing QC config 2020-12-28 19:19:29 -05:00
rusefi 04e1d4f639 removing warning? 2020-12-28 19:19:11 -05:00
Matthew Kennedy 4a42543a3f don't write settings if cal didn't work (#2154)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-28 08:03:10 -05:00
GitHub set-date Action e9229062e4 Update date 2020-12-28 00:59:46 +00:00
rusefillc b286ec8a34 fine-grained check modes 2020-12-27 17:41:28 -05:00
Matthew Kennedy 924ca4f3a4 progress to fsio type safety (#2137)
* rename

* packed type safe fsio value

* comment

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-27 17:22:11 -05:00
Matthew Kennedy 5f84cf2a07 limp manager can disable etb (#2143)
* move rev limit to limp manager

* call fatal error

* include order

* fix bug

* tests

* limp can disable etb

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 21:47:27 -05:00
Matthew Kennedy 5e7dc71365 move swtiches out of idle (#2148) 2020-12-26 21:31:41 -05:00
rusefi 4ebae44888 Merge remote-tracking branch 'origin/master' 2020-12-26 21:25:30 -05:00
rusefi 96cbe35e6f xmas tree 2020-12-26 21:25:19 -05:00
GitHub set-date Action 456b4b1984 Update date 2020-12-27 01:00:10 +00:00
Matthew Kennedy d20a54b463 start integratig (#2147) 2020-12-26 19:44:40 -05:00