Commit Graph

4366 Commits

Author SHA1 Message Date
rusefi 93f0c70dae heling kinetis 2020-05-14 20:42:26 -04:00
dron0gus a2565b7849
triggers: add Subaru SVX trigger (3 sensors) (#1433) 2020-05-14 20:40:47 -04:00
dron0gus 48aa40b344
smart gpios: remove dead code (#1432) 2020-05-14 16:15:55 -04:00
Matthew Kennedy e46d9f0c99
Fix 100% duty injection (#1431)
* skip turn-off for high duty

* mock executor injection

* test

* switch to hard cut

* test no longer relevant
2020-05-14 07:44:32 -04:00
rusefi dff7bbd4e0 SD card for MRE 2020-05-13 23:26:28 -04:00
rusefi 1f73fa208d helping build 2020-05-13 19:41:10 -04:00
rusefi a078922244 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-05-13 19:31:42 -04:00
rusefi 28608449b1 docs & helping master 2020-05-13 19:27:11 -04:00
rusefi 4e5a69891d new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:52:27 -04:00
rusefi 257ed04fac new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:17:48 -04:00
rusefi f233628c2c lovely, yet another minor confusion 2020-05-13 01:16:05 -04:00
rusefi 38ec6d812d https://github.com/rusefi/hw_microRusEfi/issues/157 2020-05-12 23:37:12 -04:00
rusefi 047d2e0ce1 refactoring related to RED FATAL/CRITICAL LED is a bit dim when it should be OFF
#157
2020-05-11 18:22:51 -04:00
rusefi e5db74c3ee https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:57:19 -04:00
rusefi e2bda6f173 https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:45:34 -04:00
kon 8d35c35035
Aux serial (#1422)
* aux serial updates from last PR

* trying to guess

* wow that's old! also not working maybe?

* hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23

* date

* Mc33 undervolt (#1421)

* mc33 flash check

* DI sanity checks for setting HV config

* mc33 under voltage check

* mc33 under voltage check

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>

* fixed {}

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: NOx-z <50815960+NOx-z@users.noreply.github.com>
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
Co-authored-by: kon <dev@triggerdevel>
2020-05-11 12:17:42 -04:00
rusefi 0e8282995e date 2020-05-11 00:59:55 -04:00
rusefi 8bc2c403d6 34-2 3 cam Toyota wheel progress 2020-05-10 18:10:50 -04:00
rusefi 1f692c4a9b 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
Matthew Kennedy c7fadd475f
configuration for secondary (redundant) TPS sensors (#1419)
* add new fields

* add tps 2 secondary

* sensible error detection limits

* UI mods

* grey out as appropriate

* defaults

* either it's unused or its not
2020-05-10 16:13:15 -04:00
rusefi 3e506a674a 34-2 3 cam Toyota wheel progress 2020-05-10 15:22:50 -04:00
rusefi 055751a232 Merge remote-tracking branch 'origin/master' 2020-05-10 11:54:36 -04:00
rusefi 342a331e1c 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:21 -04:00
rusefi 7071d63cad 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:04 -04:00
rusefi 43e2ffd27a Fresh generated - auto 2020-05-10 10:32:49 -04:00
rusefi ec38cdac95 mck1117:secondary-tps-config progress 2020-05-10 10:11:51 -04:00
rusefi a9b15e3cee that's embarrassing 2020-05-10 02:36:01 -04:00
rusefi 919afd35e8 removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi ac9faf6646 docs & clean-up 2020-05-10 00:59:32 -04:00
rusefi d18bf76fb5 34-2 3 cam Toyota wheel progress 2020-05-10 00:42:33 -04:00
rusefi 8d91cc65cc 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi 816356f987 manual date 2020-05-09 22:44:44 -04:00
rusefi fcbba66e89 rusEFI online engine crc 2020-05-09 22:43:39 -04:00
rusefi 7be4c75033 Fresh generated - auto 2020-05-09 18:59:03 -04:00
rusefi 39424cf5f0 date&docs 2020-05-09 09:35:34 -04:00
rusefi bbe4f7926b Merge remote-tracking branch 'origin/master' 2020-05-09 09:34:36 -04:00
Matthew Kennedy 96a800acb9
fix gppwm on-off mode (#1406)
* fix

* put it back

* do it with PWM instead

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-09 09:25:45 -04:00
rusefi e451e3c4aa 34-2 3 cam Toyota wheel 2020-05-09 01:51:04 -04:00
rusefi 4ea0a3de26 nicer error messages 2020-05-09 01:49:17 -04:00
rusefi 6661c66e62 34-2 3 cam Toyota wheel progress 2020-05-09 01:15:55 -04:00
rusefi e0c59ab6b1 placing parts of confusion closer together 2020-05-09 00:47:11 -04:00
rusefi fd9e3a1f5c placing parts of confusion closer together 2020-05-09 00:43:28 -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 b4f6c6488f helping build 2020-05-08 21:39:35 -04:00
dron0gus f78889c1b3
idle thread: debug output for bipolar stepper (#1409) 2020-05-08 20:05:05 -04:00
rusefi 4082a53f56 default engine make/code 2020-05-08 17:31:03 -04:00
rusefi cbd933edf6 Fresh generated - auto 2020-05-07 13:46:18 -04:00
rusefi 39c5f40d17 Fresh generated - auto 2020-05-07 09:07:04 -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 2b6f0652f6 field useful for rusEFI online catalog 2020-05-07 01:00:02 -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
rusefi 49d4b0acee Fresh generated - auto 2020-05-06 22:04:53 -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
dron0gus 5987fb8b88
[SAFE] Debug cleanups (#1403)
* electronic throttle: inprove debug

* idle thread: show debug info for configured idle driver

* gpio-chips: make private functions static
2020-05-06 20:06:50 -04:00
Matthew Kennedy 858821ed66
proteus -> exti (#1378)
* proteus -> exti

* do frankenso pal the same way

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 18:52:15 -04:00
rusefi 6e832002ba magic is around the corner 2020-05-06 14:00:08 -04:00
rusefi 589feb951f Fresh generated - auto 2020-05-06 08:49: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
Matthew Kennedy 20a95bdcf1
ETB auto-PID: auto set values in TS (#1400)
* 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

* auto gains too

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* move

* add maintainconstantvalue

* add disable button

* cleaning

* move state inside

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:39:02 -04:00
Matthew Kennedy 484ab6aa97
doesn't need to pass callback (#1399)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:38:15 -04:00
rusefi 2d18777d00 helping build 2020-05-05 15:47:14 -04:00
Matthew Kennedy ebde7a29d5
don't fail on multiple Start calls (#1396)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-05 15:45:07 -04:00
rusefi d6c72cb769 Fresh generated - auto 2020-05-05 15:37:44 -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
Matthew Kennedy 745b0c04ac
pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00
rusefi 27de7eabc0 Fresh generated - auto 2020-05-05 00:23:26 -04:00
rusefi a208078f7c haha notes 2020-05-04 23:38:32 -04:00
rusefi 3575962da6 docs 2020-05-04 22:31:47 -04:00
rusefi aa04de0000 Nick says we need this MAP sensor 2020-05-04 19:08:36 -04:00
rusefi 5caed7ec31 getting all start-up issues together 2020-05-04 00:21:22 -04:00
rusefi b5571569e9 docs 2020-05-03 12:40:43 -04:00
rusefi 11a02b6395 class constructors are a great way to have simple initialization sequence 2020-05-03 10:58:52 -04:00
rusefi a8f764589b Fresh generated - auto 2020-05-03 03:41:14 -04:00
rusefi 21e5482c47 date 2020-05-03 02:50:43 -04:00
rusefi 6993414912 Fresh generated - auto 2020-05-03 00:11:27 -04:00
rusefi 96ceae7d17 refactoring: using constructor life-cycle to simplify initialization sequence 2020-05-02 23:15:48 -04:00
rusefi 639b519ad8 exactly noone is surprised 2020-05-02 22:44:36 -04:00
rusefi 0a96a75936 Fresh generated - auto 2020-05-02 22:18:12 -04:00
rusefi f456799310 reducing confusion? 2020-05-02 22:06:11 -04:00
rusefi a80b9d8ff7 Fresh generated - auto 2020-05-02 18:38:22 -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 8586459ec0 Fresh generated - auto 2020-05-02 15:56:36 -04:00
rusefi d371af5b89 CJ125 PI commands 2020-05-01 20:22:49 -04:00
rusefi 669322311f cj125 progress 2020-05-01 19:42:09 -04:00
rusefi 91da7cc250 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-05-01 17:52:35 -04:00
rusefi fe25c8162a Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi feff6a2ae2 Fresh generated - auto 2020-05-01 17:36:33 -04:00
rusefi cdbab4c68e sweet unused method 2020-05-01 12:05:18 -04:00
rusefi 901c61eba5 Fresh generated - auto 2020-04-30 19:43:31 -04:00
rusefi 965c06c079 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 9180154848 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy 1f16228bdb
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
rusefi 972523c466 Fresh generated - auto 2020-04-28 20:12:34 -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
rusefi 942ebef700 Fresh generated - auto 2020-04-28 17:06:44 -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 44facf1140 useful content from Move ETB control to a thread #1374 2020-04-28 08:05:18 -04:00
Matthew Kennedy fe4b531aeb
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 a43bad526b Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-27 19:45:03 -04:00
rusefi 4a68130cd1 amazing flex fuel progress 2020-04-27 16:07:40 -04:00
Matthew Kennedy 6ce9ae4481
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 28d0cfa91e
reclaim (#1377)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
rusefi 978bb8917d docs 2020-04-26 21:41:03 -04:00
rusefi 88bbbb6c33 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
rusefi 24bb43c334 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-04-26 19:44:04 -04:00
rusefi 289691a3f2 minor clean-up 2020-04-26 18:47:56 -04:00
rusefi 8149d90814 method inline 2020-04-26 17:50:03 -04:00
rusefi 1b84406e77 dead code 2020-04-26 17:40:12 -04:00
rusefi ab691c4821 minor clean-up 2020-04-26 17:07:39 -04:00
rusefi 6eddc7b22d Fresh generated - auto 2020-04-26 14:19:00 -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 83cca6ec7a
allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00
rusefi e18ee8c097 Bosch vvt shape #1368 2020-04-25 22:23:53 -04:00
rusefi 1f2c35da92 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-25 21:28:01 -04:00
rusefi 23e3d05d35 Bosch vvt shape #1368
skeleton
2020-04-25 19:50:43 -04:00
Matthew Kennedy bfc6d10b5b
types & enums (#1367) 2020-04-25 18:26:29 -04:00
rusefi 7fa38d99a7 Fresh generated - auto 2020-04-25 18:07:37 -04:00
dron0gus 474d5e64cf
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 f4d6fda7de Fresh generated - auto 2020-04-24 23:26:48 -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 f704bf22cb
use the linker! (#1363) 2020-04-24 21:21:04 -04:00
Matthew Kennedy a8f466c615
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 a1a86b71e0 Fresh generated - auto 2020-04-23 23:51:32 -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 3012b18a5c docs 2020-04-23 16:39:32 -04:00
Matthew Kennedy b28740c20e
MAP scheduling (#1352)
* map sched

* format

* guard test
2020-04-23 08:12:44 -04:00
Matthew Kennedy df2db7036d
ETB autotune in its own function (#1350)
* pull out autotune

* oops
2020-04-22 22:22:28 -04:00
rusefi c749807b4b progress 2020-04-22 20:20:22 -04:00
rusefi 3d0f6c70b1 Fresh generated - auto 2020-04-22 19:51:37 -04:00
rusefi 37de9d595a different take on remove warning message in tune #1347 2020-04-22 19:07:42 -04:00
rusefi 86ad5d78ce Fresh generated - auto 2020-04-22 18:56:58 -04:00
rusefi b6287585a7 different take on remove warning message in tune #1347 2020-04-22 18:27:10 -04:00
shadowm60 bb6aa1d82e
can_dash fix for w202 + TS enum (#1346) 2020-04-22 14:24:38 -04:00
shadowm60 638cb64b54
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 fe3030bb23
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
Matthew Kennedy 58e7738718
initialize etbControllers (#1338) 2020-04-21 08:18:32 -04:00
rusefi 387643047f docs 2020-04-20 23:44:59 -04:00
rusefi 799bd8489f BUGFIX: console engine sniffer was not displaying TDC mark properly in cases of negative angles 2020-04-20 22:43:55 -04:00
rusefi bae38f03ce docs 2020-04-20 22:42:34 -04:00
Matthew Kennedy 99489cff67
Improve ETB idle control (#1319)
* compress idle pos

* fix tests for new behavior
2020-04-20 17:29:03 -04:00
Matthew Kennedy 1a5e0a42f8
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 656331ebe9 reducing code duplication 2020-04-20 15:57:03 -04:00
Matthew Kennedy e04008610a
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 934898f903 idle duty cycle clamping 2020-04-20 14:11:40 -04:00
rusefi dc37b1686c separate range for logging errors 2020-04-20 13:58:20 -04:00
Matthew Kennedy 0619575716
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 1c9e56e56f still want RAM?! 2020-04-19 23:56:08 -04:00
rusefi ad7c4f23bc Better handling in case of ETB idle without ETB #1332 2020-04-19 23:55:27 -04:00
rusEfi 1ced7eafbc Better handling in case of ETB idle without ETB #1332 2020-04-19 21:51:27 -04:00
rusEfi 4854d123bb PWM name into warning message 2020-04-19 21:48:14 -04:00
rusEfi 2203b2867a TS to show warning text 2020-04-19 21:42:00 -04:00
rusefi a3202ca612 more butter more better 2020-04-19 20:57:01 -04:00
rusefi 43ba5e1936 multi-channel Tuner Studio tooth logger #1284
composite TDC mark not working?
2020-04-19 20:46:29 -04:00
Matthew Kennedy 8aac233a5f
rewrite etb tests with gmock (#1330) 2020-04-19 20:32:41 -04:00
rusefi 040f7260e7 tiny progress 2020-04-19 19:58:20 -04:00
rusefi eae51514e9 i am clearly distracted :( 2020-04-19 19:20:23 -04:00
rusefi ca19d2fb44 still the cost of remix 66-2-2-2 2020-04-19 18:58:22 -04:00
rusefi c14dce1dad trying to fix build 2020-04-19 18:50:45 -04:00
rusefi 67ba136965 helping build 2020-04-19 18:45:40 -04:00
rusefi 49da8d8ed6 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-19 18:32:48 -04:00
rusefi c5ba138471 date & trigger ram usage 2020-04-19 18:32:36 -04:00
rusefi cc3c6f1b34 Fresh generated - auto 2020-04-19 18:32:24 -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
Matthew Kennedy 75b009bbae
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 741ecd6a31 Fresh generated - auto 2020-04-19 15:47:29 -04:00
Matthew Kennedy fefaa54c92
improve tcharge error handling (#1328) 2020-04-19 15:02:40 -04:00
rusefi 71e7fb7e50 TT_RENIX_66_2_2_2 2020-04-19 14:54:02 -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
Matthew Kennedy 0d699bcfe9
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 7f60384c75
add expected helper class (#1321)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-19 01:53:04 -04:00
rusefi be497685a0 Renix 44-2-2 2020-04-18 22:20:17 -04:00
rusefi 5af28a08d6 FSIO RPN progress 2020-04-18 21:01:23 -04:00
rusefi 114b34a583 better trigger definition API 2020-04-18 20:28:03 -04:00
Matthew Kennedy 4d24fdd57d
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 c166ee9d58 Fresh generated - auto 2020-04-18 16:40:59 -04:00
Matthew Kennedy 7f0e07d9c7
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
rusefi c3113032a3 fresh 2020-04-18 12:20:18 -04:00
Matthew Kennedy d65a244fc7
unused config field (#1314) 2020-04-18 07:57:28 -04:00
Matthew Kennedy 3407a4b216
doesn't need to be virtual (#1315) 2020-04-18 07:56:54 -04:00
rusefi 1ee95abde8 progress 2020-04-17 14:02:10 -04:00
rusefi ed0e5e2aac multi-channel Tuner Studio tooth logger #1284 2020-04-17 12:14:45 -04:00
rusefi 3a70700935 MC progress 2020-04-16 14:08:28 -04:00
rusefi a11166d992 dreaming about 63 volts 2020-04-15 21:28:44 -04:00
rusefi 205f6fea83 fixing build 2020-04-15 21:09:05 -04:00
rusefi e5f97a4ccf more verbose 2020-04-15 20:07:56 -04:00
rusefi 04f652b7e4 fixing build? 2020-04-15 19:50:07 -04:00
rusefi 5c4eb10c52 multi-channel Tuner Studio tooth logger #1284 2020-04-15 19:10:54 -04:00
rusefi a1788c1545 fresh for ETB and engine sniffer usability idea 2020-04-15 18:24:26 -04:00
Matthew Kennedy 1e79bc84ea
add button (#1303) 2020-04-15 18:22:30 -04:00
Matthew Kennedy bc15e0826d
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
Matthew Kennedy 044766ec70
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 ccee238867
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 e32aa5266b multi-channel Tuner Studio tooth logger #1284 2020-04-14 15:17:15 -04:00
rusefi 049724b902 but what?! 2020-04-14 13:27:07 -04:00
rusefi e0712daa63 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 12376e9312 docs 2020-04-14 08:34:51 -04:00
OrchardPerformance 5739032254
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
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
rusefi e60209f527 docs 2020-04-13 12:23:51 -04:00
rusefi 3e1b38043c fresh 2020-04-13 09:23:13 -04:00
shadowm60 15f42b96df
Add w202 canDash support (#1292)
* w202CanDash

added CanDash support for w202

* fixed kinetis
2020-04-13 08:11:06 -04:00
rusefi 1c4488d930 i think we better be explicit about buffer size? 2020-04-12 23:59:24 -04:00
rusefi 63403ab741 better error message 2020-04-12 23:24:46 -04:00
rusefi 041919d940 multi-channel Tuner Studio tooth logger #1284
reducing magic constants
2020-04-12 19:10:36 -04:00
rusefi 12c79b328d date 2020-04-12 18:11:43 -04:00
Matthew Kennedy e1301f3c47
fix maf (#1287) 2020-04-12 15:52:29 -04:00
Matthew Kennedy ff867b9301
fix warnings (#1282)
* warnings

* don't need to template those
2020-04-12 09:39:14 -04:00
Matthew Kennedy 6481b9df0a
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
rusefi 5dc9cb4ace fresh 2020-04-11 22:16:45 -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 04a5a39858 documentation 2020-04-11 22:08:04 -04:00
rusefi b51da343d1 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
rusefi 4c41220c21 progress 2020-04-10 20:31:58 -04:00
Matthew Kennedy 626e8586a4
fix again (#1280)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 19:02:37 -04:00
Matthew Kennedy 84e73e37dd
tps (#1279)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:49:13 -04:00
rusefi f0a4dffacb PPS FSIO not complete support 2020-04-10 17:46:56 -04:00
rusefi 3f56e751d4 better message? 2020-04-10 17:45:04 -04:00
rusefi 73438adc64 fresh 2020-04-10 17:32:36 -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 1bea04a2ed I got distracted as usual :( 2020-04-10 15:49:44 -04:00
rusefi 6a94a58796 progress 2020-04-10 13:32:06 -04:00
rusefi fb06813e12 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
Matthew Kennedy 9831c8c874
simplify (#1275) 2020-04-10 08:12:16 -04:00
rusEfi 19184033dd cj125 diag 2020-04-09 00:12:27 -04:00
rusefi 89474adb63 cj125 progress 2020-04-08 23:14:21 -04:00
rusefi 742bf3f8ab set_cj125_cs_pin & set_cj125_heater_pin 2020-04-08 22:37:00 -04:00
rusefi 4056cf1022 extracting method 2020-04-08 22:36:18 -04:00
rusefi d2bbc30133 isCJ125Verbose 2020-04-08 22:12:33 -04:00
rusefi 64047911c9 fresh 2020-04-08 21:43:05 -04:00
rusefi 4420218994 TunerStudio: Save settings with self-simulation fix #1272 2020-04-08 18:03:46 -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
dron0gus 00417b1040
idle: add two coil idle valve support (#1271) 2020-04-06 17:55:41 -04:00
rusEfi d550554145 date 2020-04-06 14:58:18 -04:00
rusefi d3745c0f9e smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi 607692695e safer version by Dron0Gus 2020-04-06 11:29:09 -04:00
Matthew Kennedy 595df15dfd
fix (#1268) 2020-04-06 09:00:26 -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 7d5df29fbd
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 3186741ddc
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 c33079eb46
cleanup (#1259) 2020-04-04 15:59:13 -04:00
rusefi b29fdc6f4d fresh ini 2020-04-04 09:07:30 -04:00
Matthew Kennedy 36477d348d
remove ETB controlPinMode (#1260) 2020-04-04 08:41:45 -04:00