Commit Graph

8402 Commits

Author SHA1 Message Date
CrazyStriker 695228e39c
48 pins breakout v0.2 (#1270)
* pcb v0.2, waiting for gerbers

* added gerbers for v0.2 48 pins breakout
2020-04-06 16:23:14 -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 a50459c52a github issue template 2020-04-04 09:15:02 -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 57d6d05335 fresh html 2020-04-03 12:24:59 -04:00
rusefi bd80a81ffb pictures 2020-04-03 12:19:52 -04:00
rusefi bdc53cce10 pictures 2020-04-03 10:05:57 -04:00
rusefi ef971f7d17 fresh librariries 2020-04-03 09:37:44 -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