Commit Graph

6775 Commits

Author SHA1 Message Date
rusefi afa185f3bd i just want to build 2020-04-20 09:10:18 -04:00
rusefi ba0dad82e9 Better handling in case of ETB idle without ETB #1332 2020-04-20 00:23:32 -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
rusefi 581d0d5711 Merge remote-tracking branch 'origin/master' 2020-04-19 15:24:12 -04:00
rusefi d7a6356f1d FAQ 2020-04-19 15:23:51 -04:00
kon a243b36504
aux serial config files (#1326) 2020-04-19 15:04:59 -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 c413b64844 Renix 44-2-2 2020-04-18 22:23:45 -04:00
rusefi be497685a0 Renix 44-2-2 2020-04-18 22:20:17 -04:00
rusefi 82fc1ca30a Fresh generated - auto 2020-04-18 21:31:12 -04:00
Matthew Kennedy 052be17533
oops (#1320) 2020-04-18 21:12:51 -04:00
rusefi 5af28a08d6 FSIO RPN progress 2020-04-18 21:01:23 -04:00
rusefi 8fbe6e5964 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-18 20:28:22 -04:00
rusefi 114b34a583 better trigger definition API 2020-04-18 20:28:03 -04:00
rusefi 0be7d737b9 Revert "Fresh generated - auto"
This reverts commit bff9199a25.
2020-04-18 19:11:47 -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 bff9199a25 Fresh generated - auto 2020-04-18 18:44:03 -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 9cb08365a2
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 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
Matthew Kennedy 08da3ba0b6
ETB pedal map scale (#1316) 2020-04-18 07:55:33 -04:00
Matthew Kennedy 4641f6760c
fix (#1309)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 18:27:20 -04:00
Matthew Kennedy 2fdce936f0
deduplicate logic (#1307)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 16:26:51 -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 1a1f81d9cb fresh 2020-04-17 07:25:17 -04:00
Matthew Kennedy e739b49446
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 82c3a7b2d4 minor fix 2020-04-16 16:04:38 -04:00
NOx-z fde7acd16f
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 2f51b0c6f8 "GDI dreams" menu to TS 2020-04-16 14:31:03 -04:00
rusefi 3a70700935 MC progress 2020-04-16 14:08:28 -04:00
NOx-z 0657e3aeac
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 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 5f447d4d46 fresh 2020-04-15 20:29:39 -04:00
rusefi d73e21a289 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 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
rusefi 390110f8f8 https://rusefi.com/forum/viewtopic.php?p=36201#p36201 2020-04-15 17:03:26 -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
rusefi 171cf82b7d test pins are needed 2020-04-15 16:20:18 -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 8190971fc8 mc33 fix 2020-04-14 19:36:25 -04:00
rusefi 18c5fba979 MC restart 2020-04-14 19:23:53 -04:00
rusefi d5d6ab9436 stimulator to all pins 2020-04-14 19:09:26 -04:00
rusefi e32aa5266b multi-channel Tuner Studio tooth logger #1284 2020-04-14 15:17:15 -04:00
rusefi 0cce98793a mc33 better error handling 2020-04-14 15:07:24 -04:00
rusefi 90ecfb51fe mc33 better error handling 2020-04-14 15:05:33 -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
rusefi 116b79a162 fresh 2020-04-14 01:22:45 -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
NOx-z 2d663b844b
mc33 flash check (#1296)
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-04-14 00:57:19 -04:00
rusefi 5f1e4666e2 multi-channel Tuner Studio tooth logger #1284 2020-04-13 20:47:54 -04:00
rusefi 412fea4648 mc33 progress 2020-04-13 20:01:06 -04:00
rusefi 33deca6c42 mc progress 2020-04-13 19:49:02 -04:00
rusefi 0be8ff3357 copy/paste is evil 2020-04-13 19:14:30 -04:00
rusefi 21c7efbf53 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-13 19:01:34 -04:00
rusefi 4cde884f1d MC flag0 2020-04-13 19:01:22 -04:00
Matthew Kennedy 89736f85f7
allow different dlc (#1294)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-13 17:05:52 -04:00
rusEfi b6e0113320 MRE docs 2020-04-13 14:30:17 -04:00
rusefi ced931c9b2 new attempt at better simulator 2020-04-13 13:12:55 -04:00
rusefi e60209f527 docs 2020-04-13 12:23:51 -04:00
rusefi 25b281c9e7 fixing build 2020-04-13 10:23:08 -04:00
rusefi 3e1b38043c fresh 2020-04-13 09:23:13 -04:00
Matthew Kennedy 7181cb96e1
add new config (#1290) 2020-04-13 09:21:51 -04:00
rusefi f135591a69 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-13 09:15:05 -04:00
rusefi a08a6cebff progress 2020-04-13 09:14: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 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
Christopher W. Anderson 1d9355a05b mc33816 driven to high, and a few additional checks
ven#
2020-04-12 18:09:57 -04:00
rusefi d8f804e32d fresh 2020-04-12 17:49:14 -04:00
Matthew Kennedy 3e1fb34db5
fix typo (#1288) 2020-04-12 17:48:38 -04:00
rusefi c69e87022a Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-12 17:47:49 -04:00
rusefi b56310195d one place for default test config 2020-04-12 17:47:30 -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 376ca47f12 DI progress 2020-04-11 21:48:04 -04:00
rusefi bcc8152086 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-11 10:20:56 -04:00
rusefi 4a22b77335 making magic constants a bit less fragile 2020-04-11 01:52:16 -04:00
rusefi b51da343d1 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
rusefi c233d9d1b3 really rusEFI LLC 2020-04-10 23:30:44 -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 a613aeddad general help with image 2020-04-09 18:09:17 -04:00
rusEfi 9d2249390f cj125 diag 2020-04-09 00:17:29 -04:00
rusEfi 19184033dd cj125 diag 2020-04-09 00:12:27 -04:00
rusEfi 32e83062d1 docs 2020-04-08 23:27:26 -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 5931fdb915 refactoring 2020-04-08 21:23:49 -04:00
rusEfi 054c787d56 docs 2020-04-08 20:37:46 -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 4a8a06c59e v12 2020-04-06 17:24:20 -04:00
rusEfi d550554145 date 2020-04-06 14:58:18 -04:00
Andrey Gusakov dae398d6cd 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 30ccaa4c24 pin_repository: fix compilation for devices without TLE8888 2020-04-06 14:29:02 -04:00
rusefi 66570a0f28 smart gpio clean-up 2020-04-06 14:28:08 -04:00
rusefi d3745c0f9e smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi 2f69beee31 a bit of header clean-up 2020-04-06 13:05:30 -04:00
rusefi 1bc5be67ab clean-up 2020-04-06 12:58:04 -04:00
rusefi 2efa22f926 code style 2020-04-06 12:34:21 -04:00
rusEfi ba9424f538 clean-up by Dron0Gus 2020-04-06 11:55:44 -04:00
rusefi 988ee244f3 lib function by Dron0Gus 2020-04-06 11:29:40 -04:00
rusefi 607692695e safer version by Dron0Gus 2020-04-06 11:29:09 -04:00
Matthew Kennedy 200bfe3f80
Deadband helper & tests (#1267)
* deadband

* header

* comment
2020-04-06 09:16:26 -04:00
Matthew Kennedy 595df15dfd
fix (#1268) 2020-04-06 09:00:26 -04:00
rusefi 5cefd5c086 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-05 22:25:35 -04:00
rusefi 9867c4509e thank you Ola! 2020-04-05 22:25:09 -04:00
Matthew Kennedy 345bf61bd5
Goodbye, old TPS (#1266)
* clear out tps

* boost control

* aux valves

* launch, aux valves

* unused field
2020-04-05 19:33:33 -04:00
rusefi b43da0d0f8 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 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 b62f578fab KLUDGE? we always show VBatt because Proteus board has VBatt input sensor hardcoded 2020-04-04 09:31:56 -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
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 f10f2109ab
always show vbatt (#1262) 2020-04-04 07:42:14 -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 067063e024 v12 2020-04-03 17:44:55 -04:00
rusefi fcef353b12 could this work? 2020-04-03 16:14:29 -04:00
rusefi 16ada2d85d extracting magic constant 2020-04-03 16:06:21 -04:00
Matthew Kennedy 0ca63356c0
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
rusefi d2a0748f67 kinetis 2020-04-03 09:37:36 -04:00
Matthew Kennedy 1fe39e81e0
fix (#1251) 2020-04-03 07:48:12 -04:00
rusefi 0bd2291866 flipped 60/2? 2020-04-03 00:44:54 -04:00
rusefi db82363325 v12 2020-04-03 00:19:04 -04:00
rusefi 99afae86c9 v12 2020-04-02 22:59:01 -04:00
rusefi eea460fbce isFasterEngineSpinUpEnabled 2020-04-02 21:49:31 -04:00
Matthew Kennedy b197c6ff07
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 5923cb01d4 Trigger Counters fix 2020-04-02 16:48:35 -04:00
Matthew Kennedy a193ae3e42 switch (#1250) 2020-04-02 16:26:06 -04:00
shadowm60 ea4cfa9046
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 b015ec5944
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 f958047d14
only correct timing in dynamic mode (#1247)
* only correct in dynamic mode

* redundant check
2020-04-02 08:54:55 -04:00
Matthew Kennedy 22267e5479
Replace hasPedalPositionSensor (#1245)
* remove

* add Sensor::hasSensor

* consume in etb

* remove unused state

* don't use it there either

* format

* fix up tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
Matthew Kennedy 8151793ec7
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 0edb791cff partial revert 2020-04-02 00:37:02 -04:00
rusefi 61b2febeb8 no PPS in slave mode 2020-04-02 00:33:12 -04:00
rusefi e9665e1ddc less ETB in case of critical 2020-04-02 00:32:03 -04:00
rusefi a47dce4025 code style 2020-04-01 21:32:21 -04:00
rusefi eef32ee4fc start/stop works now 2020-04-01 21:22:54 -04:00
rusefi cd3ef56b55 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-01 20:26:00 -04:00
rusefi 63246269c7 start/stop works now 2020-04-01 20:25:44 -04:00
Matthew Kennedy 50cd6549a2
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 26f1ff996b progress towards E30 M3 Tach output solution #907 #1203 2020-04-01 19:12:34 -04:00
rusefi 907b80efa9 code style 2020-04-01 19:00:56 -04:00
rusefi 46cd4af9aa date 2020-04-01 00:42:53 -04:00
Matthew Kennedy 15c40ffb5b
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 e5e243f0a7
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 96828ae017 CAN progress 2020-03-31 20:57:52 -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 b9eaa3a797 better message 2020-03-31 16:02:13 -04:00
Matthew Kennedy f41f0454bd
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 65e362740b start/stop progress 2020-03-31 01:06:19 -04:00
Matthew Kennedy 483d4a2204
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 057b447d3d Reducinc code duplication thank you Matt 2020-03-30 14:12:57 -04:00
rusEfi 2a2b00f2d9 v12 & dual-TPS 2020-03-30 01:13:02 -04:00
rusefi 6ff928a798 f4-slave 2020-03-29 22:10:13 -04:00
rusefi 318bffaf53 f4-slave 2020-03-29 21:42:43 -04:00
rusefi d52ec6a58f refactoring + MAP broadcast consumption 2020-03-29 21:15:06 -04:00
rusefi bdb8eb621c kinetis 2020-03-29 20:48:19 -04:00
Matthew Kennedy d541e04a7d
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 8fd9842310
cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi b0d8cae798 start/stop progress 2020-03-29 17:21:17 -04:00
rusefi 42456329b8 progress 2020-03-29 17:08:29 -04:00
rusefi b3be6f03a2 oooops 2020-03-29 16:56:40 -04:00
rusefi 19ff4ff2e6 docs 2020-03-29 10:29:45 -04:00
rusefi 0bb1f1f55f ETB progress 2020-03-29 10:29:33 -04:00
rusefi 70f1ae9271 fsio 2020-03-29 09:03:33 -04:00
rusefi fdc918d2e2 fsio 2020-03-29 08:43:13 -04:00
rusefi 7edf4cae70 progress 2020-03-29 08:23:59 -04:00
Matthew Kennedy 61ee03ee06
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 5c2794c2e0 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi d1b5a51400 progress 2020-03-28 20:56:58 -04:00
rusefi 6f5468d3ea critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi 6d848b6bda code style 2020-03-28 19:49:36 -04:00
rusefi 593565b56d no longer relevant 2020-03-28 19:02:46 -04:00
rusefi 8fd52ba50a AfterStart Enrichment #1230 2020-03-27 13:38:42 -04:00
rusefi 8fc39cbc94 AfterStart Enrichment #1230 2020-03-27 12:13:12 -04:00
rusefi 076954d72e date 2020-03-26 19:25:14 -04:00
rusefi a145701ffa building the wall 2020-03-26 19:24:39 -04:00
rusefi c778a44c8f #203 2020-03-26 19:22:14 -04:00
Matthew Kennedy 9385e9fc8f
un-generate (#1228) 2020-03-26 11:52:19 -04:00
rusefi b21a4bc16e fresh generated 2020-03-26 11:43:14 -04:00
Matthew Kennedy e227018c85
Ts cleanup 2 (#1226)
* remove biquad config

* fuel pump clarity

* hide stuff

* hide more stuff correctly

* more hides

* hide comparator except for kinetis

* didn't mean to change all those

* fix kinetis
2020-03-26 11:41:58 -04:00
Matthew Kennedy 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 a410e00609
vscode config (#1227)
* vscode config

* actually don't hide those

* format
2020-03-26 08:02:37 -04:00
Matthew Kennedy a5d4d06868
Multispark implementation (#1192)
* multispark prototype

* only multispark if not cut

* typo

* do some reasonableish math

* consume cfg

* todo

* bad merge

* move math out of engine2.cpp

* engine state config

* consume generated

* use new

* hand generate

* doc, debugging

* debug channel names

* don't depend on rpmcalc

* safer, fix math

* tests

* default multispark config

* remove todo

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

* fuel pump clarity

* one code usage

* minimal generate for ci

* and don't build it either

* remove commented out code
2020-03-25 23:00:17 -04:00
rusEfi 1fb9e181a0 Dear Fahrenheit, it was fun! Hope to see you back one day. 2020-03-25 19:06:35 -04:00
Matthew Kennedy 85951b8fdc
no fahrenheit (#1224) 2020-03-25 19:04:21 -04:00
Matthew Kennedy 2349d74f0b
Default to applyPinState (#1219)
* make applyPinState default

* consumers

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

This reverts commit ca1d44ae2c.

* update comments
2020-03-25 16:23:04 -04:00