Commit Graph

2230 Commits

Author SHA1 Message Date
rusefi e69167c8f0 Revert "reorder ADC channel index #1763"
This reverts commit 67bc72eb
2020-09-20 14:04:24 -04:00
rusefi 67bc72ebd3 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:59:54 -04:00
David Holdeman 8ebdf6fcdc
fix type mismatch (#1808)
* fix type mismatch

* comment

* change field

* switch to efitimesec16_t

* add typedef

* add type to configdefinition

* build
2020-09-19 17:17:44 -04:00
rusefi 5515dc1abe better QC procedure 2020-09-19 16:07:09 -04:00
rusefi b91a656a51 docs 2020-09-19 04:38:59 -04:00
David Holdeman d761f523a0
add shift matrix and pin config (#1798)
* add shift matrix and pin config

* try
2020-09-15 11:34:09 +03:00
David Holdeman 337106cd24
DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
rusefi 9903b0a1c5 Hellen says merge #1772 Kinetis needs more help 2020-09-10 22:02:02 -04:00
rusefi 370c107793 Hellen says merge #1772 progress 2020-09-10 21:26:21 -04:00
rusefi ec366b68ee Hellen says merge #1772 main relay progress 2020-09-10 21:11:02 -04:00
Matthew Kennedy f6cbce48ed
minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
David Holdeman f5d9263ad1
switch start/stop to ButtonDebounce (#1777) 2020-09-09 08:22:15 +01:00
Matthew Kennedy 6d1acb40f8
Selectable AFR axis override (#1771)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments

* impl

* unhide option

* fix

* tests
2020-09-08 17:15:18 -04:00
rusefi 9bea1190a4 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine_configuration.cpp
2020-09-07 15:55:43 -04:00
rusefi be0bbf3dc8 Hellen says merge #1772 misc #2 2020-09-07 15:53:26 -04:00
rusefi 1cb2e69289 Hellen says merge #1772 import idle
(cherry picked from commit a6aa2e9997)
2020-09-07 15:11:50 -04:00
rusefi a6aa2e9997 Hellen says merge #1772 import idle 2020-09-07 15:08:54 -04:00
rusefi f33b3eda8a Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine.h
#	firmware/hw_layer/drivers/drivers.mk
#	firmware/hw_layer/stepper.h
#	firmware/integration/rusefi_config.txt
#	firmware/tunerstudio/rusefi.input
#	simulator/simulator/efifeatures.h
2020-09-07 15:02:11 -04:00
rusefi 6a3d212370 Hellen says merge #1772
Hellen says stepper

(cherry picked from commit a2f26ac99b)
2020-09-07 14:45:41 -04:00
rusefi a2f26ac99b Hellen says merge #1772
Hellen says stepper
2020-09-07 14:41:04 -04:00
GitHub build-firmware Action 903e8d4d69 Auto-generated configs and docs 2020-09-07 14:17:40 +00:00
Matthew Kennedy ef0b2f7be0
Selectable VE axis override (#1769)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments
2020-09-07 10:15:42 -04:00
rusefi c0b0622773 microRusEFI used as Body Control Module BCM BCU 2020-09-06 19:43:54 -04:00
Matthew Kennedy 6e7d72170f
Move ve logic (#1762)
* move ve

* fix build

* fix rendering

* duh

* cleaning

* correct scaling

* put some back

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-06 19:06:32 -04:00
Matthew Kennedy 0e14e51179
reorder ADC channel index (#1763)
* change config

* correct logic

* clearing these no longer needed

* test expected this to be set
2020-09-06 18:25:26 -04:00
Matthew Kennedy 95798a5246
fix broken master, inject engine ptr to rpmcalculator (#1759)
* fix

* oops
2020-09-05 18:49:42 -04:00
rusefi ca21d5b4c2 refactoring 2020-09-03 19:29:15 -04:00
David Holdeman b8838de309
[TCU] Button Shifting (#1750)
* add buttonshift files

* buttonshift includes, targets, and init
2020-09-02 20:17:58 -04:00
David Holdeman 499a430347
[TCU] GearController and TransmissionController base classes (#1749)
* add tcu ts outputs

* accidental change?

* add tcu base classes

* rearrange

* accidental change?

* add files

* missing backslash

* undo accidental change

* buttonshift includes, targets, and init

* Revert "buttonshift includes, targets, and init"

This reverts commit 1b0630511e1948f3d330d74be5bff6c087f118fb.

* use unused bit

* add return documentation

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2020-09-02 15:39:50 -04:00
rusefi faea28e521 OBD-II default rate is 500kbps 2020-09-01 22:24:25 -04:00
Matthew Kennedy 5fec6d0c04
move lambda in to sensor model (#1736)
* lambda sens

* fix init

* fix

* a test for good measure

* he's climbin in your windows, snatchin you ram up

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
Matthew Kennedy 988d9b138c
detect which cylinder knocked (#1732)
* s

* science

* set pin mode

* turn stuff off so it fits

* filtering maybe

* filtering actually works

* generate filter parameters internally

* shorter window

* guard behind enable flag

* use checked in filter

* add biquad reset

* tracing

* const

* exec order

* do it from a thread

* smaller buffer, comment

* configure with header

* only for proteus

* oops

* unused

* not needed

* guards

* pin config

* don't need that include

* precook filter steady state

* define sample rate

* multi cylinder knock

* TS

* only sense when running
2020-08-31 21:05:33 -04:00
Matthew Kennedy 5fc1b6902c
fix #1740 the right way (#1741)
* fix

* put that back
2020-08-31 21:05:04 -04:00
rusefi 5058ffa9cc Default Biquad settings broke MRE QC configuration #1740 2020-08-31 13:07:49 -04:00
rusefi 47b980d4b9 Default Biquad settings broke MRE QC configuration #1740 2020-08-31 12:36:28 -04:00
rusefi 5f125f3db0 this does not go as planned :( 2020-08-31 07:45:52 -04:00
rusefi 86438eab98 HW_CHECK_MODE is not well? 2020-08-31 06:43:47 -04:00
rusefi f3e7a1271b VVT support for VAG trigger #883 2020-08-29 17:46:01 -04:00
rusefi 16d16f9634 TriggerConfiguration getPrintPrefix 2020-08-29 17:25:42 -04:00
rusefi 613faa90cd verboseVVTDecoding 2020-08-29 17:05:54 -04:00
rusefi b66ec2d9a5 presets 2020-08-29 16:49:56 -04:00
rusefi 8d0555e205 reducing autotest mess 2020-08-29 15:41:09 -04:00
rusefi 6f6eb0f561 BCM 2020-08-29 14:29:34 -04:00
rusefi 5e5cb81898 Merge remote-tracking branch 'origin/master' 2020-08-29 12:52:26 -04:00
rusefi 7a3b6387b5 BCM 2020-08-29 10:06:14 -04:00
GitHub build-firmware Action 136fe30c91 Auto-generated configs and docs 2020-08-29 13:42:30 +00:00
rusefi 56a06838e3 BCM 2020-08-29 09:41:02 -04:00
GitHub build-firmware Action 52e3cb225c Auto-generated configs and docs 2020-08-27 04:44:53 +00:00
rusefi 77027ec981 VVT support for VAG trigger #883 2020-08-27 00:43:23 -04:00
rusefi 2b77901e53 VVT support for VAG trigger #883 2020-08-27 00:06:10 -04:00
rusefi 10a6661fa5 VVT support for VAG trigger #883 2020-08-26 23:35:11 -04:00
rusefi 70cdbc51b7 VVT support for VAG trigger #883 2020-08-26 13:30:55 -04:00
GitHub build-firmware Action c9ad86ad06 Auto-generated configs and docs 2020-08-25 22:59:48 +00:00
rusefi 416c9e09f4 Merge remote-tracking branch 'origin/master' 2020-08-25 16:26:22 -04:00
rusefi 2ddf6ad717 VVT support for VAG trigger #883 2020-08-25 16:19:23 -04:00
GitHub build-firmware Action 308f4d31a5 Auto-generated configs and docs 2020-08-25 20:01:04 +00:00
rusefi 639e5be4d9 another attempt at dead code 2020-08-25 15:58:56 -04:00
rusefi f225e63544 Revert "removing a bit of dead code?"
This reverts commit b5ab6930
2020-08-25 15:50:50 -04:00
rusefi b5ab693083 removing a bit of dead code? 2020-08-25 15:19:37 -04:00
rusefi ce01c1bfaa VVT support for VAG trigger #883 2020-08-25 13:14:46 -04:00
rusefi c7b73446e2 VVT support for VAG trigger #883 2020-08-25 12:45:25 -04:00
GitHub build-firmware Action b55fbc2ced Auto-generated configs and docs 2020-08-25 05:40:39 +00:00
rusefi bfd5fb88d5 oh, here it is 2020-08-25 01:38:56 -04:00
GitHub build-firmware Action 7716bfbaf1 Auto-generated configs and docs 2020-08-25 05:26:05 +00:00
rusefi b5098eb331 VVT support for VAG trigger #883 2020-08-25 01:24:15 -04:00
rusefi 540eef5e0d VVT support for VAG trigger #883 2020-08-25 00:59:07 -04:00
rusefi 7867e83e43 VVT support for VAG trigger #883 2020-08-24 02:01:50 -04:00
rusefi 95bd50da94 VVT support for VAG trigger #883 2020-08-24 01:21:42 -04:00
Matthew Kennedy c53979a017
Configurable stoichiometric ratio (#1710)
* configurable stoich ratio

* afr table always in gas afr

* default

* typo

* use defined ratio

* do it in config too

* missed a spot

* oops wrong one

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:43:30 -04:00
Matthew Kennedy 184dee68e8
don't call tach from trigger, call from periodic fast (#1704)
* tacho

* fix tests
2020-08-21 15:36:43 -04:00
rusefi 553820ecc8 gimme my preset! 2020-08-19 20:40:10 -04:00
Matthew Kennedy 33a2354e44
inject fuel & injector models so they can be mocked (#1697)
* stub injector model

* tests

* inject fuel/injector models

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 17:03:59 -04:00
Matthew Kennedy 5929164fb3
Add injector model class (#1687)
* stub injector model

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 05:22:25 -04:00
rusefi 86ad274cee HW CI CRITICAL error: Invalid airmass mode #1690 2020-08-13 22:08:59 -04:00
rusefi 2bd7d094be HW CI CRITICAL error: Invalid airmass mode #1690 2020-08-13 12:49:48 -04:00
Matthew Kennedy adbd41f2bd safety 2020-08-12 22:18:56 -07:00
Matthew Kennedy 405f12758c simplify fuel math 2020-08-11 20:35:10 -07:00
Matthew Kennedy 3c72fa93e4 fix 2020-08-10 21:53:45 -07:00
Matthew Kennedy 1f64754b57 consume 2020-08-10 21:41:03 -07:00
Matthew Kennedy 1d0a244fa4 add fuel computer 2020-08-10 21:40:19 -07:00
rusefi e936c2742c self-stimulation RPM is wrong by 50% if switching from NA6 to NB2 configuration fix #1682 2020-08-08 17:00:14 -04:00
rusefi 33d31d16f7 trigger and VSS hw integrated testing #1668 2020-08-08 12:03:24 -04:00
rusefi 5925ca5125 trigger and VSS hw integrated testing #1668 2020-08-08 11:45:02 -04:00
rusefi 1238dfb837 trigger and VSS hw integrated testing #1668 2020-08-08 11:25:17 -04:00
Matthew Kennedy 80663b25a9 missed a spot 2020-08-03 12:22:41 -07:00
Matthew Kennedy 51804a4eb9 no more setFuelMap 2020-08-03 12:14:11 -07:00
Matthew Kennedy ff34bc878d Merge remote-tracking branch 'upstream/master' into remove-table 2020-08-03 12:02:24 -07:00
rusefi 2c653ad333 @andreika I believe this is no longer needed since all fields have TS metadata? 2020-08-02 15:34:47 -04:00
rusefi 4280e3327f Stack usage is still all over the place #1662 2020-08-02 10:52:52 -04:00
Matthew Kennedy e56fd5fe0d don't use 2020-07-31 23:28:12 -07:00
Matthew Kennedy 978fa20916 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-31 14:56:29 -07:00
Matthew Kennedy 132ee12974 cleanup 2020-07-30 21:20:10 -07:00
rusefi 1703152427 reducing code duplication? 2020-07-29 23:01:55 -04:00
rusefi 196337a8de NA6 progress 2020-07-29 22:48:41 -04:00
rusefi cf4bfa8d91 NA6 progress 2020-07-29 21:38:34 -04:00
rusefi c7590aa8a4 NA6 progress 2020-07-29 15:51:01 -04:00
rusefi a7df277fca NA6 progress 2020-07-29 14:53:36 -04:00
Matthew Kennedy aada527ee9 Merge remote-tracking branch 'upstream/master' into cppcheck 2020-07-29 03:01:14 -07:00
Matthew Kennedy ecbec68a52 explicit 2020-07-29 02:23:03 -07:00
Matthew Kennedy 7a85161a4a initialization 2020-07-29 02:22:54 -07:00