Commit Graph

6774 Commits

Author SHA1 Message Date
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
Matthew Kennedy 6090924f5b Improve tps error message (#1244)
* improve error messages

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:02:44 -04:00
rusefi 48baff1789 partial revert 2020-04-02 00:37:02 -04:00
rusefi 42ddc885a1 no PPS in slave mode 2020-04-02 00:33:12 -04:00
rusefi be5b4fb3c6 less ETB in case of critical 2020-04-02 00:32:03 -04:00
rusefi b40d4d588d code style 2020-04-01 21:32:21 -04:00
rusefi f3ab4d81f7 start/stop works now 2020-04-01 21:22:54 -04:00
rusefi 5db6414de5 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-01 20:26:00 -04:00
rusefi 0f774b1c1c start/stop works now 2020-04-01 20:25:44 -04:00
Matthew Kennedy 8235d8d765 Fully switch acc pedal to new sensors (#1212)
* proxy sensor

* header

* idle

* can

* settings

* remove old mocking

* remove old impl

* etb

* oops, gotta actually register it

* fix test

* structured bindings ftw!

* driver intent for stepper

* tear out old

* oops too much
2020-04-01 20:21:03 -04:00
rusefi 4146388d86 progress towards E30 M3 Tach output solution #907 #1203 2020-04-01 19:12:34 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
rusefi 5f62c3535a date 2020-04-01 00:42:53 -04:00
Matthew Kennedy 90ec387cdb Sensor-via-CAN (#1241)
* CAN sensor impl

* subscription hookup

* printing

* init

* inject stamp

* don't init const field

* clarify

* guard for non-CAN builds

* fix merge

* guard with EFI_CANBUS_SLAVE

* headers, guards

* include

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-31 23:21:05 -04:00
Matthew Kennedy af76ce9e86 Print all rx packets in can debug mode (#1242)
* print packets in debug mode

* remove extra calls

* fix sign too
2020-03-31 21:18:19 -04:00
rusEfi 3f55b0db59 CAN progress 2020-03-31 20:57:52 -04:00
rusefi ffd262a7ba CAN progress 2020-03-31 20:23:40 -04:00
rusefi f2dafeefe0 CAN progress 2020-03-31 20:08:30 -04:00
rusefi f559976a19 CAN progress 2020-03-31 16:52:52 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusefi 872f32c994 better message 2020-03-31 16:02:13 -04:00
Matthew Kennedy 44871c162c Debugging for sensor converter functions (#1239)
* func print

* resistance func, func chain

* formatting

* resistance func format

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-31 01:07:08 -04:00
rusefi dc52d039e7 start/stop progress 2020-03-31 01:06:19 -04:00
Matthew Kennedy cd41449459 Debuggability in the new sensor world (#1238)
* rename to avoid conflict

* fix efilib

* add sensor printing

* makefile

* that check was already there

* const

* const

* fix tests

* formatting

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-30 18:29:42 -04:00
rusefi 287aa9536f Reducinc code duplication thank you Matt 2020-03-30 14:12:57 -04:00
rusEfi a3588f64fa v12 & dual-TPS 2020-03-30 01:13:02 -04:00
rusefi 21e96141a8 f4-slave 2020-03-29 22:10:13 -04:00
rusefi a806f14c24 f4-slave 2020-03-29 21:42:43 -04:00
rusefi 8a3e47d9e6 refactoring + MAP broadcast consumption 2020-03-29 21:15:06 -04:00
Matthew Kennedy 67f01ff9c7 Friendlier pin names (#1233)
* enable TS error readout

* friendlier text for common errors

* improve comment

* friendlier ADC errors

* ign/inj names

* more pin names
2020-03-29 19:07:07 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi 06da8fe3fa start/stop progress 2020-03-29 17:21:17 -04:00
rusefi 51769df47c progress 2020-03-29 17:08:29 -04:00
rusefi 1956de6cea oooops 2020-03-29 16:56:40 -04:00
rusefi 22ed80f144 docs 2020-03-29 10:29:45 -04:00
rusefi d8fa2f449a ETB progress 2020-03-29 10:29:33 -04:00
rusefi 07dafde68f fsio 2020-03-29 09:03:33 -04:00
rusefi 40b530d6ae fsio 2020-03-29 08:43:13 -04:00
Matthew Kennedy d37b5f0494 Show fatal error text in TS (the right way) (#1232)
* enable TS error readout

* friendlier text for common errors

* improve comment
2020-03-29 07:27:36 -04:00
rusefi 84e0e1b6e9 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi c6ac5ed888 progress 2020-03-28 20:56:58 -04:00
rusefi 79e5059c5a critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi 99af87ccbb code style 2020-03-28 19:49:36 -04:00
rusefi bd3b616d1f no longer relevant 2020-03-28 19:02:46 -04:00
rusefi f08b1542b0 AfterStart Enrichment #1230 2020-03-27 12:13:12 -04:00
rusefi 0e457ecedb date 2020-03-26 19:25:14 -04:00
rusefi ba80e91966 building the wall 2020-03-26 19:24:39 -04:00
rusefi 612131cbd5 #203 2020-03-26 19:22:14 -04:00
Matthew Kennedy 7645e033eb un-generate (#1228) 2020-03-26 11:52:19 -04:00
Matthew Kennedy 7596a80242 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 b7033bbde9 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 fb222514c1 vscode config (#1227)
* vscode config

* actually don't hide those

* format
2020-03-26 08:02:37 -04:00
Matthew Kennedy b7b67a2a7f 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 8642a0a6c7 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
Matthew Kennedy 9ba4279264 no fahrenheit (#1224) 2020-03-25 19:04:21 -04:00
Matthew Kennedy 2e12329199 Default to applyPinState (#1219)
* make applyPinState default

* consumers

* format
2020-03-25 18:14:09 -04:00
Matthew Kennedy 5420e5ef6d Fix mre vbatt (#1218)
* Revert "vbatt MRE happiness"

This reverts commit 4c5477f2cd.

* update comments
2020-03-25 16:23:04 -04:00
rusefi 5649f26348 allPins consistency thank you AndreiKa 2020-03-25 10:03:09 -04:00
rusefi e386955741 start/stop progress 2020-03-25 01:41:15 -04:00
rusefi b9ea8d74ae start/stop progress 2020-03-25 01:28:37 -04:00
rusefi 736957a875 startStopDialog 2020-03-25 00:58:59 -04:00
rusEfi 5928cd486a pretty slow v12 progress 2020-03-24 23:17:54 -04:00
rusEfi 66990d5c8d Launch debug mode 2020-03-24 23:09:35 -04:00
rusEfi 44fdb83844 dual ETB progress 2020-03-24 20:22:01 -04:00
Matthew Kennedy 45f5afe871 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 a910ab3da5 launch control #203 2020-03-24 19:55:12 -04:00
rusefi aa28127211 random code inspired by Ola 2020-03-24 19:50:04 -04:00
rusefi 92a13312dc random code inspired by Ola 2020-03-24 19:21:20 -04:00
rusefi 74b191d6d0 random code from Ola 2020-03-24 19:14:16 -04:00
rusefi 2b06452aa5 fine 2020-03-24 16:46:36 -04:00
rusefi 1785517286 simpler API? 2020-03-24 02:33:20 -04:00
rusefi 3232aeb80c progress 2020-03-23 23:51:51 -04:00
rusefi 44b2cd1254 date 2020-03-23 23:28:17 -04:00
rusefi 42834ba5ec launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi 9e9c4249e2 progress 2020-03-23 23:16:57 -04:00
rusefi bd4cf816e8 progress 2020-03-23 23:15:44 -04:00
rusefi a5c9457eb9 progress 2020-03-23 23:06:52 -04:00
rusefi ff663692c0 code style 2020-03-23 22:31:24 -04:00
rusefi d770290d0e launch control #203 2020-03-23 22:30:47 -04:00
rusefi 205fdcee66 launch control #203 2020-03-23 20:44:34 -04:00
rusefi e58f00692e start/stop progress 2020-03-23 10:32:41 -04:00
rusefi 4d617aa0fe random header clean-up 2020-03-23 09:00:57 -04:00
rusefi 7c991fedce moving a bit of crazy aside 2020-03-23 00:01:59 -04:00
rusefi ce1a11ead5 code style 2020-03-23 00:00:11 -04:00
rusefi d3071ea348 start/stop progress debug mode 2020-03-22 20:43:27 -04:00
Matthew Kennedy 61c4d0fe83 save some ram (#1211)
* remove dead stuff

* why store those pointers twice?
2020-03-22 19:06:29 -04:00
Matthew Kennedy 8731c0100f Proxy sensor for extra magic (#1210)
* proxy sensor

* header
2020-03-22 17:29:01 -04:00
Matthew Kennedy 3840440e97 Accelerator pedal with new sensors (#1208)
* add pedal sensor

* update status loop

* add bit to ts

* fix math

* divide at config time

* this used a little bit of ram
2020-03-22 17:09:46 -04:00
Matthew Kennedy fefb5e3b1a Pedal rx shim (#1207)
* rx pedal over can

* guard

* guard

* don't cast away qualifiers
2020-03-21 22:35:27 -04:00
rusefi fb115578dc start/stop 2020-03-20 20:45:35 -04:00
rusefi a6c3b220d6 At least read all TPS inputs 2020-03-20 19:55:36 -04:00
rusefi b55a892e3a At least read all TPS inputs 2020-03-20 09:53:45 -04:00
rusEfi fbbac83010 v12 progress 2020-03-20 00:36:22 -04:00
Matthew Kennedy fa8036e4b6 fix (#1202)
* fix test

* shrink memory
2020-03-19 20:02:49 -04:00
Matthew Kennedy 2ae689073a Grow CAN TX stack (#1201)
* grow

* check mock first
2020-03-19 19:29:56 -04:00
Matthew Kennedy 4096483aec custom verbose can format (#1200)
* config

* ts

* default cfg

* hand generate

* tx struct helper

* add data sending

* wire up

* value_or helper

* add file

* more sensors

* header

* compactify

* add status frame

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 17:58:46 -04:00
Matthew Kennedy 9f5eece62d split out can tx logic (#1197)
* move to can folder

* split out can rx

* only print in debug mode

* guard on feature flag

* split out tx

* headers

* headers

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 14:01:07 -04:00
rusefi 37bdc68ff5 "rusefi CAN" config #1198 2020-03-19 09:22:16 -04:00
Matthew Kennedy f2994d6889 split out can rx logic (#1196)
* move to can folder

* split out can rx

* only print in debug mode

* guard on feature flag

* headers

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 08:43:37 -04:00
Matthew Kennedy 3ecedc8ccc move to can folder (#1195)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 23:20:00 -04:00
Matthew Kennedy 1b4d98a7f0 Add new CanTxMessage class, consume in OBD2 (#1186)
* relocate

* include path

* simulator makefile

* fix mre while we're at it

* it would help if I fixed it right

* add can_msg

* convert obd2

* guard properly

* better include order

* docs & headers

* inject CAN device

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 22:07:41 -04:00
Matthew Kennedy f43042d61b const (#1193) 2020-03-18 21:55:46 -04:00
rusefi 17b498a0f3 progress towards start/stop 2020-03-18 19:41:12 -04:00
rusEfi b9d6f33b82 v12 2020-03-18 17:46:46 -04:00
rusefi d9690bed3a progress towards start/stop 2020-03-18 16:32:03 -04:00
rusefi b442d16d87 progress towards start/stop 2020-03-18 15:56:17 -04:00
rusefi b7324c9a51 proteus-f4 was requested 2020-03-18 11:37:53 -04:00
rusefi d79148b4ea proteus-f4 was requested 2020-03-18 10:19:17 -04:00
rusefi ed947d5ce6 proteus-f4 was requested 2020-03-18 09:32:46 -04:00
rusEfi f2b3fe281e v12 & ETB progress 2020-03-18 00:24:10 -04:00
rusEfi 5a21db41a4 v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusefi 717400e1c4 hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
rusefi f44cda67bc docs 2020-03-17 13:40:14 -04:00
rusefi 782724fdd9 Merge remote-tracking branch 'origin/master' 2020-03-17 10:21:01 -04:00
rusefi ecfc8c250e cj125 usability 2020-03-17 10:20:29 -04:00
rusEfi e18fb9419d RemindMe! add 16 cylinder firing order on April 1st 2020-03-16 17:13:27 -04:00
rusEfi 0e3f8b1b5c docs 2020-03-16 16:39:42 -04:00
Matthew Kennedy 78c1a614cd 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
Matthew Kennedy 1f57bdc556 bootloader ci (#1189)
* bootloader ci

* trailing slash

* Revert "progress?"

This reverts commit e5c3da2ab1.

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 22:12:52 -04:00
rusefi e5c3da2ab1 progress? 2020-03-13 21:23:58 -04:00
rusefi 61f7851264 progress 2020-03-13 20:36:07 -04:00
rusefi 0554e83d0c fixing build? 2020-03-13 20:30:07 -04:00
Matthew Kennedy 214285facc Deduplicate mpu_util headers (#1187)
* this flag did nothing

* header dedupe

* mre fix again

* get all dependencies in mpu_util.h

* guard can/spi

* more dedupe

* pragma once

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 18:48:22 -04:00
Matthew Kennedy f18e848d9c remove (#1188)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 17:19:29 -04:00
Matthew Kennedy 9a81b7d2c5 Move can_hw.cpp in to drivers folder (#1184)
* relocate

* include path

* simulator makefile

* fix mre while we're at it

* it would help if I fixed it right
2020-03-13 09:50:43 -04:00
rusefi 857f329b06 docs & wall 2020-03-13 02:27:44 -04:00
rusEfi 1430adcc33 docs 2020-03-12 00:20:05 -04:00
rusEfi b089596641 v12 2020-03-12 00:16:32 -04:00
rusEfi cb37a6f51d v12 2020-03-11 20:48:09 -04:00
rusEfi f2f1b63881 wall of text 2020-03-11 03:08:20 -04:00
rusEfi 8490fc731d TPS#2 gauge 2020-03-11 02:10:57 -04:00
rusefi 6e90dc6c1f Merge branch 'master' of https://github.com/rusefi/rusefi 2020-03-10 19:12:53 -04:00
rusefi bd34f5479a In case of incompatible firmware and console we have a vague error message fix #1180 2020-03-10 19:12:37 -04:00
Matthew Kennedy adac5fba78 Control stepper with dual H-bridges (#1121)
* divorce stepper from hw

* oops

* ptr not ref

* hbridge stepper

* typo

* hook up twin h

* hook up hardware

* use config field

* hook up motor repo

* guard tests

* whoops

* ok fix for real

* ok that's the right thing

* do full stepping

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.stagpad.local>
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
2020-03-10 15:18:29 -04:00
Matthew Kennedy 010de27f0b hbridge idle ui (#1178) 2020-03-10 14:31:00 -04:00
rusEfi a1fc53e269 more of the same 2020-03-09 19:29:10 -04:00
rusEfi c816317a0f stepper in TS should be output not any 2020-03-09 19:15:13 -04:00
rusefi 2ae15b5bab hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
rusefi aa5e6feb41 better message 2020-03-08 09:17:55 -04:00
rusefi 7bbe4f791a date 2020-03-08 09:17:43 -04:00
rusefi 98d402a66f logicAnalyzerMode was unused, removing for now 2020-03-08 09:14:49 -04:00
Matthew Kennedy 8ceb5c8996 fix icu trigger polarity (#1177)
* fix polarity

* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi a0e838467a date 2020-03-07 15:55:08 -05:00
Matthew Kennedy a7a7d90399 ignore vbus (#1175) 2020-03-07 15:53:38 -05:00
Matthew Kennedy 53a39f5e17 don't use standard sprintf/snprintf (#1174) 2020-03-07 10:28:18 -05:00
Matthew Kennedy 3c7ae8ca17 Simplify flash logic (#1154)
* simplify flash stuff

* put those back for now

* and those

* extra check

* fix

* crc the correct thing

* undo crc changes

* unwind
2020-03-07 10:23:30 -05:00
rusEfi bf6082b828 slow v12 progress 2020-03-07 00:45:45 -05:00
rusefi 0e8acf6514 CLT stops working when using 2-0 custom trigger wheel #1171 2020-03-06 01:31:04 -05:00
rusefi a5fb0e44c1 code style 2020-03-06 01:26:33 -05:00
rusefi 0865b7be2e better invalid configuration handling 2020-03-05 21:16:45 -05:00
Matthew Kennedy 6d8eedf9ca Split out EtbHardware (#1168)
* start tear out motor

* fix

* nuke reconfig

* guard for test

* test fixing

* format, condense headers

* fix todos

* undo todo

* format
2020-03-03 17:56:50 -05:00
Matthew Kennedy eb46d7bd58 warnings (#1169) 2020-03-03 08:37:02 -05:00
960 b93ea1b360 Update rusefi.input (#1165) 2020-03-02 20:54:47 -05:00
Matthew Kennedy 52c7d6dfbe proteus prepend (#1166) 2020-03-02 20:02:25 -05:00
rusefi 3a3d693cec useHbridges 2020-03-02 19:49:47 -05:00
rusefi 58cc442a18 better setting name and help? 2020-03-01 22:32:09 -05:00
rusefi 9e47bf2b02 hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusefi f298817af2 mapping docs 2020-02-29 23:22:39 -05:00
rusefi 4e03792b14 MRE PNP 2020-02-29 23:15:04 -05:00
rusefi b899e182c2 PC simulator: TS over HW VSP wants lower blockingFactor fix #794 2020-02-28 18:12:22 -05:00
rusefi e196e1c6b3 todo NB2 2020-02-27 21:28:31 -05:00
rusEfi e536bce7f2 v12 2020-02-27 03:29:03 -05:00
rusEfi c9ac205864 throttle2Position 2020-02-27 03:28:49 -05:00
rusEfi 7e07d18afe throttle2Position progress 2020-02-27 03:21:42 -05:00
rusEfi b866b57d23 we need tpsinfo especially when data is invalid! 2020-02-27 02:21:01 -05:00
rusEfi 040e040b4a verboseTLE8888 2020-02-27 02:11:20 -05:00
rusefi 1b2b89537c fixing build 2020-02-27 01:51:21 -05:00
rusEfi d11121b9a7 giving C code access to CONFIG 2020-02-27 01:32:26 -05:00
rusEfi a17403ada3 verboseTLE8888 2020-02-27 01:11:44 -05:00
Matthew Kennedy a2a5b40ced Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy d5034ab8c2 this flag did nothing (#1161) 2020-02-26 17:30:02 -05:00
Matthew Kennedy f513706b53 insert dsb on flash write (#1160) 2020-02-25 23:52:11 -05:00
rusEfi c2ab5f4871 more mc33816 2020-02-25 22:38:08 -05:00
rusEfi 45be5f4f16 fresh generated 2020-02-25 22:01:13 -05:00
rusefi 6b3228b9f1 TEST_33816 2020-02-25 21:35:21 -05:00
Matthew Kennedy 2437aaffc6 Omit canned configs from Proteus (#1159)
* omit presets from proteus

* ifdef guard
2020-02-25 19:46:22 -05:00
Matthew Kennedy c14381a393 default to O2 (#1155) 2020-02-24 21:49:04 -05:00
Matthew Kennedy 6db8978667 Add single flag for omitting PnP configs (#1157)
* switch to single enable flag

* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
Matthew Kennedy ef0dfc6ec4 split out scaled channel header (#1156)
* split out scaled channel header

* update header
2020-02-24 16:47:10 -05:00
rusefi d755e95768 v12 2020-02-24 00:20:36 -05:00
rusefi f1866f6792 migrate slow ADC to software timer so that TIM8 is also available for input capture #630 2020-02-24 00:12:51 -05:00
rusefi 33ba33d533 MRE technical info 2020-02-24 00:12:26 -05:00
rusefi ebb1980b50 v12 2020-02-23 09:16:11 -05:00
rusefi 923daaa3a1 ETB: expand automated testing #115 2020-02-22 23:18:02 -05:00
rusEfi 627fe4ba53 better trigger LiveDocs 2020-02-22 15:39:00 -05:00
rusEfi 76c9ecb715 better script name 2020-02-22 15:38:21 -05:00
rusefi e2704a4525 minor progress 2020-02-22 13:04:19 -05:00
rusefi 2fb89b4676 explicit cross-referencing 2020-02-21 20:08:16 -05:00
rusefi 59fc61ccfd poke CI 2020-02-21 19:50:43 -05:00
Matthew Kennedy bcbac0b47f minor simplify spark (#1150)
* simplify

* rename
2020-02-21 19:35:11 -05:00
rusefi 94fc0451f9 "so I guess defaults are fine then, maybe add main relay = PB9" 2020-02-21 19:31:36 -05:00
rusefi 833f491f05 M73 2020-02-19 22:34:51 -05:00
rusefi 6d5734c40e proteus 2020-02-19 22:34:38 -05:00
rusEfi e9ac797ac9 reviving FRANKENSO_QA_ENGINE 2020-02-18 17:53:56 -05:00
rusefi 84640f43f0 bugfix - new option was flipped in TS 2020-02-18 16:38:57 -05:00
rusefi f929301d18 my take on useRunningMathForCranking 2020-02-18 10:47:39 -05:00
rusefi 83d7085f40 code style & pleasing LGTM 2020-02-18 08:16:19 -05:00
rusEfi 4c5477f2cd vbatt MRE happiness 2020-02-16 16:59:33 -05:00
rusefi 1c4dfcab6e making migration seamless on useRunningMathForCranking 2020-02-16 16:13:15 -05:00
rusefi d722146e1e dreams about useFixedMsForCranking 2020-02-15 19:17:42 -05:00
rusefi 94c2f3a4cd he owes me one now 2020-02-14 23:03:26 -05:00