Commit Graph

1041 Commits

Author SHA1 Message Date
rusefillc 367436454d HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit af59c45a
2020-10-03 22:00:00 -04:00
rusefillc 246e3b6032 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:28:21 -04:00
rusefillc 3083d729e8 new VVT trigger shape? #1847 2020-10-03 10:26:05 -04:00
rusefillc 98139e26ef https://rusefi.com/forum/viewtopic.php?p=38001#p38001 2020-10-03 10:04:04 -04:00
Matthew Kennedy af59c45adb
ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
rusefi 1ed7d0579b making error codes available 2020-10-01 00:03:54 -04:00
Matthew Kennedy 6ac9aad358
display base fuel mass in milligrams (#1838)
* switch to mg

* use the correct thing

* gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman d6bc2a70e7
transmission solenoid control (#1833)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size
2020-09-28 21:39:03 -04:00
rusefi 23e0851101 adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi 1adc9444a8 removing third copy of same values 2020-09-28 20:58:21 -04:00
Matthew Kennedy f1c04efefa
replace ETB index with function enum (#1807)
* 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
2020-09-28 16:33:07 -04:00
Matthew Kennedy 747e78088b
add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
rusefillc d74a5100a7
Update rusefi_config.txt 2020-09-27 11:01:42 -04:00
rusefi 0510e5c36d Hellen gen_config #1823 poke 2020-09-27 10:42:01 -04:00
rusefi b418edc5a8 Hellen gen_config #1823 poke 2020-09-27 09:57:52 -04:00
rusefi 0a15b911e8 Hellen config build - poke 2020-09-27 08:50:12 -04:00
rusefi cf7c946c51 Output pin init/deinit needs a linked list #1803 2020-09-27 07:37:43 -04:00
rusefi 97982cc22f Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
rusefi 905a811b52 https://rusefi.com/forum/viewtopic.php?f=3&t=1523
refactoring
2020-09-22 04:57:43 -04:00
rusefi 5e265dd8ea Merge remote-tracking branch 'origin/master' into master 2020-09-20 13:42:53 -04:00
rusefi c6d0ddec40 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:42:37 -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
Matthew Kennedy 3d6a6398ac
Dedicated sensors for wastegate + idle position (#1805)
* config

* add sensor

* listen to new adc channels

* fix

* add gauges to TS

* add gauge values

* TS UI
2020-09-18 10:04:07 +03:00
rusefi 630274d6bd Hellen says it has more ADC channels 2020-09-17 03:59:50 -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
Matthew Kennedy 6629a2dea4
remove (#1789) 2020-09-12 10:35:49 +03:00
David Holdeman b1a69ff923
some documentation improvements (#1787) 2020-09-11 20:20:37 -04: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
Matthew Kennedy d2d0ffa1ee
remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
Matthew Kennedy f6cbce48ed
minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
rusefi e2701b8258 Bench-testing for ALL assigned output pins #1758 2020-09-09 02:41:11 -04:00
rusefi a0b45b8b08 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:04:54 -04:00
rusefi 5efaf2eb5d Hellen says "drv8860" 2020-09-07 10:47:40 -04: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
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
rusefi ba31cef223 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:27:02 -04:00
rusefi cac05ec6b8 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:07:05 -04:00
rusefi 346808394d Bench-testing for ALL assigned output pins #1758 2020-09-05 23:49:21 -04:00
rusefi ab209cca64 migrate amazing idle from FSIO to less opaque TS #1581 2020-09-05 23:36:03 -04:00
rusefi bc115e70a0 OBD CAN sensors #1733 2020-09-03 23:27:53 -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 b4ae24542b borrowing a few lines from https://github.com/chuckwagoncomputing/rusefi/tree/tcu-base-classes 2020-09-02 15:32:03 -04:00
Matthew Kennedy 484f1ba5a0
Multiple knock sensors (#1745)
* fw

* cfg fields

* fix order

* ui for channel select

* clarify

* comments

* config
2020-09-02 07:19:02 -04:00
rusefi 54dc101a79 [TCU] manual shift buttons #1597 2020-08-30 15:38:40 -04:00
rusefi 88bedcb978 Tokenisation of multipler expressions #1735 2020-08-30 15:31:22 -04:00
rusefi 601fd541f9 Tokenisation of multipler expressions #1735 2020-08-30 15:09:34 -04:00
rusefi 6f69bd1609 OBD CAN sensors #1733 2020-08-30 09:16:37 -04:00
rusefi 4dbc5aee94 VAG 2020-08-29 18:57:17 -04:00
rusefi 1bc34ad976 VVT support for VAG trigger #883 2020-08-29 17:58:43 -04:00
rusefi f3e7a1271b VVT support for VAG trigger #883 2020-08-29 17:46:01 -04:00
rusefi 914eb01242 verboseVVTDecoding 2020-08-29 16:59:55 -04:00
rusefi 1f58e4f502 steps towards presets 2020-08-29 16:44:57 -04:00
rusefi 22ed529cb8 reducing autotest mess 2020-08-29 15:34:42 -04:00
rusefi 628c640f61 reducing autotest mess 2020-08-29 15:05:54 -04:00
rusefi a51f9ad905 DODGE_NEON_2003_CRANK 2020-08-29 15:01:24 -04:00
Matthew Kennedy 1a55085bb6
Software knock detection (#1730)
* 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

* config enable switch
2020-08-28 21:13:50 -04:00
rusefi 77027ec981 VVT support for VAG trigger #883 2020-08-27 00:43:23 -04:00
rusefi 639e5be4d9 another attempt at dead code 2020-08-25 15:58:56 -04:00
Matthew Kennedy d1bdb8a577
remove old alphan option (#1722) 2020-08-23 20:36:22 -04:00
Matthew Kennedy a201d7b566
fix (#1714) 2020-08-21 21:52:19 -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 4e81b67ca3
harmonize blocking factor (#1709)
* harmonize blocking factor

* static assert
2020-08-21 14:12:28 -04:00
rusefi 785b8b97db reducing code duplication 2020-08-19 21:05:08 -04:00
rusefi add49b0a5c bugfix - PPS second channel was not initialized 2020-08-19 00:46:57 -04:00
rusefi 8bcc3aeb64 https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 15:56:59 -04:00
rusefi b5a482764a progress 2020-08-13 12:17:35 -04:00
rusefi a9b2f32eb4 trigger and VSS hw integrated testing #1668 2020-08-08 17:29:12 -04:00
rusefi 5925ca5125 trigger and VSS hw integrated testing #1668 2020-08-08 11:45:02 -04:00
rusefi 47e187d34e trigger and VSS hw integrated testing #1668 2020-08-08 11:29:48 -04:00
rusefi b63bf2aea8 TS SD integration #1653 2020-08-05 20:43:16 -04:00
kon c95cbcbb3e Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-04 21:30:46 -07:00
kon d8efa9ad97 well that was painless 2020-08-04 21:30:04 -07:00
rusefi ce091f2778 progress 2020-08-04 23:18:35 -04:00
rusefi b9e1a55eda TS SD integration #1653 2020-08-04 18:59:33 -04:00
kon ce2362de48 rearranged bits so they consecutively form a byte 2020-08-04 13:26:05 -07:00
kon 2205a4c487 Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-04 13:22:07 -07:00
Matthew Kennedy ff34bc878d Merge remote-tracking branch 'upstream/master' into remove-table 2020-08-03 12:02:24 -07:00
kon 85e7b5b35d Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-02 19:48:36 -07:00
rusefi 42d9fe18fb TS SD integration #1653 2020-08-02 22:04:58 -04:00
rusefi e24063c7d9 Merge remote-tracking branch 'origin/master' 2020-08-02 21:38:46 -04:00
rusefi 73f07d6efc TS SD integration #1653 2020-08-02 21:38:32 -04:00
Matthew Kennedy 19c85f1bc6 hvolt limits 2020-08-02 16:21:45 -07:00
Matthew Kennedy 432a65303d real names & sensible limits 2020-08-02 15:33:08 -07:00
kon 7e9a5a0c55 this might do 2020-08-02 11:30:38 -07:00
rusefi e076f3cf97 poke 2020-08-02 13:38:27 -04:00
rusefi f5dfed8f91 @kon here you are 2020-08-02 13:35:14 -04:00
kon 55fb3f4c2c Merge branch 'master' of https://github.com/rusefi/rusefi into second_can 2020-08-02 10:34:58 -07:00
rusefi 2c3ade3c14 @kon here you are 2020-08-02 13:29:05 -04:00
rusefi 6de49d76e4 HOWTO custom 2020-08-02 13:25:53 -04:00
kon fa01b0d3f5 this should be better... 2020-08-02 10:15:06 -07:00
kon aa09f4015e fixed some config errors 2020-08-02 09:32:26 -07:00
kon 4e3637641b added secondary can config 2020-08-01 20:58:14 -07:00
rusefillc e009d60b29
Merge pull request #1632 from mck1117/remove-plain-maf
goodbye, plain maf
2020-08-01 09:16:38 -04:00
Matthew Kennedy 158c1cd077 reclaim config space 2020-07-31 23:30:28 -07:00
rusefi 2ffc4c636d TS SD integration #1653 2020-07-31 21:17:44 -04:00
rusefi e0e39bc4f1 let's enlarge... outputs area 2020-07-31 20:08:26 -04:00
Matthew Kennedy 978fa20916 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-31 14:56:29 -07:00
Matthew Kennedy b4b8781993 log second tps 2020-07-30 11:31:49 -07:00
rusefi a7df277fca NA6 progress 2020-07-29 14:53:36 -04:00
Matthew Kennedy 08be750098 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-28 20:25:16 -07:00
kon 1f816a1ede tiny typo 2020-07-27 22:10:29 -07:00
kon ca8cf2412e getting config ready for PR 2020-07-27 21:40:50 -07:00
kon 2a1d8c69d6 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-07-27 20:06:27 -07:00
rusefi 4b54274bb1 docs 2020-07-27 09:45:52 -04:00
kon 779b21d1c5 updated TS terminology 2020-07-26 21:58:22 -07:00
rusefi 43b5634b49 Weird VAG: DC motor idle valve not ETB #1637
clarification
2020-07-26 14:57:42 -04:00
rusefi d5739815b4 Weird VAG: DC motor idle valve not ETB #1637 2020-07-26 10:54:51 -04:00
Matthew Kennedy a27d682f14 add cfg field 2020-07-26 02:54:27 -07:00
Matthew Kennedy 8f27fc8b53 alphan 2020-07-25 01:14:35 -07:00
Matthew Kennedy 5e681cac1a add new options 2020-07-23 02:51:08 -07:00
Matthew Kennedy 67e4fcb2a2 goodbye plain maf 2020-07-23 02:46:45 -07:00
Matthew Kennedy dbd2827f41 now unused table 2020-07-21 00:07:49 -07:00
rusefi 1e6cea4423 fixing crankingIACposition digits 2020-07-19 12:18:30 -04:00
rusefi af4dcc10f2 STRING support for java fields 2020-07-18 19:30:49 -04:00
rusefi ec6cfc17e4 STRING support for java fields 2020-07-18 19:19:28 -04:00
rusefi dee2cc0a68 progress 2020-07-14 21:34:59 -04:00
rusefi 9516098303 EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2020-07-12 17:34:19 -04:00
rusefi a8d6e967cc proxy progress 2020-07-10 22:09:51 -04:00
rusefi bffff0f0a3 docs 2020-07-10 16:04:13 -04:00
rusefi 30bd081c9c https://rusefi.com/forum/viewtopic.php?p=37401#p37401 2020-07-10 14:02:50 -04:00
rusefi 430a489703 docs 2020-07-09 15:58:38 -04:00
rusefi 3f5ce4a7b4 migrate amazing idle from FSIO to less opaque TS #1581 2020-07-07 23:01:14 -04:00
rusefi e4d543027a making smart idle more useable 2020-07-07 22:19:22 -04:00
rusefi 4058672c27 test for https://github.com/rusefi/web_backend/issues/54 2020-07-07 21:32:00 -04:00
rusefi 15731e29f9 something was broken? 2020-07-06 02:05:34 -04:00
rusefi f735713acb and now I need to get all this working again 2020-07-06 01:29:00 -04:00
rusefi d78089be81 SHORT_BOARDNAME becomes BUNDLE_NAME 2020-07-06 00:48:43 -04:00
rusefi 56581b1d9e PROTOCOL_SIGNATURE_PREFIX 2020-07-05 20:01:37 -04:00
Matthew Kennedy 2b8b43ca55
plumb new load channels (#1573)
* wire up new channels

* add deprecation comment

* add gauges

* these tables are indeed used in those modes

* simplify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
rusefi 76c3757afc idle_min through FSIO not working as intended #1553 2020-07-04 21:08:14 -04:00
Matthew Kennedy 00e01abc4d
Add ign & fuel load fields (#1568)
* add to code

* output channels size

* rusefi.input

* java offsets

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-04 16:40:31 -04:00
Matthew Kennedy b50a1fccc9
fix maf gauge scaling (#1566)
* div by 10

* define ratio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-03 23:06:00 -04:00
rusefi a84d75e636 JPh is looking to use TLE output for stepper EN 2020-07-03 15:09:15 -04:00
rusefi a7e402f49c FEATURE REQ: aux temperature inputs #332 2020-07-03 14:54:48 -04:00
rusefi debde0c5c9 FEATURE REQ: aux temperature inputs #332 2020-07-03 14:44:22 -04:00
rusefi b58397551f poke 2020-07-02 14:24:42 -04:00
andreika-git 1e8bebd5b3
Gen config refactor 2 (#1560)
* gen_config refactor, part II

* short board defines

* oops

* comment & undef

* define QUOTE

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 12:33:31 -04:00
rusefi e09a3ea1a5 progress 2020-06-30 20:59:44 -04:00
rusefi 3f6ad08b5b progress 2020-06-30 20:55:30 -04:00
rusefi aa0ed995c4 MRE defaults button 2020-06-30 20:20:19 -04:00
rusefi f4148c79bd all fields should have TS info 2020-06-30 15:21:31 -04:00
rusefi 35c750d925 all fields should have TS info 2020-06-30 15:18:30 -04:00
rusefi 4d25ce8568 unified padding naming 2020-06-29 21:43:59 -04:00
andreika-git 44a12604cc
Ini signature generation (#1539)
* ini signature generator

* sh->bash

* decimal fix

* octal fix

* fix shell arrays

* use the new -signature option instead of -prepend

* /bin/sh

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 13:39:09 -04:00
rusefi 016b264b5a poke for progress 2020-06-28 12:15:00 -04:00
rusefi 0f45a06f02 "RPM Upper setting to deactivate IAC PID" not working as expected #1542 2020-06-28 10:09:04 -04:00
rusefi 93d15697ec isDoubleSolenoidIdle 2020-06-27 19:41:35 -04:00
Matthew Kennedy cddb469678
support 1-3-2 firing order (#1537)
* support 1-3-2

* oops

* correct TS

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-26 09:07:43 -04:00
rusefi 9d1bb98573 reducing code duplication 2020-06-21 22:16:49 -04:00