Commit Graph

2049 Commits

Author SHA1 Message Date
rusefi 725d2b816d WBO 2020-05-20 19:01:55 -04:00
rusefi de5dec46cb Fresh generated - auto 2020-05-20 11:24:49 -04:00
rusefi 7dd08e2019 progress 2020-05-20 09:16:26 -04:00
rusefi 2bed032684 Clean-up analog channels in "unit" tests fix #1456 2020-05-20 08:55:38 -04:00
Matthew Kennedy 44e2a1c970
remove test clt/iat (#1457)
* remove test clt/iat

* remove warning since this code is nearly dead
2020-05-20 03:16:01 -04:00
rusefi b9fedcab5a [Feature Request] Transmission Control #1454 2020-05-20 01:05:15 -04:00
rusefi e8dc343f7b fresh enums 2020-05-20 00:56:16 -04:00
Matthew Kennedy 9dda1a21bc
Redundant tps (#1427)
* add redundant sensor

* add tests

* add configure, info printing

* tests

* tests

* partial hookup

* fix

* fix

* bad makefile merge

* use second TPS config

* update test

* update test

* sensor names

* set second pin by default

* fix auto cal

* auto cal both sensors

* add reconfigure of secondary sensors

* gobblin' up your ram

* slow down write a little bit

* put split in debug gauge

* s

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
rusefi aa517d96cd hard-coding NB2 OEM sensor 2020-05-18 01:39:41 -04:00
rusefi 8b294eea75 something too special with Kinetis? 2020-05-18 01:25:10 -04:00
rusefi d9bbace609 reducing magic constant copy/paste & MAP dialog progress 2020-05-18 01:15:13 -04:00
rusefi afc763f068 better VVT progress 2020-05-15 21:33:25 -04:00
dron0gus e3fd0a186a
Minor fixes (#1437)
* cmpilation warning cleanup

* exti trigger: mark pins used, handle errors
2020-05-15 18:03:18 -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
dron0gus 48aa40b344
smart gpios: remove dead code (#1432) 2020-05-14 16:15:55 -04:00
rusefi dff7bbd4e0 SD card for MRE 2020-05-13 23:26:28 -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 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 ac9faf6646 docs & clean-up 2020-05-10 00:59:32 -04:00
rusefi 8d91cc65cc 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi fcbba66e89 rusEFI online engine crc 2020-05-09 22:43:39 -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
rusefi 2d18777d00 helping build 2020-05-05 15:47:14 -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 a208078f7c haha notes 2020-05-04 23:38:32 -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 96ceae7d17 refactoring: using constructor life-cycle to simplify initialization sequence 2020-05-02 23:15:48 -04:00
rusefi f456799310 reducing confusion? 2020-05-02 22:06:11 -04:00
rusefi 9180154848 Add firing order fix #1385 2020-04-29 16:46:59 -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 83cca6ec7a
allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -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
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
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
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
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 dc37b1686c separate range for logging errors 2020-04-20 13:58:20 -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 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 67ba136965 helping build 2020-04-19 18:45:40 -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 be497685a0 Renix 44-2-2 2020-04-18 22:20:17 -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 d65a244fc7
unused config field (#1314) 2020-04-18 07:57:28 -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
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
shadowm60 15f42b96df
Add w202 canDash support (#1292)
* w202CanDash

added CanDash support for w202

* fixed kinetis
2020-04-13 08:11:06 -04:00
rusefi 63403ab741 better error message 2020-04-12 23:24:46 -04:00
Matthew Kennedy e1301f3c47
fix maf (#1287) 2020-04-12 15:52:29 -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 fb06813e12 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusefi 89474adb63 cj125 progress 2020-04-08 23:14:21 -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
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 bc3f0c6b27
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 9f75c0cea6
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 fcef353b12 could this work? 2020-04-03 16:14:29 -04:00
rusefi 0bd2291866 flipped 60/2? 2020-04-03 00:44:54 -04:00
Matthew Kennedy f958047d14
only correct timing in dynamic mode (#1247)
* only correct in dynamic mode

* redundant check
2020-04-02 08:54:55 -04:00
rusefi b7618dbed1 CAN progress 2020-03-31 20:23:40 -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 6ff928a798 f4-slave 2020-03-29 22:10:13 -04:00
rusefi d52ec6a58f refactoring + MAP broadcast consumption 2020-03-29 21:15:06 -04:00
Matthew Kennedy 8fd9842310
cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi 6f5468d3ea critical error usability improvements 2020-03-28 20:14:17 -04:00
Matthew Kennedy 9385e9fc8f
un-generate (#1228) 2020-03-26 11:52:19 -04:00
Matthew Kennedy 53679fab54
Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -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
rusefi ee7c0895bf start/stop progress 2020-03-25 01:28:37 -04:00
rusefi 7ab0a9cd76 startStopDialog 2020-03-25 00:58:59 -04:00
Matthew Kennedy 2c809e4475
Remove old monitoring timestamps (#1217)
* remove monitoring timestamps

* adv map

* fuel calc

* map avg

* printing

* spark logic

* hip 9011

* new traces

* s

* missed a few
2020-03-24 20:19:19 -04:00
rusefi 9e125ecbdf launch control #203 2020-03-24 19:55:12 -04:00
rusefi 5dce6e7104 launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi 63c3ae1b51 launch control #203 2020-03-23 22:30:47 -04:00
rusefi 43440afade launch control #203 2020-03-23 20:44:34 -04:00
rusefi 31ef10fe1c start/stop progress 2020-03-23 10:32:41 -04:00