Commit Graph

9299 Commits

Author SHA1 Message Date
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
Matthew Kennedy 560061e251 Idle refactor open loop (#2146)
* impl

* typo

* tests
2020-12-26 19:34:42 -05:00
rusefi 90a65c6e95 Merge remote-tracking branch 'origin/master' 2020-12-26 19:33:40 -05:00
rusefi ba19fae213 xmas tree 2020-12-26 18:59:30 -05:00
Matthew Kennedy 279f8bad03 use limp mgr for trigger disable (#2145)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 18:12:36 -05:00
Matthew Kennedy b0f7fbf28a create limp manager (#2142)
* move rev limit to limp manager

* call fatal error

* include order

* fix bug

* tests

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:30:46 -05:00
GitHub build-firmware Action d8a4e4ef79 Auto-generated configs and docs 2020-12-26 21:18:18 +00:00
rusefi 3d3b5706d3 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
rusefi 6c3e639518 poke 2020-12-26 15:57:58 -05:00
GitHub build-firmware Action 74bd1feb04 Auto-generated configs and docs 2020-12-26 18:43:55 +00:00
rusefi e0319ea941 proteusBoardTest 2020-12-26 13:41:33 -05:00
rusefi e876f6eaed cmd_test_fsio3 2020-12-26 13:41:25 -05:00
rusefillc 8bcaea7868 https://github.com/rusefi/rusefi/wiki/HOWTO-Miata-NB2-on-Proteus 2020-12-26 11:42:09 -05:00
rusefillc 80854bf5ce proteusBoardTest 2020-12-26 10:50:18 -05:00
rusefillc 027c5a3580 proteusBoardTest 2020-12-26 10:46:45 -05:00
rusefillc f9de491b67 proteusBoardTest 2020-12-26 10:41:33 -05:00
Matthew Kennedy 93cc1e84c3 more testable idle logic (#2140)
* header

* test

* impl
2020-12-26 08:32:01 -05:00
GitHub build-firmware Action 27b46656da Auto-generated configs and docs 2020-12-26 06:20:12 +00:00
rusefi 5f48b3789d FSIO bench 2020-12-26 01:18:22 -05:00
rusefi c67af9632a PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05:00
GitHub set-date Action ccb6a0d64b Update date 2020-12-26 00:56:34 +00:00
Matthew Kennedy c0857d6f02 unused ivalue (#2138)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 09:47:33 -05:00
Matthew Kennedy 90cdd2ee84 rename (#2136)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 08:40:54 -05:00
GitHub set-date Action afbcfa964a Update date 2020-12-25 00:59:18 +00:00
Matthew Kennedy 9e384a08a2 simplify confirmation (#2131) 2020-12-24 16:54:22 -05:00
GitHub build-firmware Action 7f7fa6f8f4 Auto-generated configs and docs 2020-12-24 12:38:28 +00:00
Matthew Kennedy a44f5217ab fix (#2128)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:35:10 -05:00
GitHub build-firmware Action 90243de0da Auto-generated configs and docs 2020-12-24 12:33:20 +00:00
Matthew Kennedy fad3b07b8b Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy 9a1217a128 actually use button name (#2126)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:30:56 -05:00
GitHub set-date Action ac6d4e94b9 Update date 2020-12-24 01:01:04 +00:00
GitHub build-firmware Action a97ae8aee5 Auto-generated configs and docs 2020-12-23 21:53:19 +00:00
rusefillc b2fa433727 up/down shift to all pins 2020-12-23 16:51:15 -05:00
rusefillc 7034de39c5 David says it would be better like this 2020-12-22 22:35:29 -05:00
Matthew Kennedy 7617b115de Partition configs by board type (#2106)
* remove old flag

* flags

* reorder switch

* oops
2020-12-22 21:54:40 -05:00
rusefi 4c347026ff Proteus is compiled without VSS feature #2122 2020-12-22 21:28:51 -05:00
rusefi 06e72d6676 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:20:57 -05:00
rusefi a06c58d916 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:05:49 -05:00
rusefi a65a5330de trigger and start button pins not displayed by "pins" command #2084 2020-12-22 20:54:28 -05:00
rusefi da70fdced4 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 20:53:05 -05:00
rusefi 6ddfff8fd9 Proteus is compiled without VSS feature #2122 2020-12-22 20:50:01 -05:00
rusefi 1e4ae3868c trigger and start button pins not displayed by "pins" command fix #2084 2020-12-22 20:42:30 -05:00
GitHub set-date Action 68f3ad730e Update date 2020-12-23 00:56:50 +00:00
GitHub build-firmware Action 4854f254f0 Auto-generated configs and docs 2020-12-22 22:24:02 +00:00
Matthew Kennedy 4a95652f88 Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
rusefillc 632afe3432 fixing master PROTEUS_DEFAULTS 2020-12-22 17:13:05 -05:00
rusefillc 68d799821a TCU usability #2118 2020-12-22 14:03:54 -05:00
rusefillc 2940703a97 PROTEUS_QC_TEST_BOARD 2020-12-22 10:13:27 -05:00
GitHub build-firmware Action 5326d3d40f Auto-generated configs and docs 2020-12-22 15:07:32 +00:00
Matthew Kennedy 85f0621738 Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
GitHub build-firmware Action 167361fbb9 Auto-generated configs and docs 2020-12-22 12:26:21 +00:00
rusefillc 27e9eadc16 ET_PROTEUS_QC_TEST_BOARD 2020-12-22 07:24:30 -05:00
rusefillc ae06827624 dead code 2020-12-22 07:10:09 -05:00
GitHub build-firmware Action 3a3d5e9bf7 Auto-generated configs and docs 2020-12-22 03:22:57 +00:00
rusefillc b160289d44 ET_PROTEUS_QC_TEST_BOARD 2020-12-21 22:19:50 -05:00
GitHub set-date Action f033200d69 Update date 2020-12-22 00:55:02 +00:00
rusefillc 1d434336f8 VR_HW_CHECK_MODE 2020-12-21 13:33:09 -05:00
rusefi 99a349e4c6 VR_HW_CHECK_MODE 2020-12-21 12:30:15 -05:00
Matthew Kennedy 8c1ce68903 handle negative timer delta (#2110) 2020-12-21 06:16:58 -05:00
GitHub set-date Action 2c2007ae43 Update date 2020-12-21 00:54:32 +00:00
Matthew Kennedy 91a549736f fix (#2109) 2020-12-20 19:31:14 -05:00
rusefillc 4220b9fcbd something ? HIP / SPI pin conflict does not fail gracefully #2108
maybe this is just testing framework bug?
2020-12-20 17:17:03 -05:00
rusefillc 34fc9b1fb6 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-20 12:51:20 -05:00
rusefi 9194323b5d proteus_f4_hardware_QC_special_build 2020-12-20 11:17:38 -05:00
rusefillc 1be84c072e proteus_f4_hardware_QC_special_build 2020-12-20 09:14:14 -05:00
rusefillc bf0dfcf659 proteus_f4_hardware_QC_special_build 2020-12-20 09:11:36 -05:00
GitHub set-date Action e571689f5b Update date 2020-12-20 00:52:43 +00:00
rusefi c6cdcb27de something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 17:06:42 -05:00
rusefillc 009f48b457 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 16:07:21 -05:00
rusefillc 1e5be46b4c something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
GitHub build-firmware Action d3420cb631 Auto-generated configs and docs 2020-12-19 04:07:37 +00:00
rusefi 99b5281454 nicer layout 2020-12-18 23:05:44 -05:00
rusefillc 19f4a4b851 Bake Cookies Day 2020-12-18 21:19:09 -05:00
GitHub set-date Action 0520b9d99d Update date 2020-12-19 00:50:49 +00:00
Matthew Kennedy d3a24c568a gpio unit tests (#2099)
* fix unregister api for gpio

* consumers

* guard with a critical section

* index

* guard less

* unregister under lock

* fix reinit

* dead flag

* fix most tests

* initialize properly

* initialize properly

* assertions in tests

* fix message

* move gpio mocking

* test gpios

* we must lock earlier to be truly safe

* this was using huge memory

* devirtualize

* test deinit
2020-12-18 17:19:02 -05:00
Matthew Kennedy 30fd52d82d Fix gpio reinit race condition (#2098)
* fix unregister api for gpio

* consumers

* guard with a critical section

* index

* guard less

* unregister under lock

* fix reinit

* dead flag

* fix most tests

* initialize properly

* initialize properly

* assertions in tests

* fix message

* we must lock earlier to be truly safe

* this was using huge memory

* devirtualize
2020-12-18 17:18:12 -05:00
rusefi 21ca137b4e Bake Cookies Day 2020-12-18 15:58:16 -05:00
CrazyStriker b905a4aa5b Nb proteus config (#2104)
* Added proteus config and started working on it

* Update engine config

* corrected board config

* Completed pin attribution in proteus hardcoded nb2 miata

* Removed problematic call

* Corrected the blocking value

* Removed blocking equal sign

* Reworked indentation
2020-12-18 15:53:57 -05:00
GitHub build-firmware Action dee6604cce Auto-generated configs and docs 2020-12-18 20:22:51 +00:00
rusefi d66bbab377 ET_PROTEUS_MIATA_NB2 2020-12-18 15:21:11 -05:00
rusefillc d44e5cd667 generate java enum from C enum #2102
one step back
2020-12-18 14:21:08 -05:00
rusefillc 0af3216835 generate java enum from C enum #2102 2020-12-18 13:33:01 -05:00
GitHub build-firmware Action 2f14773979 Auto-generated configs and docs 2020-12-18 17:41:54 +00:00
rusefillc 3c6e4b4a50 https://github.com/rusefi/rusefi/issues/2102 2020-12-18 12:40:08 -05:00
rusefillc f5a5a54683 naming consistency 2020-12-18 09:01:18 -05:00
Matthew Kennedy c29f40bdf4 format in tests (#2100) 2020-12-18 08:48:19 -05:00
Matthew Kennedy 359b0d3fb5 force a pwm cycle start (skip cycles) if late (#2097)
* skip cycles if late

* fail at lower count

* start at -1
2020-12-18 08:21:18 -05:00
Matthew Kennedy 59d725a113 fix (#2094) 2020-12-18 01:30:51 -05:00
Matthew Kennedy 08d77ffd32 init pins (#2095) 2020-12-18 01:30:17 -05:00
GitHub build-firmware Action e65fbd5e62 Auto-generated configs and docs 2020-12-18 03:24:53 +00:00
rusefillc 4e83514e83 More explicit handling of CPU exhaustion #2093 2020-12-17 22:21:12 -05:00
rusefillc 8a2c14c1de More explicit handling of CPU exhaustion #2093 2020-12-17 21:15:28 -05:00
rusefillc 8388bc833d Merge remote-tracking branch 'origin/master' into master 2020-12-17 20:22:15 -05:00
rusefillc 33bc6b7957 HW CI is flaky :( #2063
more detailed error messages
2020-12-17 20:22:04 -05:00
GitHub set-date Action 336f31ecb9 Update date 2020-12-18 00:51:07 +00:00
rusefillc d38195b206 NB2 MRE closer to reality 2020-12-17 19:03:38 -05:00
Matthew Kennedy d3cbed60af move target computation (#2091) 2020-12-17 17:46:51 -05:00
Matthew Kennedy 34edf34bf4 only build in config for the correct board (#2088)
* only build in config for the correct board

* undo

* undo

* undo

* only touch proteus config

* include configs in tests
2020-12-17 17:12:24 -05:00
rusefi 5c88a76036 nicer "pins" names 2020-12-17 17:00:00 -05:00
rusefi 719b405e10 Merge remote-tracking branch 'origin/master' 2020-12-17 16:59:18 -05:00
rusefi e5e931b5bf docs 2020-12-17 16:59:02 -05:00
rusefillc 39a292a46a trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:53:26 -05:00
rusefillc 88bb2f4569 trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:24:19 -05:00
rusefillc f147aabcd7 trigger and start button pins not displayed by "pins" command #2084
progress but not complete fix yet
2020-12-16 22:00:42 -05:00
rusefillc 727a775049 hello new wiki 2020-12-16 19:58:15 -05:00
GitHub set-date Action 3fecc5b7eb Update date 2020-12-17 00:50:59 +00:00
GitHub build-firmware Action bcb0afe444 Auto-generated configs and docs 2020-12-16 23:27:03 +00:00
Matthew Kennedy 1a14746e97 extra data for rusEfi wideband controller (#2082)
* add config

* logic

* remove old

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
rusefillc 41579f2c2b Merge remote-tracking branch 'origin/master' into master 2020-12-16 12:58:42 -05:00
rusefillc 4522f603ff rusEFI is not approved for manned aircraft applications. 2020-12-16 12:58:34 -05:00
GitHub build-firmware Action 8235b98c84 Auto-generated configs and docs 2020-12-16 13:33:34 +00:00
Matthew Kennedy 91d1acb50e prototype wideband firmware update (#2074)
* add submodule for firmware

* ts

* add updater

* add bench_test

* don't collide idx

* feature flag

* send acks

* fix timeout logic

* ui

* do it on the bench thread

* guard

* guard

* only do twice

* guard

* bump version

* update

* file name

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
rusefillc 38dc4e5761 Merge remote-tracking branch 'origin/master' into master 2020-12-16 01:33:25 -05:00
rusefillc be82e238d3 rusEFI is not approved for manned aircraft applications. 2020-12-16 01:33:14 -05:00
GitHub set-date Action 910e57bdb4 Update date 2020-12-16 00:49:39 +00:00
rusefillc 2c3666d194 returning AT validation into QC 2020-12-15 15:43:36 -05:00
rusefillc 5a313f9a9c rusEFI is not approved for manned aircraft applications. 2020-12-15 15:05:49 -05:00
rusefillc fe2e516389 Merge remote-tracking branch 'origin/master' into master 2020-12-15 15:01:18 -05:00
rusefillc c1ca721c0b rusEFI is not approved for manned aircraft applications. 2020-12-15 15:01:10 -05:00
shadowm60 5bd1da17c1 Logic analyzer ts report (#2080)
* Logic analyzer

progress of integration with debug channels

* Update logic_analyzer.cpp

fixed duty report in %

* Update logic_analyzer.cpp

* Update logic_analyzer.cpp

fix for setting one channel to unused, and use the same pin for another channel. this way we clear out hw pointer and we do not have the risk of reporting wrong values.
2020-12-15 14:52:48 -05:00
GitHub build-firmware Action bf3cf71b91 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00
rusefillc 126a219e08 pnp progress 2020-12-15 00:17:09 -05:00
rusefillc 7d104bff8d pnp progress 2020-12-15 00:09:35 -05:00
GitHub build-firmware Action 61baf269f3 Auto-generated configs and docs 2020-12-15 04:18:45 +00:00
rusefillc 4ba369a54d more PnP 2020-12-14 23:16:50 -05:00
Andrey G 119ac4f6f5 TLE8888: temp fix of #2065 (#2079) 2020-12-14 15:33:27 -05:00
GitHub build-firmware Action be92ce3582 Auto-generated configs and docs 2020-12-14 13:31:27 +00:00
shadowm60 480af8b38b Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
GitHub build-firmware Action 98bda34d8e Auto-generated configs and docs 2020-12-14 04:05:25 +00:00
rusefillc 7b3366cd67 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
GitHub build-firmware Action 3aacc3427e Auto-generated configs and docs 2020-12-14 04:02:29 +00:00
rusefillc 8c646e71c5 "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
GitHub build-firmware Action a06fd4c900 Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
rusefillc c3d0fe0511 Merge remote-tracking branch 'origin/master' into master 2020-12-13 20:28:03 -05:00
GitHub set-date Action 34f77770b9 Update date 2020-12-14 00:51:09 +00:00
rusefi 6ec1021511 fail fast! 2020-12-13 19:23:26 -05:00
rusefillc fa06e99908 Merge remote-tracking branch 'origin/master' into master 2020-12-13 17:49:36 -05:00
rusefillc 41f35e99f1 trigger decode should pay to attention to what wheel signal is coming from #2073 2020-12-13 17:49:24 -05:00
GitHub build-firmware Action 3f2c81a475 Auto-generated configs and docs 2020-12-13 22:48:42 +00:00
rusefillc 4c2ea35269 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi dc655a81ed subi ops 2020-12-13 16:41:53 -05:00
rusefi 3684b739d3 subi 2020-12-13 16:38:09 -05:00
rusefi d7567bc871 Merge remote-tracking branch 'origin/master' 2020-12-13 16:33:14 -05:00
rusefi ada45c3962 poke 2020-12-13 16:31:47 -05:00
GitHub build-firmware Action b24ab99274 Auto-generated configs and docs 2020-12-13 21:23:35 +00:00
rusefi 1a205b9973 maybe this would just work? 2020-12-13 16:22:02 -05:00
GitHub build-firmware Action 77c9453ab4 Auto-generated configs and docs 2020-12-13 21:19:32 +00:00
rusefi 678abc1b24 subi 2020-12-13 16:17:31 -05:00
rusefi e906552e03 subi drama 2020-12-13 15:44:14 -05:00
rusefi 233381cb2e this car has high-side main relay WOW 2020-12-13 14:49:14 -05:00
GitHub build-firmware Action 0e64e34c19 Auto-generated configs and docs 2020-12-13 18:19:40 +00:00
rusefi 7f5b70f78c subi 2020-12-13 13:16:39 -05:00
rusefi afe387c7be subi 2020-12-13 11:39:10 -05:00
rusefillc 8e320209f1 MRE issue with tle8888 - GP3 does not work? #2065 2020-12-13 11:29:19 -05:00
Matthew Kennedy abf683e775 test (#2071)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 23:40:05 -05:00
GitHub build-firmware Action 00726d7ab5 Auto-generated configs and docs 2020-12-13 03:24:09 +00:00
rusefi c5ee9aa58a "Subaru" 2020-12-12 22:22:29 -05:00
rusefillc 15be4c0e50 https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
shadowm60 92304460dd Fsio eval check (#2068)
* FSIO error signaling

- wrong keyword in FSIO now shows up as nice TS error message
- added f7 debug option for vsCode as well.

* Keep unit_test happy
2020-12-12 20:03:52 -05:00
GitHub set-date Action 7c565124dd Update date 2020-12-13 00:51:00 +00:00
Matthew Kennedy 27e4d89f5a add support for ext ids (#2060)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 16:34:21 -05:00
GitHub build-firmware Action b20322898d Auto-generated configs and docs 2020-12-12 20:43:22 +00:00
David Holdeman 6ff2a1bd54 Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc e77628d1fc decompile_fsio_line 2020-12-12 10:40:55 -05:00
GitHub build-firmware Action 0a6a460013 Auto-generated configs and docs 2020-12-12 01:28:20 +00:00
rusefillc 9e269a94a8 Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 5475967317 Merge remote-tracking branch 'origin/master' into master 2020-12-11 20:04:24 -05:00
rusefillc 0b2ee4ee4e throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
GitHub set-date Action 3bb9268323 Update date 2020-12-12 00:48:24 +00:00
Matthew Kennedy 26a205f72b clang warnings again (#2055)
* s

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 13:59:28 -05:00
rusefillc 9b7acb9dbf clang warnings again #2055 2020-12-11 12:50:10 -05:00
rusefillc 2a12019d55 more better changelog 2020-12-11 10:34:28 -05:00
rusefillc 47975891f1 Merge remote-tracking branch 'origin/master' into master 2020-12-11 10:33:34 -05:00
rusefillc 47db5d0d99 clang warnings again #2055 2020-12-11 10:33:00 -05:00
GitHub build-firmware Action 737a8faf57 Auto-generated configs and docs 2020-12-11 15:06:15 +00:00
rusefillc 1d2dfddbc2 TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -05:00
rusefillc 2521f7d11f correction #2054 2020-12-11 09:07:36 -05:00
rusefillc 3be2c27485 Passat B6 canned config: GDI injector deadtime to like flat 0.2ms #2049 2020-12-11 09:07:23 -05:00
Matthew Kennedy 6f491cf5c4 switch stm32 scheduling to use PWM driver (#1983)
* move to folder

* extract hardware part of microsecond_timer

* dead ST forum link

* de-volatile

* simulator build

* guard

* switch stm32 to pwm timer

* comments

* f7 mcuconf

* simulator

* guard

* warning

* header, cleanup

* constant

* less magic

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 00:44:40 -05:00
rusefillc 84ae2722c5 dead code 2020-12-10 21:45:25 -05:00
GitHub set-date Action e7dbc17471 Update date 2020-12-11 00:48:18 +00:00
rusefillc 242a50fad6 GM x24 is a well defined trigger needs hard-coded tdcPosition #2054 2020-12-10 19:39:53 -05:00
rusefillc e456413543 Merge remote-tracking branch 'origin/master' into master 2020-12-10 19:38:44 -05:00
rusefillc 3c623d8ed1 GM x24 is a well defined trigger needs hard-coded tdcPosition fix #2054 2020-12-10 19:38:33 -05:00
Matthew Kennedy 6f80da5c9c reduce GPIO complexity (#2051) 2020-12-10 19:18:14 -05:00
Matthew Kennedy e0c7d550f4 sd log afr 2 (#2052) 2020-12-10 14:05:52 -05:00
Matthew Kennedy 719e341eeb start fuel pump as soon as trigger events happen (#2038)
* switch pump fsio logic

* value collision

* fuel pump in tests

* mock time since trigger

* test fp

* init pin in test

* fix gpio outputs in tests

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
Matthew Kennedy ce2e7d3cbe fix mock pins array (#2050)
* fix

* fix probably
2020-12-10 00:10:58 -05:00
Matthew Kennedy ba1ba1452d second lambda (x-series CAN only, for now) (#2048)
* add sensor

* second sensor

* switch sensor name

* gobblin up your memory

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 20:26:23 -05:00
GitHub set-date Action 82e7f3435d Update date 2020-12-10 00:48:05 +00:00
GitHub build-firmware Action c792a415fb Auto-generated configs and docs 2020-12-09 19:33:03 +00:00
Matthew Kennedy cf91351c4a config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc 4072db3052 trigger lifecycle 2020-12-09 12:19:25 -05:00
GitHub build-firmware Action 40a78ce636 Auto-generated configs and docs 2020-12-09 17:15:05 +00:00
rusefillc 703863599e Merge remote-tracking branch 'origin/master' into master 2020-12-09 12:08:57 -05:00
rusefillc 922c092372 trigger lifecycle 2020-12-09 12:08:38 -05:00
Matthew Kennedy e38a160644 start peeling out ts commands (#2045)
* start peeling out commands

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 02:23:02 -05:00
rusefi df4f738401 Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp
2020-12-08 21:37:45 -05:00
rusefillc 81b7b2da59 refactoring 2020-12-08 21:33:59 -05:00
GitHub build-firmware Action 858a3ea9e7 Auto-generated configs and docs 2020-12-09 02:10:55 +00:00
shadowm60 180bba574d Prepare configurations for SW knock detection (#2046)
* Prepare configurations

- Configurations needed for base noise
- TS usability for base noise definition

* Update rusefi_config.txt

wrong data ype used for base noise
2020-12-08 21:08:59 -05:00
GitHub set-date Action 819f342a63 Update date 2020-12-09 00:48:33 +00:00
rusefillc 5ae956ccd8 Merge remote-tracking branch 'origin/master' into master 2020-12-08 13:59:47 -05:00
rusefillc 3f17d84b44 fix warnings found by clang #2014 2020-12-08 13:59:40 -05:00
Matthew Kennedy d7c56f78a9 require redundant TPS for ETB (#2041)
* Require redundant tps for ETB (#2037)

* mod sensor api

* require redundancy

* fix tests

* check that it fails

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>

* add a test that fails but should not

* fix the bug

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 06:24:20 -05:00
rusefillc 166167f805 basic hw in the loop - pwm self validation #2028 2020-12-08 05:30:12 -05:00
GitHub build-firmware Action f1bf3f00b9 Auto-generated configs and docs 2020-12-08 10:16:15 +00:00
rusefillc d4a8e5852c basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc d6ea410424 basic hw in the loop - pwm self validation #2028 2020-12-08 05:07:03 -05:00
rusefillc 2f15c08498 basic hw in the loop - pwm self validation #2028 2020-12-08 04:52:49 -05:00
GitHub build-firmware Action 8f81510c9a Auto-generated configs and docs 2020-12-08 09:43:33 +00:00
rusefillc 0862d76371 basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc 89548ea527 basic hw in the loop - pwm self validation #2028 2020-12-08 04:21:14 -05:00
Matthew Kennedy 2e1dad3650 start making TS protocol testable (#2043)
* start pulling out a class

* pull function out of loop

* there we go

* ok there we go for real

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 03:05:43 -05:00
rusefillc 3a3586f730 basic hw in the loop - pwm self validation #2028 2020-12-07 20:42:47 -05:00
GitHub build-firmware Action 2c9ee5bf15 Auto-generated configs and docs 2020-12-08 01:33:19 +00:00
rusefillc a818e3ff05 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc 89cebd7d72 basic hw in the loop - pwm self validation #2028 2020-12-07 20:26:47 -05:00
rusefillc e2869e94a6 Merge remote-tracking branch 'origin/master' into master 2020-12-07 20:01:23 -05:00
rusefillc ee9aaf4e0d basic hw in the loop - pwm self validation #2028 2020-12-07 20:01:05 -05:00
GitHub set-date Action dc8005ad51 Update date 2020-12-08 00:47:47 +00:00
rusefi 412e2b1d40 Revert "Revert "Split ETB in to interface + implementation headers (#2040)""
This reverts commit dae0b606
2020-12-07 01:27:27 -05:00
rusefi e38c6d3660 Revert "Require redundant tps for ETB (#2037)"
This reverts commit c08d0b5e
2020-12-07 01:11:32 -05:00
rusefi dae0b606cb Revert "Split ETB in to interface + implementation headers (#2040)"
This reverts commit 53cbeedb
2020-12-07 01:11:19 -05:00
Matthew Kennedy 53cbeedb99 Split ETB in to interface + implementation headers (#2040)
* split etb interface

* mocks

* fix master while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
Matthew Kennedy c08d0b5ed8 Require redundant tps for ETB (#2037)
* mod sensor api

* require redundancy

* fix tests

* check that it fails

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:05:06 -05:00
Matthew Kennedy cd2d568b74 maybe fix sensor init checks (#2034)
* enums

* don't collide

* auto_generated_enums

* check based on new enum val

* maybe this will make generate tool happy

* add a test

* fix test

* fix and add another test

* make clang happier

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:19:57 -05:00
Matthew Kennedy 73fc01ceec put back safe part of #2005 (#2036)
* put back some safe bits

* dumb typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
GitHub set-date Action 4997ca8b13 Update date 2020-12-07 00:47:47 +00:00
rusefillc 12db055b7f range check covers 'ERROR_CODE' already 2020-12-06 19:29:37 -05:00
rusefillc b463166297 minor fixes 2020-12-06 19:25:48 -05:00
rusefillc 93e69bea93 refactoring 2020-12-06 19:04:23 -05:00
rusefillc d86c53fecf basic hw in the loop - pwm self validation #2028 2020-12-06 18:39:50 -05:00
rusefillc 12e5dfcbfe Merge remote-tracking branch 'origin/master' into master 2020-12-06 18:13:07 -05:00
rusefillc 08dbbdb21a subi 2020-12-06 18:08:55 -05:00
GitHub build-firmware Action f0dcd4a5d4 Auto-generated configs and docs 2020-12-06 23:08:10 +00:00
rusefillc 8d6255b1e2 Revert "switch rpm calculator to use timer class (#2005)"
This reverts most of 622021e799 commit.
2020-12-06 18:05:53 -05:00
rusefillc 84dae6f5af Merge remote-tracking branch 'origin/master' into master 2020-12-06 17:52:30 -05:00
rusefillc da513b11b9 docs 2020-12-06 17:39:33 -05:00
Matthew Kennedy 622021e799 switch rpm calculator to use timer class (#2005)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
Matthew Kennedy 69f754bfbd don't duplicate sensor error logic (#2032)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 15:00:30 -05:00
Matthew Kennedy 7dad3356e9 add isRedundant (#2031)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05:00
GitHub build-firmware Action 690e1a7b67 Auto-generated configs and docs 2020-12-06 19:19:09 +00:00
rusefillc f868d05dec MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc c0e2ca5e74 MRE_SUBARU_EJ18 2020-12-06 13:08:09 -05:00
rusefillc 940251f25b one step back #2017 2020-12-06 08:34:10 -05:00
rusefillc f6c08c55b6 code formatting & more info into message 2020-12-06 08:30:31 -05:00
Matthew Kennedy 9ef59c1572 fix button shift inheritance (#2027)
* fix button shift inheritance

* extra

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 07:32:38 -05:00
Matthew Kennedy fbcfb4534a require TPS values to be different (#2017)
* require values to be different

* fix not

* oops

* missed another spot

* test negative cases too

* resets

* test no sensor case

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:41:49 -05:00
Matthew Kennedy a806053d52 round rpm instead of truncating (#2023)
* round rpm instead of truncating

* efiround is expensive

* Revert "efiround is expensive"

This reverts commit e5690f89e1b1988aacf5ced1f024d576465a7cd6.

* round is better than rintf

* testing

* it works now?!

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
GitHub build-firmware Action 472ec232b7 Auto-generated configs and docs 2020-12-06 03:05:54 +00:00
rusefillc b62b3331d1 suby 2020-12-05 22:04:07 -05:00
rusefillc 085a5f38b8 making console happier 2020-12-05 21:56:39 -05:00
GitHub set-date Action 4d48abc1b8 Update date 2020-12-06 00:47:59 +00:00
Andrey G 4980fc49d9 Fixes after clenup (#2019)
* We still need consoleEventListener for boards with EFI_CONSOLE_SERIAL_DEVICE

* MC33810: add MC_ prefix for command defines

As CMD_PWM define is now used by console command
2020-12-05 11:54:09 -05:00
Matthew Kennedy b0410167de encapsulate entry logic in to entry (#2018)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 10:16:52 -05:00
Andrey G f31731d380 ADC: correctly calculate cache invalidate range for STM32F7xxx (#2021)
Bug was introduced in 5d421f7ffa when
sample buffer was moved out of class. So sample become adcsample_t*
instead of adcsample_t[] and sizeof returns 4.
2020-12-05 10:14:33 -05:00
Andrey G 040e07ec48 adc: fix CPU temperature read for STM32F76x/77x (#2020) 2020-12-05 09:58:23 -05:00
GitHub build-firmware Action 053e14de4f Auto-generated configs and docs 2020-12-05 05:05:04 +00:00
Matthew Kennedy 9d2471e9ff add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefillc a1fe39b89d unit tests in clang #2012 2020-12-04 23:59:21 -05:00
rusefi b2493e3181 Merge remote-tracking branch 'origin/master' into master 2020-12-04 21:52:22 -05:00
shadowm60 45205e7da7 Dyno view proposal (#1999)
* DynoView creation

module implementation and unit_tests

* update acc algo

we only calcualte new acceleration value if speed has changed, not on every callback.

* added acceleration ts_channel

* fixed broken unit tests

* fixed accel sign

* review updates

* Update test_dynoview.cpp

fix unit_tests

* Update engine_controller.cpp

Fix .ram4 unused size

* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
GitHub set-date Action de2a5879c4 Update date 2020-12-05 00:45:22 +00:00
rusefillc 96a7d528b6 hemi trigger decoder took some RAM 2020-12-04 18:46:35 -05:00
rusefillc 29aa791415 hemi trigger decoder took some RAM 2020-12-04 18:22:59 -05:00
rusefillc 5464498909 6.1 Hemi V8 decoder fix #2010 2020-12-04 16:50:26 -05:00
rusefillc 589558b5f1 6.1 Hemi V8 decoder #2010 2020-12-04 16:33:29 -05:00
rusefillc 9871d5b501 refactoring: magic constants 2020-12-04 16:24:19 -05:00
rusefillc 5ae3347927 6.1 Hemi V8 decoder #2010 2020-12-04 16:03:27 -05:00
rusefillc 2b2ffe9d7d 6.1 Hemi V8 decoder #2010 2020-12-04 15:33:07 -05:00
rusefillc 45e47220ab 6.1 Hemi V8 decoder #2010 2020-12-04 15:22:53 -05:00
rusefillc d191d31272 all triggers should be documented way nicer #2001 2020-12-04 14:00:49 -05:00
rusefillc 24eff376fe all triggers should be documented way nicer #2001 2020-12-04 13:54:16 -05:00
rusefillc 59e4e3187b all triggers should be documented way nicer #2001 2020-12-04 11:58:26 -05:00
rusefillc 0ba4b37a2d all triggers should be documented way nicer #2001 2020-12-04 11:44:27 -05:00
GitHub build-firmware Action 94eed84d9a Auto-generated configs and docs 2020-12-04 16:39:14 +00:00
rusefillc 0d7a3de1c0 all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00
rusefillc d3a21bcb63 6.1 Hemi V8 decoder #2010 2020-12-04 01:02:09 -05:00
rusefillc eb3dd94390 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
GitHub build-firmware Action 41955b4651 Auto-generated configs and docs 2020-12-04 05:21:17 +00:00
rusefillc f1b35b33fa 6.1 Hemi V8 decoder #2010 2020-12-04 00:18:40 -05:00
rusefillc 9a897007c4 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
GitHub build-firmware Action f067225daf Auto-generated configs and docs 2020-12-04 04:26:34 +00:00
rusefillc cb43e82879 FORD ST170 CAM TRIGGER PATTERN #2009 2020-12-03 23:23:32 -05:00
rusefillc c41c020cb3 Merge remote-tracking branch 'origin/master' into master 2020-12-03 23:12:42 -05:00
rusefillc c6d49e9621 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT fix #2008 2020-12-03 23:12:30 -05:00
GitHub build-firmware Action 4669da6ebe Auto-generated configs and docs 2020-12-04 02:59:40 +00:00
rusefillc fec3c3c443 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:58:03 -05:00
GitHub build-firmware Action a0e1faf627 Auto-generated configs and docs 2020-12-04 02:33:46 +00:00
rusefillc c9a5a41a2f DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
GitHub set-date Action d70b65aa86 Update date 2020-12-04 00:44:45 +00:00
rusefillc 5dcf22cf74 MRE pin reuse state validation fails #2006 2020-12-03 15:42:48 -05:00
rusefillc 0d2f8e67e7 avoid float -> int64 conversion #1977
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:32:01 -05:00
rusefillc a57296d641 avoid float -> int64 conversion #1977
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:30:17 -05:00
Matthew Kennedy bb2208fb52 add timer since last trigger tooth (#2004)
* add elapsed time to timer

* store trigger time

* fsio method

* don't do a 64b divide

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
GitHub build-firmware Action 67660a38af Auto-generated configs and docs 2020-12-03 15:51:02 +00:00
rusefillc ba0503177c more dead code 2020-12-03 10:49:20 -05:00
rusefillc 16f4aa0281 Avoid float -> int64 conversion #1993 2020-12-03 10:31:16 -05:00
rusefillc cf77902193 Avoid float -> int64 conversion #1993 2020-12-03 10:26:50 -05:00
GitHub build-firmware Action 9c334ddb2d Auto-generated configs and docs 2020-12-03 14:36:32 +00:00
rusefillc ae3d0e8d25 Merge remote-tracking branch 'origin/master' into master 2020-12-03 09:34:37 -05:00
rusefillc 5919b22366 all triggers should be documented way nicer #2001 2020-12-03 08:42:25 -05:00
Matthew Kennedy b34759f3c9 fix warnings (#2003)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 07:27:27 -05:00
GitHub build-firmware Action accd14f261 Auto-generated configs and docs 2020-12-03 06:38:53 +00:00
rusefillc bcd5e029fa dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
GitHub build-firmware Action c82ff9e7a8 Auto-generated configs and docs 2020-12-03 06:34:34 +00:00
rusefillc 75e6487cfe Merge remote-tracking branch 'origin/master' into master 2020-12-03 01:31:59 -05:00
rusefillc 1ac9bd3c5a all triggers should be documented way nicer #2001 2020-12-03 01:31:52 -05:00
GitHub build-firmware Action e7b115a43e Auto-generated configs and docs 2020-12-03 06:25:01 +00:00
rusefillc 238e639c53 dead trigger, this would now be vvt+60/2 2020-12-03 01:22:57 -05:00
GitHub build-firmware Action 508828171c Auto-generated configs and docs 2020-12-03 06:21:16 +00:00
rusefillc b5e9c26d4e all triggers should be documented way nicer #2001 2020-12-03 01:19:02 -05:00
GitHub build-firmware Action e60f62670b Auto-generated configs and docs 2020-12-03 06:04:08 +00:00
rusefillc f5189cb6aa all triggers should be documented way nicer #2001 2020-12-03 01:02:17 -05:00
GitHub build-firmware Action 4853b32404 Auto-generated configs and docs 2020-12-03 05:21:30 +00:00
rusefillc 0a72735c74 all triggers should be documented way nicer #2001 2020-12-03 00:19:18 -05:00
rusefillc 59655af204 Fuel pump should turn on at the first sign of engine rotation #1961 2020-12-02 23:09:39 -05:00
rusefillc 7327fd6e6c all triggers should be documented way nicer #2001 2020-12-02 22:17:38 -05:00
rusefillc b503fa3366 all triggers should be documented way nicer #2001 2020-12-02 20:51:33 -05:00