Commit Graph

1209 Commits

Author SHA1 Message Date
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 5df9472a0f xml 2020-08-03 12:04:01 -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
andreika-git 76bfbf62d6
gen_config is no more lazy (#1541)
* gen_config: replace lazyFile with timestamp checks

* board_generator: use LazyFile

* fix romraider and TOTAL_CONFIG_SIZE

* merge

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-27 14:23:51 -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
rusefi 3be3a6635e reducing confusion 2020-06-21 22:12:06 -04:00
rusefi 5d15551610 reducing code duplication 2020-06-21 22:06:09 -04:00
rusefi 42d6aa53e8 ROE progress 2020-06-20 22:33:13 -04:00
rusefi 35e68da3b0 REO progress 2020-06-20 18:36:58 -04:00
rusefi ad3367ea1b Only two .ini files got auto-generated #1519 2020-06-19 00:28:50 -04:00
rusefi dec8aafa38 BUG? handleCrc32Check does not use 'offset' parameter #1429 2020-06-19 00:17:05 -04:00
rusefi 7a1d624aa6 docs 2020-06-18 18:34:38 -04:00
rusefi cbc7d4a73e TS project: hide all invalid entries #1505 2020-06-17 20:33:17 -04:00
rusefi 776509ac43 TS project: hide all invalid entries #1505 2020-06-17 16:49:14 -04:00
rusefi cd9481f7bc TS project: hide all invalid entries #1505 2020-06-17 12:53:37 -04:00
rusefi 60939e2260 REO progress 2020-06-14 18:47:58 -04:00
rusefi 8de0d0cb39 REO progress 2020-06-14 18:39:05 -04:00
kon 03f4efa0b2
BMW E90 Kombi (#1494)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
rusefi d0d484ac16 MLQ code duplication & docs 2020-06-14 14:46:24 -04:00
rusefi 17cea36f9a REO progress - binary logs 2020-06-14 14:07:42 -04:00
rusefi 6478c52c26 MLQ code duplication & docs 2020-06-14 13:38:14 -04:00
rusefi ff1312f75e MLQ code duplication & docs 2020-06-14 13:07:06 -04:00
rusefi 4d82103f77 reducing discrepancy 2020-06-13 23:53:53 -04:00
rusefi fc5dd7d0c3 a few unneeded properties 2020-06-13 22:46:10 -04:00
rusefi 1a645bda1a unused parameter 2020-06-13 22:30:43 -04:00
rusefi 98ab973e7c CAN docs 2020-06-09 22:44:43 -04:00
rusefi ae45c6dc13 WOW that's funny 2020-06-01 08:04:55 -04:00
rusefi 6ac884018e useFSIO6ForRevLimiter 2020-06-01 07:55:42 -04:00
Matthew Kennedy 9f539a9dc4
Post-stft cleanup (#1478)
* unused old fuel PID

* fix units

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 07:05:40 -04:00
Matthew Kennedy d24b5d5e93
Integrate stft (#1475)
* code changes

* missed a spot

* update UI

* gauge name

* adjust gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
rusefi 7bf4c362d0 progress 2020-05-31 14:05:03 -04:00
rusefi 8b4f6103de reducing constant dupliation 2020-05-31 13:40:48 -04:00
rusefi bd9a601ce6 extracting protocol constants 2020-05-30 12:23:27 -04:00
rusefi 4747d83e0f [Feature Request] Transmission Control #1454
two bytes of progress
2020-05-29 21:00:19 -04:00
Matthew Kennedy 105460dada
Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
rusefi 389f0e28a4 more of the same 2020-05-27 23:18:33 -04:00
rusefi 50e01b4041 connecting time units 2020-05-26 01:08:21 -04:00
rusefi 5d75c36651 composite log for console 2020-05-26 00:07:18 -04:00
rusefi f738aa0b93 reusing constants 2020-05-25 19:30:02 -04:00
rusefi 30c4682b16 TS commands reuse 2020-05-25 18:49:35 -04:00
rusefi 07475398b2 proteus v12 progress 2020-05-24 13:27:14 -04:00
Matthew Kennedy 12a8d889ab
add second boudns (#1469) 2020-05-23 10:45:15 -04:00
rusefi ff4eb5ba98 progress 2020-05-22 01:16:55 -04:00
rusefi 1bd4b8b1f1 would this help? 2020-05-22 00:25:48 -04:00
rusefi 845a9994a4 MRE pre-sets 2020-05-21 21:00:34 -04:00
rusefi 61d481d40e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp
2020-05-20 21:22:46 -04:00
rusefi 5d6e715b05 GDI fields 2020-05-20 02:18:23 -04:00
rusefi e8ccb90fb6 [Feature Request] Transmission Control #1454 2020-05-20 01:13:56 -04:00
rusefi 30cc399338 fixing master 2020-05-19 11:55:20 -04:00
rusefi 2a55cda78e Merge branch 'master' of https://github.com/rusefi/rusefi 2020-05-19 08:33:18 -04:00
rusefi 6e47b34ce5 mc33 timing 2020-05-19 08:33:01 -04:00
rusefi aa517d96cd hard-coding NB2 OEM sensor 2020-05-18 01:39:41 -04:00
rusefi d9bbace609 reducing magic constant copy/paste & MAP dialog progress 2020-05-18 01:15:13 -04:00
rusefi 194e85b855 VVT progress 2020-05-15 21:10:15 -04:00
rusefi 5491669c2c nicer handling of main relay in MRE.ini file 2020-05-15 12:05:09 -04:00
rusefi d3785b543e VVT_INACTIVE 2020-05-14 23:13:32 -04:00
dron0gus a2565b7849
triggers: add Subaru SVX trigger (3 sensors) (#1433) 2020-05-14 20:40:47 -04:00
rusefi ec38cdac95 mck1117:secondary-tps-config progress 2020-05-10 10:11:51 -04:00
rusefi 919afd35e8 removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi b40d367dad more makes 2020-05-09 23:59:10 -04:00
rusefi 8d91cc65cc 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi b469c5a0f7 LED docs 2020-05-09 17:25:46 -04:00
rusefi 05f1e6e151 docs 2020-05-09 00:56:26 -04:00
rusefi c5bea0e979 placing parts of confusion closer together 2020-05-09 00:16:48 -04:00
rusefi 4364eea7a2 refactoring: extracting magic constant 2020-05-08 22:05:44 -04:00
rusefi 4082a53f56 default engine make/code 2020-05-08 17:31:03 -04:00
rusefi 18bb2475bd getting deeper into the rabbit hole 2020-05-07 13:06:39 -04:00
Matthew Kennedy e2974cfeda
short term fuel trim: part 2 (#1405)
* add tooltip

* add other direction to deadband

* add impl

* test partitioning

* makefile

* wrong comment

* fix include
2020-05-07 08:52:32 -04:00
rusefi e9e95ec5f3 Merge remote-tracking branch 'origin/master' 2020-05-07 00:56:22 -04:00
rusefi 016da58bbd field useful for rusEFI online catalog 2020-05-07 00:55:59 -04:00
Matthew Kennedy aa3bf51723
short term fuel trim: part 1 (#1402)
* add cell

* add stft cell tests

* add bit

* minimally generate

* config defaults
2020-05-06 21:00:40 -04:00
rusefi 6e832002ba magic is around the corner 2020-05-06 14:00:08 -04:00
Matthew Kennedy 74d13c391f
Rewrite boost control in new closed loop framework (#1342)
* rewrite boost

* test

* fix build

* tests

* open loop test

* test closed loop

* fix names

* typo

* tests

* mock boost setOutput

* needs more virtual

* fix boost logic

* switch to TPS based open loop

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:40:42 -04:00
rusefi a9514ec9e4 vehicleName TS field 2020-05-05 15:12:12 -04:00
Matthew Kennedy 2c9cb4e291
remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
rusefi 75d76f850d progress - firing order logic to be re-evaluated every time we generate 2020-05-04 23:54:28 -04:00
rusefi aa04de0000 Nick says we need this MAP sensor 2020-05-04 19:08:36 -04:00
rusefi cee6c22a2b docs 2020-05-03 02:10:27 -04:00
rusefi 2d5e75cbd1 docs 2020-05-03 00:04:22 -04:00
rusefi d2d36a7048 docs 2020-05-02 23:02:54 -04:00
rusefi f456799310 reducing confusion? 2020-05-02 22:06:11 -04:00
Matthew Kennedy 3052f2ab7b
Support 4 h-bridges (#1392)
* update dc motor api

* add more etbio

* get out of two arrays

* hand generate enough

* forgot engine param

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-02 17:54:28 -04:00
rusefi 7b29b1e027 we need aux voltage in addition to aux temp 2020-05-02 15:29:28 -04:00
rusefi 04671403e2 docs 2020-05-01 17:21:26 -04:00
Matthew Kennedy b17198a541
Add raw gauges to sensor config pages (#1390)
* clt

* iat

* minor cranking

* fix

* oilp too

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:44:34 -04:00
Matthew Kennedy 7779d5b7f4
fsio settings -> 2 decimals (#1388)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 16:05:20 -04:00
rusefi 9180154848 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy ba6ec4ac51
TPS Auto Calibration with ETB (#1382)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* guard for ECUs without ETB
2020-04-28 19:31:41 -04:00
Matthew Kennedy d728b1ca48
Minor ETB improvements (#1381)
* fix pid reset and pedal failure

* pause control later

* test pauseEtbControl

* update tooltip + field name

* update test
2020-04-28 16:52:40 -04:00
rusefi 4a68130cd1 amazing flex fuel progress 2020-04-27 16:07:40 -04:00
rusefi 978bb8917d docs 2020-04-26 21:41:03 -04:00
Matthew Kennedy f128b33694
General purpose PWM: implementation & tests (#1366)
* config

* significant digits

* renumber enum, no need for a "none"

* ui

* impl base

* error handle MAP

* init & update

* don't need arg

* don't lie about sensor

* fix test build

* test stub

* initialize

* null check

* fix clamping

* test output

* types & enums

* don't need param

* test getOutput

* fix

* output pin instead of brain pin

* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy 7aa697c256
TS protocol framing for auto tune/calibration features (#1370)
* rearrange

* fix enum

* too much

* format

* enough generate for CI

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-26 14:06:09 -04:00
Matthew Kennedy a16e8bba8d
General purpose PWM: configuration fields (#1365)
* config

* significant digits

* renumber enum, no need for a "none"

* ui
2020-04-25 17:17:58 -04:00
Matthew Kennedy a8db44d48a
Remove scheduler debug pins (#1359)
* trigger gen refactoring

* missed one

* remove microsecond timer debug pins

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 23:13:05 -04:00
Matthew Kennedy 1bad5f3047
don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 0ffb72e48c tle8888 modes corrected 2020-04-23 19:39:59 -04:00
rusefi c52c7e2f1f TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi 37de9d595a different take on remove warning message in tune #1347 2020-04-22 19:07:42 -04:00
shadowm60 bb6aa1d82e
can_dash fix for w202 + TS enum (#1346) 2020-04-22 14:24:38 -04:00
rusEfi 2203b2867a TS to show warning text 2020-04-19 21:42:00 -04:00
shadowm60 4c6ba7f681
Prep TS for VSS over CAN (#1329)
TS update

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-19 18:23:06 -04:00
kon a243b36504
aux serial config files (#1326) 2020-04-19 15:04:59 -04:00
rusefi b287b2f339 TT_HONDA_K_12_1 2020-04-19 14:23:01 -04:00
rusefi c665e6b65d progress towards renix 66-2-2-2 2020-04-19 09:59:55 -04:00
rusefi 5af28a08d6 FSIO RPN progress 2020-04-18 21:01:23 -04:00
rusefi c166ee9d58 Fresh generated - auto 2020-04-18 16:40:59 -04:00
Matthew Kennedy d65a244fc7
unused config field (#1314) 2020-04-18 07:57:28 -04:00
Matthew Kennedy 08da3ba0b6
ETB pedal map scale (#1316) 2020-04-18 07:55:33 -04:00
rusefi a11166d992 dreaming about 63 volts 2020-04-15 21:28:44 -04:00
rusefi a1788c1545 fresh for ETB and engine sniffer usability idea 2020-04-15 18:24:26 -04:00
rusefi 5f1e4666e2 multi-channel Tuner Studio tooth logger #1284 2020-04-13 20:47:54 -04:00
rusefi 4cde884f1d MC flag0 2020-04-13 19:01:22 -04:00
Matthew Kennedy 7181cb96e1
add new config (#1290) 2020-04-13 09:21:51 -04:00
rusefi 1c4488d930 i think we better be explicit about buffer size? 2020-04-12 23:59:24 -04:00
rusefi 041919d940 multi-channel Tuner Studio tooth logger #1284
reducing magic constants
2020-04-12 19:10:36 -04:00
Matthew Kennedy b526b43864
etb autotune (#1274)
* Astrom-Hagglund

* enums

* comments

* dead

* fix

* changed enum

* ts guard

* safety

* etb autotune debug channels

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:15:49 -04:00
rusefi b51da343d1 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
Matthew Kennedy 001ef27eb8
support ETB disable pin (#1273)
* config & hand gen

* board configs

* add dc motor support

* initialization

* also set duty to zero

* use disable in etb

* fix proteus default

* add TS fields

* I guess we needed 8 bytes

* :D

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusefi fb06813e12 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusefi 742bf3f8ab set_cj125_cs_pin & set_cj125_heater_pin 2020-04-08 22:37:00 -04:00
rusefi d2bbc30133 isCJ125Verbose 2020-04-08 22:12:33 -04:00
rusefi 64047911c9 fresh 2020-04-08 21:43:05 -04:00
Matthew Kennedy 8006c0a548
CLT/IAT/Aux in the new sensor world (#1269)
* hook up clt

* init test

* probably fix test

* aux temp

* relax checking

* more significant figures

* remove old aux temp

* hand generate

* claim RAM

* move to ccm

* subscribe

* info printing

* warnings

* raise high voltage failure threshold

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
Matthew Kennedy 345bf61bd5
Goodbye, old TPS (#1266)
* clear out tps

* boost control

* aux valves

* launch, aux valves

* unused field
2020-04-05 19:33:33 -04:00
rusefi b43da0d0f8 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 36477d348d
remove ETB controlPinMode (#1260) 2020-04-04 08:41:45 -04:00
rusefi 16ada2d85d extracting magic constant 2020-04-03 16:06:21 -04:00
Matthew Kennedy 22267e5479
Replace hasPedalPositionSensor (#1245)
* remove

* add Sensor::hasSensor

* consume in etb

* remove unused state

* don't use it there either

* format

* fix up tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
rusefi 4c8ebc4edb CAN progress 2020-03-31 20:08:30 -04:00
rusefi 90e4fc3922 CAN progress 2020-03-31 16:52:52 -04:00
rusefi 81211219f2 CAN progress 2020-03-31 16:49:19 -04:00
rusEfi 2a2b00f2d9 v12 & dual-TPS 2020-03-30 01:13:02 -04:00
rusefi d52ec6a58f refactoring + MAP broadcast consumption 2020-03-29 21:15:06 -04:00
rusefi 0bb1f1f55f ETB progress 2020-03-29 10:29:33 -04:00
rusefi 5c2794c2e0 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi 6f5468d3ea critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi 593565b56d no longer relevant 2020-03-28 19:02:46 -04:00
rusefi 8fc39cbc94 AfterStart Enrichment #1230 2020-03-27 12:13:12 -04:00
Matthew Kennedy 9385e9fc8f
un-generate (#1228) 2020-03-26 11:52:19 -04:00
Matthew Kennedy e227018c85
Ts cleanup 2 (#1226)
* remove biquad config

* fuel pump clarity

* hide stuff

* hide more stuff correctly

* more hides

* hide comparator except for kinetis

* didn't mean to change all those

* fix kinetis
2020-03-26 11:41:58 -04:00
Matthew Kennedy a5d4d06868
Multispark implementation (#1192)
* multispark prototype

* only multispark if not cut

* typo

* do some reasonableish math

* consume cfg

* todo

* bad merge

* move math out of engine2.cpp

* engine state config

* consume generated

* use new

* hand generate

* doc, debugging

* debug channel names

* don't depend on rpmcalc

* safer, fix math

* tests

* default multispark config

* remove todo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-26 01:49:36 -04:00
Matthew Kennedy 608cf45d26
TS cleanup pass (#1225)
* remove biquad config

* fuel pump clarity

* one code usage

* minimal generate for ci

* and don't build it either

* remove commented out code
2020-03-25 23:00:17 -04:00
rusefi 7ab0a9cd76 startStopDialog 2020-03-25 00:58:59 -04:00
rusEfi 3e57f8867d Launch debug mode 2020-03-24 23:09:35 -04:00
rusefi 5dce6e7104 launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi 53385c32bb start/stop progress debug mode 2020-03-22 20:43:27 -04:00
rusefi 0475348e4c start/stop 2020-03-20 20:45:35 -04:00
rusEfi 984445d545 v12 progress 2020-03-20 00:36:22 -04:00
rusefi a4b5570223 "rusefi CAN" config #1198 2020-03-19 09:22:16 -04:00
rusefi 482967b8db progress towards start/stop 2020-03-18 15:56:17 -04:00
rusefi 5a6d10c21f hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
rusefi 2dfc039eb9 docs 2020-03-17 13:40:14 -04:00
rusefi a371b32073 cj125 usability 2020-03-17 10:20:29 -04:00
Matthew Kennedy 43f3ab7624
Multispark configuration (#1190)
* multispark

* scaling, units

* hide in "broken stuff" menu for now

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-14 09:13:38 -04:00
rusefi ff7438162b In case of incompatible firmware and console we have a vague error message fix #1180 2020-03-10 19:12:37 -04:00
rusEfi ca8a3b1e1f more of the same 2020-03-09 19:29:10 -04:00
rusEfi f62364fe39 stepper in TS should be output not any 2020-03-09 19:15:13 -04:00
rusefi 16930da2d3 hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
rusefi 1892cfe6b7 logicAnalyzerMode was unused, removing for now 2020-03-08 09:14:49 -04:00
rusefi 3bf4219ad6 useHbridges 2020-03-02 19:49:47 -05:00
rusefi 2db8157e44 better setting name and help? 2020-03-01 22:32:09 -05:00
rusefi c553877d3d hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusEfi 95160967dd throttle2Position progress 2020-02-27 03:21:42 -05:00
rusEfi 3312dd8112 verboseTLE8888 2020-02-27 01:11:44 -05:00
rusefi 548ecc8cfb bugfix - new option was flipped in TS 2020-02-18 16:38:57 -05:00
rusefi d5faa3b517 making migration seamless on useRunningMathForCranking 2020-02-16 16:13:15 -05:00
rusefi c4e1e1e928 dreams about useFixedMsForCranking 2020-02-15 19:17:42 -05:00
rusefi 64c83fa4cd he owes me one now 2020-02-14 23:03:26 -05:00
rusefi c4c28431f2 Three wire idle air valve #1122
ugly but should work to begin with
2020-02-04 01:06:20 -05:00
rusefi c2e02cc235 fixing build 2020-02-02 13:18:41 -05:00
ola d49e253bff Some initial work at Launch/ALS
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
rusefi c2f0a30397 opening the door to boost controller! 2020-01-31 14:23:15 -05:00
rusefi 113fc4be36 refactoring 2020-01-12 05:17:42 -05:00
rusefi f74cf3bfbe refactoring 2020-01-12 05:12:09 -05:00
Matthew Kennedy ecd240d6f2 AEM X-Series CAN Wideband Support (#1096)
* aem xseries

* parens to avoid operator precedence issues

* put in cfg

* disable that too

* fix sim/unit

* enough generated for ci

* this will guard correctly
2020-01-12 03:44:37 -05:00
rusefi 688107ed77 second channels for ETB related stuff 2020-01-11 01:08:41 -05:00
rusefi 30db7e3c26 typo 2020-01-03 21:41:11 -05:00
rusefi 07222f68c0 E30 M3 Tach output solution #907 2019-12-30 01:41:23 -05:00
Matthew Kennedy 9645130527 Shrink output channels, now with passing CI (#1077)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch

* rev signature

* correct map offset

* handle unsigned properly

* RPM is unsigned

* vss isn't scaled

* extract magic

* required generated for build

* de-scale rpm

* field type cases
2019-12-22 08:12:45 -05:00
rusefi ce0921cb78 refactoring only #1076 2019-12-21 20:17:58 -05:00