Commit Graph

6774 Commits

Author SHA1 Message Date
rusefi 101aabd8a4 docs 2020-05-03 15:54:17 -04:00
rusefi 460badec94 MRE adapter 2020-05-03 15:21:32 -04:00
rusefi d472685c41 docs 2020-05-03 12:40:43 -04:00
rusefi a1b6807e66 unifying Frankenso and MRE defaults 2020-05-03 12:11:47 -04:00
rusefi f7321942e9 class constructors are a great way to have simple initialization sequence 2020-05-03 11:49:06 -04:00
rusefi cfd8889236 class constructors are a great way to have simple initialization sequence 2020-05-03 10:58:52 -04:00
rusefi b34693da97 docs 2020-05-03 10:41:48 -04:00
rusefi 3b4317d622 date 2020-05-03 02:50:43 -04:00
rusefi 94aa7aa9d2 this is all very sad 2020-05-03 02:30:05 -04:00
rusefi da415c7c8d docs 2020-05-03 02:10:27 -04:00
rusefi 965f247e11 steps towards BT 2020-05-03 01:43:39 -04:00
rusefi 9a2f6735b3 better names 2020-05-03 00:30:35 -04:00
rusefi 3e863859fe looks like a better variable name 2020-05-03 00:20:54 -04:00
rusefi 6a8ec58b94 docs 2020-05-03 00:04:22 -04:00
rusefi 3c571bef9f looks like with current implementation we can use the fancy method 2020-05-03 00:01:54 -04:00
rusefi 5d6ec1d68b refactoring: using brain_pin like the rest of the code 2020-05-02 23:47:10 -04:00
rusefi 04363877b4 refactoring: using constructor life-cycle to simplify initialization sequence 2020-05-02 23:15:48 -04:00
rusefi 0261bd09ec docs 2020-05-02 23:02:54 -04:00
rusefi b70dab791b exactly noone is surprised 2020-05-02 22:44:36 -04:00
rusefi 433b4811ca what could possibly go wrong 2020-05-02 22:34:31 -04:00
rusefi b3cfac397b oh what did I do 2020-05-02 22:27:20 -04:00
rusefi 9115e00783 fixing headers 2020-05-02 22:20:41 -04:00
rusefi 812184a572 reducing confusion? 2020-05-02 22:06:11 -04:00
Matthew Kennedy 5ac535c5e5 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 5b3d7da10b we need aux voltage in addition to aux temp 2020-05-02 15:29:28 -04:00
rusefi f9e63c5c45 CJ125 PI commands 2020-05-01 20:22:49 -04:00
rusefi f66a1c21c9 cj125 progress 2020-05-01 19:42:09 -04:00
rusefi b262b5da66 cj125 less verbose when running 2020-05-01 19:27:26 -04:00
rusefi c33d611dd4 bugfix 2020-05-01 19:19:29 -04:00
rusefi 9353ef7d51 better state messages 2020-05-01 18:52:06 -04:00
rusefi 7689cfc2dd Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi a07ac78b4e docs 2020-05-01 17:21:26 -04:00
rusefi 0750df5392 sweet unused method 2020-05-01 12:05:18 -04:00
rusefi 75fc417efa Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-30 22:32:25 -04:00
rusefi bdacba7d4a docs 2020-04-30 22:30:37 -04:00
Matthew Kennedy 1e3e630367 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 81935b8b26 Trigger dialog cleanup (#1389)
* trigger dialog simplify

* more cleanup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:03:56 -04:00
Matthew Kennedy 7b590173b5 fsio settings -> 2 decimals (#1388)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 16:05:20 -04:00
rusefi 427c978f8a At least everything fits on my screen now 2020-04-29 19:39:35 -04:00
rusefi b04a3ecbed https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:46:51 -04:00
rusefi 93ee6c36e3 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 65fde14800 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy 7e5a4dcf55 fix unlock bug (#1384) 2020-04-29 16:42:55 -04:00
Matthew Kennedy a9bf0f8358 Perf Trace Improvements (#1383)
* add tid field to thread

* change perf trace format

* trace consumers

* Update java parsing

* guard for test + kinetis

* stubs

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -04:00
Matthew Kennedy fefafd61b8 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 dee2568fd5 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 dc6ffd54d0 fix master #1375 2020-04-28 08:10:36 -04:00
Matthew Kennedy 65fc0b6712 fix master (#1375)
* fix

* put back how it was

* missed a spot
2020-04-28 08:08:41 -04:00
rusefi 4460d92a30 useful content from Move ETB control to a thread #1374 2020-04-28 08:05:18 -04:00
Matthew Kennedy 7e067eb0b5 Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
rusefi 1794f7f953 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-27 19:45:03 -04:00
rusefi e313bc18e3 amazing flex fuel progress 2020-04-27 16:07:40 -04:00
Matthew Kennedy 1d1ea3bb50 move hooks in to common chconf.h (#1376)
* move hooks in to common

* but not for kinetis

* don't use c style void arg

* kinetis needed more, not less

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 16:07:05 -04:00
Matthew Kennedy 499d445fd2 reclaim (#1377)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
rusefi 3b5062bacc typo 2020-04-27 08:09:14 -04:00
Matthew Kennedy 1cd939f6db actually use msg parameter (#1372) 2020-04-27 07:56:38 -04:00
rusefi 498374e7d3 https://rusefi.com/forum/viewtopic.php?p=36268#p36268 2020-04-26 23:03:50 -04:00
rusefi 6480d6ac29 docs 2020-04-26 21:41:03 -04:00
rusefi 30759ed8b3 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
rusefi 025c8c2903 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-04-26 19:44:04 -04:00
rusefi edd4e62b46 better defaults 2020-04-26 19:16:54 -04:00
rusefi 176a08f0a6 minor clean-up 2020-04-26 18:47:56 -04:00
rusefi 7513c08def method inline 2020-04-26 17:50:03 -04:00
rusefi 0ec3ce595e dead code 2020-04-26 17:40:12 -04:00
rusefi fe03d576e6 minor clean-up 2020-04-26 17:07:39 -04:00
Matthew Kennedy 738e53442d 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 9bf1d5aad3 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
rusefi 51b4ba3885 Merge remote-tracking branch 'origin/master' 2020-04-26 01:25:53 -04:00
rusefi 5769d6d147 "FASLE" -> FALSE 2020-04-26 01:25:41 -04:00
Matthew Kennedy 6d0efc432e allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00
rusefi 035d18e7ae Bosch vvt shape #1368 2020-04-25 22:23:53 -04:00
rusefi 00de5e8beb Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-25 21:28:01 -04:00
rusefi 52954733c7 Bosch vvt shape #1368
skeleton
2020-04-25 19:50:43 -04:00
Matthew Kennedy a8bf8a8eb5 types & enums (#1367) 2020-04-25 18:26:29 -04:00
Matthew Kennedy f55556fb49 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
dron0gus d5a76b5dda Update chibios (#1364)
* Update ChibiOS

* Fix coexistance of ChibiOS and our flash drivers

* Add 'int' = internal prefix for all on-chip flash functions

This avoid conflict with ChibiOS functions available after
enabling HAL_USE_EFL

* Exclude ChibiOS flash driver from bootloader

* Makefile magic?

* Kinetis: fix build after ChibiOS update and switching to SMART_BUILD

* Bootloader now use SMART_BUILD too
2020-04-25 16:32:32 -04:00
rusefi aee48c9953 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-25 12:08:16 -04:00
rusefi b6780ab9d0 wow maybe build time magic?! by DronoGus 2020-04-25 12:07:57 -04:00
Matthew Kennedy 67ea0368c9 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 3f4f0f9e7a use the linker! (#1363) 2020-04-24 21:21:04 -04:00
Matthew Kennedy e89b7b4b11 trigger emulator refactoring (#1358)
* trigger gen refactoring

* missed one

* fix makefile

* commentary

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
rusefi 5c19fc964b poke 2020-04-24 12:30:38 -04:00
rusefi 3b3a7b24f2 poke 2020-04-24 08:26:28 -04:00
Matthew Kennedy 6b2e097e66 Revamp indicator panel in TS (#1357)
* fix pedal ind

* maf -> map

* only set pedal error light if error

* adjustments
2020-04-24 00:10:19 -04:00
Matthew Kennedy a005daa8cb switch ADC to gpt (#1343)
* switch to gpt

* halconf

* fix kinetis

* fix kinetis

* fix guards

* comment cleanup
2020-04-23 22:50:18 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 626cb255d2 poke 2020-04-23 20:34:56 -04:00
rusefi 0a268663f4 poke 2020-04-23 20:22:54 -04:00
rusefi de362bd808 tle8888 modes corrected 2020-04-23 19:49:22 -04:00
rusefi 8f554e7a52 tle8888 modes corrected 2020-04-23 19:39:59 -04:00
rusefi c09c5a717d poke 2020-04-23 17:20:39 -04:00
rusefi b607400984 TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi 89f1f78e0c docs 2020-04-23 16:39:32 -04:00
rusefi a19914cb3c poke 2020-04-23 16:04:06 -04:00
rusefi e9f27cf1f1 extracting TLE8888 dialog 2020-04-23 15:40:10 -04:00
rusefi efa4a1414d poke 2020-04-23 14:47:12 -04:00
rusefi 3407b0b4c6 poke 2020-04-23 14:18:00 -04:00
rusefi 164e7d7ab0 poke 2020-04-23 13:13:50 -04:00
rusefi a3894b826b poke 2020-04-23 12:13:52 -04:00
Matthew Kennedy 024ef96d0d MAP scheduling (#1352)
* map sched

* format

* guard test
2020-04-23 08:12:44 -04:00
rusefi 313b2685eb hardware continues integration needs a high RPM high tooth count test case
#1351
2020-04-23 01:26:30 -04:00
Matthew Kennedy 2fbedc000f ETB autotune in its own function (#1350)
* pull out autotune

* oops
2020-04-22 22:22:28 -04:00
Matthew Kennedy 3559d8eb3b fix display of etb bias (#1349) 2020-04-22 20:32:19 -04:00
Matthew Kennedy 9216d39c59 improve etb & pedal dialogs (#1348)
* simplify etb dialog

* put back pid limits

* add note

* pedal too
2020-04-22 20:24:47 -04:00
rusefi 4e662415ff progress 2020-04-22 20:20:22 -04:00
rusefi 6bf8e0deed different take on remove warning message in tune #1347 2020-04-22 19:07:42 -04:00
rusefi d75daef8e5 different take on remove warning message in tune #1347 2020-04-22 18:27:10 -04:00
rusefi 65a70e9127 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-22 18:23:26 -04:00
rusefi 86f6baa523 smaller version of dead code #1300 2020-04-22 18:23:14 -04:00
shadowm60 1d230a1b32 can_dash fix for w202 + TS enum (#1346) 2020-04-22 14:24:38 -04:00
shadowm60 447b64e2cb Can vss updates (#1345)
* Vss over Can implementation proposal

Working for BMW e46

* fixed Firmware CI?

* kinetis fix.

* minor fixes

* Added W202 + fixed broken configs

- w202 Vel decoded
- added dbc checks
2020-04-22 13:40:08 -04:00
shadowm60 54f7ab268c Vss over Can implementation proposal (#1340)
* Vss over Can implementation proposal

Working for BMW e46

* fixed Firmware CI?

* kinetis fix.

* minor fixes
2020-04-21 20:48:37 -04:00
rusefi 2c7bfaba06 poke 2020-04-21 18:06:11 -04:00
Matthew Kennedy c9d43283c2 initialize etbControllers (#1338) 2020-04-21 08:18:32 -04:00
rusefi 6a85ebb7b8 docs 2020-04-20 23:44:59 -04:00
rusefi 5ff316b374 BUGFIX: console engine sniffer was not displaying TDC mark properly in cases of negative angles 2020-04-20 22:43:55 -04:00
rusefi 90b2af608a docs 2020-04-20 22:42:34 -04:00
Matthew Kennedy b1741bdd6e Improve ETB idle control (#1319)
* compress idle pos

* fix tests for new behavior
2020-04-20 17:29:03 -04:00
Matthew Kennedy ce08650f65 Inject idle to ETB (#1335)
* inject idle position

* pointer

* etb idle tests

* extract mocks

* ops

* test negative case too

* don't convert for etb

* guard
2020-04-20 16:26:35 -04:00
rusefi 1bcbed3cb5 reducing code duplication 2020-04-20 15:57:03 -04:00
Matthew Kennedy 3418356b6b ETB: inject pedal map (#1334)
* add clampf

* more tests

* public

* missed a mock

* fix output duty clamping

* do it that way

* more

* ah ha!

* test negative too

* clamp pedal

* inject pedal map

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-20 14:34:45 -04:00
rusefi ceb8b6d9b4 idle duty cycle clamping 2020-04-20 14:11:40 -04:00
rusefi 0732600cb1 separate range for logging errors 2020-04-20 13:58:20 -04:00
Matthew Kennedy d17afd3a63 ETB testing: output, position clamping (#1333)
* add clampf

* more tests

* public

* missed a mock

* fix output duty clamping

* do it that way

* more

* ah ha!

* test negative too

* clamp pedal

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-20 13:52:20 -04:00
rusefi 1d0e289b74 i just want to build 2020-04-20 09:10:18 -04:00
rusefi 510549332e Better handling in case of ETB idle without ETB #1332 2020-04-20 00:23:32 -04:00
rusefi ebbd8c28f5 still want RAM?! 2020-04-19 23:56:08 -04:00
rusefi 385f4b12e8 Better handling in case of ETB idle without ETB #1332 2020-04-19 23:55:27 -04:00
rusEfi 2b4ca0496b Better handling in case of ETB idle without ETB #1332 2020-04-19 21:51:27 -04:00
rusEfi a89d819318 PWM name into warning message 2020-04-19 21:48:14 -04:00
rusEfi 35ffb13ca4 TS to show warning text 2020-04-19 21:42:00 -04:00
rusefi 85c493ae46 more butter more better 2020-04-19 20:57:01 -04:00
rusefi 600744c926 multi-channel Tuner Studio tooth logger #1284
composite TDC mark not working?
2020-04-19 20:46:29 -04:00
Matthew Kennedy bb24782bc2 rewrite etb tests with gmock (#1330) 2020-04-19 20:32:41 -04:00
rusefi 2d4faaef75 tiny progress 2020-04-19 19:58:20 -04:00
rusefi a2f5aaaf90 i am clearly distracted :( 2020-04-19 19:20:23 -04:00
rusefi f7327e0d71 still the cost of remix 66-2-2-2 2020-04-19 18:58:22 -04:00
rusefi 6a4dd83982 trying to fix build 2020-04-19 18:50:45 -04:00
rusefi 898430518a helping build 2020-04-19 18:45:40 -04:00
rusefi 912e543680 date & trigger ram usage 2020-04-19 18:32:36 -04:00
shadowm60 b327d1db5f 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
Matthew Kennedy 830f03c003 Closed loop controller base & ETB testing (#1322)
* closed loop controller base

* etb tps test

* closed loop controller tests

* test support

* update gtest

* fix for change

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-19 17:18:47 -04:00
rusefi 4c58e5fff2 Merge remote-tracking branch 'origin/master' 2020-04-19 15:24:12 -04:00
rusefi b338502ac0 FAQ 2020-04-19 15:23:51 -04:00
kon 6cf1340880 aux serial config files (#1326) 2020-04-19 15:04:59 -04:00
Matthew Kennedy 1397a718a9 improve tcharge error handling (#1328) 2020-04-19 15:02:40 -04:00
rusefi 2f773c314a TT_RENIX_66_2_2_2 2020-04-19 14:54:02 -04:00
rusefi c1a4bd857b TT_HONDA_K_12_1 2020-04-19 14:23:01 -04:00
rusefi d74e7f5d11 progress towards renix 66-2-2-2 2020-04-19 09:59:55 -04:00
Matthew Kennedy f54db83d67 Improve unexpected (#1323)
* use type instead of value

* fix remaining initializer-list users

* impruv

* last consumer?

* consumer

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-19 08:37:43 -04:00
Matthew Kennedy 363f6d5110 add expected helper class (#1321)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-19 01:53:04 -04:00
rusefi 086410ed7c Renix 44-2-2 2020-04-18 22:23:45 -04:00
rusefi 89be50fd70 Renix 44-2-2 2020-04-18 22:20:17 -04:00
Matthew Kennedy 0acadc0b8b oops (#1320) 2020-04-18 21:12:51 -04:00
rusefi 6816b38371 FSIO RPN progress 2020-04-18 21:01:23 -04:00
rusefi df823fe82f Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-18 20:28:22 -04:00
rusefi 4967e8ba7b better trigger definition API 2020-04-18 20:28:03 -04:00
rusefi 7e87c70dbe Revert "Fresh generated - auto"
This reverts commit 4577cfc905.
2020-04-18 19:11:47 -04:00
Matthew Kennedy 942403cec2 Fuel/ign correctino on new temp sensors (#1318)
* corrections

* test

* adv map

* tests

* cleanup

* lcd

* fsio

* unneeded

* more math

* last consumer

* cleanup

* fix kinetis
2020-04-18 18:45:30 -04:00
rusefi 4577cfc905 Fresh generated - auto 2020-04-18 18:44:03 -04:00
rusefi 711c7c970a Fresh generated - auto 2020-04-18 16:40:59 -04:00
Matthew Kennedy e50e8611c1 new clt/iat: OBD and CAN dash (#1317)
* corrections

* CAN consumers

* can consume

* obd, lcd

* Revert "corrections"

This reverts commit 0003b270ce8344f7eefe7dbb87a9de7cffc5b8a8.

* iat
2020-04-18 15:53:04 -04:00
Matthew Kennedy df6f846052 Simplify F4 board.h (#1310)
* fix

* simplify

* unneeded

* unused, change to pullup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-18 11:41:53 -04:00
Matthew Kennedy 3bc5824efd unused config field (#1314) 2020-04-18 07:57:28 -04:00
Matthew Kennedy b6eb1c85a6 doesn't need to be virtual (#1315) 2020-04-18 07:56:54 -04:00
Matthew Kennedy 80f0c7e101 ETB pedal map scale (#1316) 2020-04-18 07:55:33 -04:00
Matthew Kennedy 0d64527cb6 fix (#1309)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 18:27:20 -04:00
Matthew Kennedy 68403a195a deduplicate logic (#1307)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 16:26:51 -04:00
rusefi 70ba9c9ee2 progress 2020-04-17 14:02:10 -04:00
rusefi d7198271aa multi-channel Tuner Studio tooth logger #1284 2020-04-17 12:14:45 -04:00
Matthew Kennedy 9e71e4b853 Gauges for raw sensors (#1304)
* add to struct

* input

* set channels

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-16 20:32:07 -04:00
rusefi 5ac8ee2f92 minor fix 2020-04-16 16:04:38 -04:00
NOx-z f63682d692 DI HV sanity checks (#1306)
* mc33 flash check

* DI sanity checks for setting HV config

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-04-16 16:04:09 -04:00
rusefi 0d5375a2ad "GDI dreams" menu to TS 2020-04-16 14:31:03 -04:00
rusefi 3e1006a626 MC progress 2020-04-16 14:08:28 -04:00
NOx-z d835313341 MC33816 dram update (#1305)
* mc33 flash check

* update dram and set boost voltage function

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-04-16 07:32:08 -04:00
rusefi 44a5840bcf dreaming about 63 volts 2020-04-15 21:28:44 -04:00
rusefi 80a780a190 fixing build 2020-04-15 21:09:05 -04:00
rusefi ccc26f2b21 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/tunerstudio/rusefi.ini
#	firmware/tunerstudio/rusefi_frankenso.ini
#	firmware/tunerstudio/rusefi_microrusefi.ini
#	firmware/tunerstudio/rusefi_prometheus.ini
#	firmware/tunerstudio/rusefi_proteus.ini
2020-04-15 20:28:09 -04:00
rusefi 5e0d75b9e4 more verbose 2020-04-15 20:07:56 -04:00
rusefi ef292ee6d2 fixing build? 2020-04-15 19:50:07 -04:00
rusefi c80cc84451 multi-channel Tuner Studio tooth logger #1284 2020-04-15 19:10:54 -04:00
rusefi 3115755236 fresh for ETB and engine sniffer usability idea 2020-04-15 18:24:26 -04:00
Matthew Kennedy a4bfed3ab5 add button (#1303) 2020-04-15 18:22:30 -04:00
rusefi eccc07db20 https://rusefi.com/forum/viewtopic.php?p=36201#p36201 2020-04-15 17:03:26 -04:00
Matthew Kennedy 2535d123b8 CLT consumer: fsio (#1302)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup

* fsio test help
2020-04-15 16:20:45 -04:00
rusefi d5f3147c00 test pins are needed 2020-04-15 16:20:18 -04:00
Matthew Kennedy 83592f0dff New clt consumers part 1 (#1301)
* idle

* CLT test prep

* idle target

* header

* air interpolate

* ancient comment

* fuel cut

* fuel cut, idle tests

* cleanup
2020-04-15 09:48:17 -04:00
Matthew Kennedy 2a97a06e64 new temperature sensor math in TS (#1297)
* switch

* new sensor printing

* typo

* and printing info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-15 01:12:07 -04:00
rusefi d788348d7c mc33 fix 2020-04-14 19:36:25 -04:00
rusefi ae8936b93b MC restart 2020-04-14 19:23:53 -04:00
rusefi ca7017107d stimulator to all pins 2020-04-14 19:09:26 -04:00
rusefi 817ea2c008 multi-channel Tuner Studio tooth logger #1284 2020-04-14 15:17:15 -04:00
rusefi 3bb44df7b5 mc33 better error handling 2020-04-14 15:07:24 -04:00
rusefi 15577f7699 mc33 better error handling 2020-04-14 15:05:33 -04:00
rusefi 631e900f31 but what?! 2020-04-14 13:27:07 -04:00
rusefi 0f24a41698 is GH trying to tell us something?!
Linking build/rusefi.elf
/home/runner/work/rusefi/rusefi/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: build/rusefi.elf section `.ram4' will not fit in region `ram4'
/home/runner/work/rusefi/rusefi/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: region `ram4' overflowed by 352 bytes
collect2: error: ld returned 1 exit status
2020-04-14 13:15:04 -04:00
rusefi 59a007d21a docs 2020-04-14 08:34:51 -04:00
OrchardPerformance 95a681d80f Update to Matt's MAF code for VE table tuning. (#1295)
* Update rusefi_lib

* Update fuel_math.cpp

Updated Matt's MAF code to include fuel table

* fixed missing include

* Replace get_specs_displacement

* ve2Map corrected

* ve2Map fix 2

* Fix for missing TS table

* Corrected standard air charge

* Math fix, PW now good

Still have minimal response from the VE table

* rusefi.input correction

* Added extra comment

* Ease of reading update
2020-04-14 01:21:48 -04:00
NOx-z 13111f6aa2 mc33 flash check (#1296)
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-04-14 00:57:19 -04:00
rusefi ae0cc21ca3 multi-channel Tuner Studio tooth logger #1284 2020-04-13 20:47:54 -04:00
rusefi bf541d5361 mc33 progress 2020-04-13 20:01:06 -04:00
rusefi d299998b65 mc progress 2020-04-13 19:49:02 -04:00
rusefi 8da96bcbe1 copy/paste is evil 2020-04-13 19:14:30 -04:00
rusefi b02b5f2202 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-13 19:01:34 -04:00
rusefi f6986e604f MC flag0 2020-04-13 19:01:22 -04:00
Matthew Kennedy b599b75bed allow different dlc (#1294)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-13 17:05:52 -04:00
rusEfi a7a7c4bec9 MRE docs 2020-04-13 14:30:17 -04:00
rusefi 33eb9fd2ec new attempt at better simulator 2020-04-13 13:12:55 -04:00
rusefi 63b83332a3 docs 2020-04-13 12:23:51 -04:00
rusefi 79d7afca3c fixing build 2020-04-13 10:23:08 -04:00
rusefi e35fc80a0b fresh 2020-04-13 09:23:13 -04:00
Matthew Kennedy bf7ed3b4da add new config (#1290) 2020-04-13 09:21:51 -04:00
rusefi 1035639746 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-13 09:15:05 -04:00
rusefi 27a38c7cf8 progress 2020-04-13 09:14:48 -04:00
shadowm60 291197b43a Add w202 canDash support (#1292)
* w202CanDash

added CanDash support for w202

* fixed kinetis
2020-04-13 08:11:06 -04:00
rusefi 0f5e1505a0 i think we better be explicit about buffer size? 2020-04-12 23:59:24 -04:00
rusefi 5da205089c better error message 2020-04-12 23:24:46 -04:00
rusefi 167f484d8f multi-channel Tuner Studio tooth logger #1284
reducing magic constants
2020-04-12 19:10:36 -04:00
rusefi 8368e3fa08 date 2020-04-12 18:11:43 -04:00
Christopher W. Anderson 5b45cd84c6 mc33816 driven to high, and a few additional checks
ven#
2020-04-12 18:09:57 -04:00
Matthew Kennedy 911e0c0c16 fix typo (#1288) 2020-04-12 17:48:38 -04:00
rusefi 78a6026f54 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-12 17:47:49 -04:00
rusefi 944b37aa0f one place for default test config 2020-04-12 17:47:30 -04:00
Matthew Kennedy afc5f6c99b fix maf (#1287) 2020-04-12 15:52:29 -04:00
Matthew Kennedy 24b0c85a9e fix warnings (#1282)
* warnings

* don't need to template those
2020-04-12 09:39:14 -04:00
Matthew Kennedy d666743ab5 filter ETB autotune results (#1281)
* Astrom-Hagglund

* enums

* comments

* dead

* fix

* changed enum

* ts guard

* safety

* etb autotune debug channels

* filter results

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:28:50 -04:00
Matthew Kennedy 9bbb7bc497 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 52a0bb375f documentation 2020-04-11 22:08:04 -04:00
rusefi adb1402f31 DI progress 2020-04-11 21:48:04 -04:00
rusefi 7ce992d24a Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-11 10:20:56 -04:00
rusefi 72f6641113 making magic constants a bit less fragile 2020-04-11 01:52:16 -04:00
rusefi 44ef63e102 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
rusefi 39eb537560 really rusEFI LLC 2020-04-10 23:30:44 -04:00
rusefi 0fc66f1598 progress 2020-04-10 20:31:58 -04:00
Matthew Kennedy f2fcbc0a0e fix again (#1280)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 19:02:37 -04:00
Matthew Kennedy 2c12da4a27 tps (#1279)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:49:13 -04:00
rusefi c879c9ff21 PPS FSIO not complete support 2020-04-10 17:46:56 -04:00
rusefi 4d3036bb6c better message? 2020-04-10 17:45:04 -04:00
Matthew Kennedy 1a59950240 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 99bb149a1c I got distracted as usual :( 2020-04-10 15:49:44 -04:00
rusefi 35f08f3958 progress 2020-04-10 13:32:06 -04:00
rusefi cb2b699db6 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
Matthew Kennedy b934cb666b simplify (#1275) 2020-04-10 08:12:16 -04:00
rusefi a9e7e04a81 general help with image 2020-04-09 18:09:17 -04:00
rusEfi 371754118c cj125 diag 2020-04-09 00:17:29 -04:00
rusEfi 80d5ef0c3f cj125 diag 2020-04-09 00:12:27 -04:00
rusEfi f4c72b3895 docs 2020-04-08 23:27:26 -04:00
rusefi c98cdc9c0a cj125 progress 2020-04-08 23:14:21 -04:00
rusefi e673281a9d set_cj125_cs_pin & set_cj125_heater_pin 2020-04-08 22:37:00 -04:00
rusefi 5e00b3ac17 extracting method 2020-04-08 22:36:18 -04:00
rusefi 7c4b4894cc isCJ125Verbose 2020-04-08 22:12:33 -04:00
rusefi a85b2f8989 fresh 2020-04-08 21:43:05 -04:00
rusefi 914855d262 refactoring 2020-04-08 21:23:49 -04:00
rusEfi 2c423052c4 docs 2020-04-08 20:37:46 -04:00
rusefi 6b171c97fb TunerStudio: Save settings with self-simulation fix #1272 2020-04-08 18:03:46 -04:00
Matthew Kennedy 3abd181f6f 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
dron0gus 281e8ac754 idle: add two coil idle valve support (#1271) 2020-04-06 17:55:41 -04:00
rusefi 6051c4dbff v12 2020-04-06 17:24:20 -04:00
rusEfi 11e489f8d7 date 2020-04-06 14:58:18 -04:00
Andrey Gusakov 94395de16a pin_repository: fix for boards with gapes in brain_pin_e
Some additional math should be done to convert brain_pin_e to index
and back in case board do not have all chips exist in enum.

ifdef hell is for Kinetis board that uses its own brain_pin_e enum
2020-04-06 14:30:14 -04:00
Andrey Gusakov e74cd6ae96 pin_repository: fix compilation for devices without TLE8888 2020-04-06 14:29:02 -04:00
rusefi 3888ffc007 smart gpio clean-up 2020-04-06 14:28:08 -04:00
rusefi c1ab5ca585 smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi 7fe8a494ef a bit of header clean-up 2020-04-06 13:05:30 -04:00
rusefi a1b554638f clean-up 2020-04-06 12:58:04 -04:00
rusefi 070f6b52b8 code style 2020-04-06 12:34:21 -04:00
rusEfi d564b4e475 clean-up by Dron0Gus 2020-04-06 11:55:44 -04:00
rusefi 87fda825fc lib function by Dron0Gus 2020-04-06 11:29:40 -04:00
rusefi 0e15a1f215 safer version by Dron0Gus 2020-04-06 11:29:09 -04:00
Matthew Kennedy 01c87a87ee Deadband helper & tests (#1267)
* deadband

* header

* comment
2020-04-06 09:16:26 -04:00
Matthew Kennedy f161a6990a fix (#1268) 2020-04-06 09:00:26 -04:00
rusefi 322c5be6b0 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-05 22:25:35 -04:00
rusefi 3fec2af805 thank you Ola! 2020-04-05 22:25:09 -04:00
Matthew Kennedy 95ef31da67 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 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 44bb09d1a4 yet more tps consumers (#1258)
* advance_map

* tests

* unneeded

* idle

* use driver intent instead

* and obd and lcd

* engine load

* ve lookup

* unused

* oops we needed that

* oops needed that too

* mocking

* test mocks

* oops

* helps to use the right sensor

* and cylinder cleanup

* fuel math

* typo

* old tests

* kill dead stuff

* cleanup

* more

* fix

* test

* s

* fix signature

* fix test

* comment

* priming pulse

* remove mock tps

* remove more dead

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-05 09:11:25 -04:00
Matthew Kennedy 43d38a6691 TPS Initialization Testing (#1264)
* test support

* stub for tests

* plumbing so we can test this

* add test

* comments
2020-04-05 09:10:08 -04:00
Matthew Kennedy c0f03fd8fb cleanup (#1259) 2020-04-04 15:59:13 -04:00
rusefi c2f87c5edd KLUDGE? we always show VBatt because Proteus board has VBatt input sensor hardcoded 2020-04-04 09:31:56 -04:00
Matthew Kennedy 8badc4cca3 remove ETB controlPinMode (#1260) 2020-04-04 08:41:45 -04:00
Matthew Kennedy 606a7fff0d More TPS consumers: VE lookup (#1256)
* advance_map

* tests

* unneeded

* idle

* use driver intent instead

* and obd and lcd

* engine load

* ve lookup

* unused

* oops we needed that

* oops needed that too

* mocking

* test mocks

* oops

* helps to use the right sensor

* and cylinder cleanup

* fuel math

* typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-04 08:41:09 -04:00
Matthew Kennedy 0df4da6450 always show vbatt (#1262) 2020-04-04 07:42:14 -04:00
Matthew Kennedy 9a21262cf8 TPS consumers: idle and ignition and obd2 and lcd (#1254)
* advance_map

* tests

* unneeded

* idle

* use driver intent instead

* and obd and lcd

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 19:59:08 -04:00
rusefi 19a7a7adf6 v12 2020-04-03 17:44:55 -04:00
rusefi 856d4618cd could this work? 2020-04-03 16:14:29 -04:00
rusefi add38e4f24 extracting magic constant 2020-04-03 16:06:21 -04:00
Matthew Kennedy 7a0ee7d6dc improve pin error messages (#1252)
* improve error msg

* emulator pin names too

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 15:00:59 -04:00
Matthew Kennedy cd3dc7f91b fix (#1251) 2020-04-03 07:48:12 -04:00
rusefi 9203f08072 flipped 60/2? 2020-04-03 00:44:54 -04:00
rusefi fd02a6dc8c v12 2020-04-03 00:19:04 -04:00
rusefi a228870915 v12 2020-04-02 22:59:01 -04:00
rusefi 939a00a4b9 isFasterEngineSpinUpEnabled 2020-04-02 21:49:31 -04:00
Matthew Kennedy d16ff88e30 run ETB on new TPS (#1248)
* run ETB on new TPS

* why did we include all those...?

* init tps for etb test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 21:33:49 -04:00
rusefi 034293325a Trigger Counters fix 2020-04-02 16:48:35 -04:00
Matthew Kennedy 54082ac8e1 switch (#1250) 2020-04-02 16:26:06 -04:00
shadowm60 baa2547da1 E30 M3 Tach output solution #907 (#1203)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-02 15:20:04 -04:00
Matthew Kennedy cee565f2b1 Add redundant sensor (#1249)
* add redundant sensor

* add tests

* add configure, info printing

* tests

* tests

* casing

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:55:21 -04:00
Matthew Kennedy da7179b6b1 only correct timing in dynamic mode (#1247)
* only correct in dynamic mode

* redundant check
2020-04-02 08:54:55 -04:00
Matthew Kennedy 7e4f4ca97e 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