Commit Graph

1475 Commits

Author SHA1 Message Date
rusefillc de0736492d better VVT default? 2021-10-31 15:25:43 -04:00
rusefi 33c4b84ec5 MRE_SECONDARY_CAN 2021-10-29 16:33:12 -04:00
rusefillc 558c639f82 Honda K & default VVT pid 2021-10-29 12:16:19 -04:00
rusefillc 74f575e303 dead 2021-10-29 12:15:55 -04:00
rusefillc 40bf6a93d0 VVT is no longer aux pid 2021-10-28 23:51:46 -04:00
Andrey d48ed50e2f Honda K 2021-10-28 22:18:41 -04:00
Andrey e37b8eb598 alternator is now a separate function 2021-10-28 22:15:12 -04:00
Andrey b04aad4c7c Proteus meta - fixing confusion 2021-10-28 22:11:26 -04:00
rusefi 12a9b325bd Honda K 2021-10-28 15:57:35 -04:00
rusefi 19b3bd20ab Lua CAN fun 2021-10-28 00:20:14 -04:00
rusefi aac0097a4e Honda K 2021-10-27 23:55:31 -04:00
rusefi 032d6108ba secondary MRE 2021-10-27 19:54:45 -04:00
rusefi 4f0b93cbd2 Honda K 2021-10-26 17:15:24 -04:00
Andrey 0bf18a2812 Honda K 2021-10-26 15:19:09 -04:00
Andrey 37461c67b0 Honda K 2021-10-26 12:04:35 -04:00
Andrey 6fce043cbf Honda K 2021-10-26 11:52:52 -04:00
Andrey 29851fe219 export board-specific macro for stm32 pins based on board yaml #3298
meta progress
2021-10-26 10:27:10 -04:00
Andrey e95e75ca44 export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 20:51:28 -04:00
Andrey b7a461ac06 some dead code 2021-10-25 17:23:14 -04:00
rusefillc eb95034973 element 2021-10-24 14:44:37 -04:00
rusefillc b356810ed1 a bit of dead code? 2021-10-24 11:47:20 -04:00
rusefi 82cf4d4fe6 Honda K 2021-10-23 16:19:28 -04:00
rusefi 7b68d0d226 Honda K 2021-10-23 15:49:02 -04:00
rusefillc 45e0a0403f very old very dead code 2021-10-20 12:57:07 -04:00
rusefillc 9395517ae1 very old very dead code 2021-10-20 10:45:43 -04:00
rusefillc 14abddb5d7 Remove engine load acceleration enrichment #3357 2021-10-16 21:24:05 -04:00
rusefillc 6de67ee73d NB1 defaults #3299
alternator pin and settings
2021-10-13 20:56:26 -04:00
rusefillc 90a5c5d283 honda 2021-10-12 18:31:48 -04:00
rusefillc 09a9c717dc honda 2021-10-12 18:31:48 -04:00
rusefillc f853e42634 https://github.com/rusefi/hellen-NB1-issues/issues/19 2021-10-12 00:26:51 -04:00
rusefillc eac901c37c https://github.com/rusefi/hellen-NB1-issues/issues/19 2021-10-12 00:02:49 -04:00
rusefillc 1a809bf336 refactoring 2021-10-11 23:24:16 -04:00
rusefillc 58f9f6380e hyundai 2021-10-11 14:22:35 -04:00
rusefillc 25108fe6e9 hyundai 2021-10-11 12:37:24 -04:00
rusefi f24cfa3698 VAG ETB calibration is a mess? 2021-10-10 22:23:33 -04:00
rusefillc bc9d0c1976 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:35:09 -04:00
rusefillc dd7a340696 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:27:55 -04:00
rusefillc c10be2ebde export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:09:09 -04:00
rusefillc 6a3c4d5d3e export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:56:43 -04:00
rusefillc 1ff78646cc NB1 defaults #3299 2021-10-02 23:21:43 -04:00
rusefi 61220d5710 VrThresholdTest 2021-10-02 15:18:45 -04:00
rusefillc a8058a6ea4 proteus adapters 2021-10-02 13:25:40 -04:00
rusefillc 0511d02c45 proteus adapters 2021-10-02 13:20:19 -04:00
Matthew Kennedy 64c9bcd364 bye frequency map (#3285)
* bye freq map

* map.cpp

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-30 00:20:21 -04:00
rusefillc fa2282ee9c https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 12:22:38 -04:00
rusefi bcf8b80ff1 https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 11:52:54 -04:00
rusefi b2ade224e2 https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 11:47:16 -04:00
rusefillc 873ec4cb75 wow that was a bad setting name 2021-09-26 18:07:49 -04:00
Andrey 37dbc1ac2c vr threshold test configuration 2021-09-26 03:01:25 -04:00
Andrey 7eee8138b2 vr threshold test configuration 2021-09-26 02:21:21 -04:00
Matthew Kennedy 48da721c49 dead knock code (#3255)
* more unification

* hip stub

* comment

* guard

* channel idx

* include

* hip

* move in to engine

* hip9011

* dead stuff

* dead

* fsio

* lcd

* more dead
2021-09-21 20:40:20 -04:00
rusefi c84559f542 merc128: engine config defaults #3236 2021-09-18 22:12:22 -04:00
rusefillc 1edf98dce2 merc128: engine config defaults #3236 2021-09-18 21:27:17 -04:00
rusefillc 96dca359a9 merc128: engine config defaults #3236 2021-09-18 00:17:52 -04:00
rusefillc a9622bfc4d merc128: engine config defaults #3236 2021-09-17 23:38:50 -04:00
rusefillc 885e4aee29 merc128: engine config defaults #3236 2021-09-17 21:23:54 -04:00
rusefi 69f6e57ac7 Revert "Hellen Nissan defaults are no longer valid fix #3143"
This reverts commit 3f81d894
2021-09-14 15:51:58 -04:00
rusefi 3f81d89482 Hellen Nissan defaults are no longer valid fix #3143 2021-09-14 15:46:21 -04:00
Matthew Kennedy 210aa31ef3 cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
alxrMironov dd1b7ffa24 Vehicle speed switching to frequency sensor #3106 (#3148)
* Add vehicle_speed_converter.h with realization.

* Add test_vehicle_speed_converter.cpp with realization.

* Add test_vehicle_speed_converter.cpp to Makefile

* Edit "VehicleSpeedSensor" from function pointer sensor to frequency sensor

* Fix "VehicleSpeedSensor" init function args

* Remove "VehicleSpeedConverter" empty constructor

* Edit vehicle_speed_converter.h code style

* Fix args and engine injection in "VehicleSpeedSensor" initialization procedure

* Remove old "Vehicle Speed" module initialization

* Revert "Remove old "Vehicle Speed" module initialization"

This reverts commit 100b7caa8c615c20eed3d0c23a49824b4e556148.

* Remove old "Vehicle Speed" module initialization pieces

* Revert "Revert "Remove old "Vehicle Speed" module initialization""

This reverts commit f559a726f1f7f5a7acacd1b6517e571743e84327.

* Debug changes

* Revert "Debug changes"

This reverts commit f7e2be1a8a46c6f3f93f14f002b2f2db539da8e2.

* Another debug changes

* More debug changes

* And more debug changes.

* Revert "Another debug changes"

This reverts commit 914fbb1df42c37e4b5ecbb119bb45e7cffdf4064.

* Revert "More debug changes"

This reverts commit 0b2d96d461c3cd9b0f1ae97ed110b8effe6b0cc6.

* Revert "And more debug changes."

This reverts commit 06ae8daded0e6e1c025e4e5058b47283f4adfe92.

* Add "Vehicle Speed" sensor reconfiguration

* Revert "Add "Vehicle Speed" sensor reconfiguration"

This reverts commit a089a6d563dd710004ce1a7da1744b0b4b90c3b1.

* Revert "Revert "Add "Vehicle Speed" sensor reconfiguration""

This reverts commit 7b2bb8af4b3caa547236ca59e4c4bdb3ac1200cc.

* Debug changes

* Another debug changes

* Fix another debug changes

* Another debug changes 2

* Revert "Another debug changes 2"

This reverts commit cfad55141eec125b2f1d35fb95d9f46b54f666b6.

* Revert "Fix another debug changes"

This reverts commit 9bc2c74a3be6fd896827ff48cf4580e7657529c0.

* Revert "Another debug changes"

This reverts commit 4337ed8cad8dff508d093944eb3f75e9a69e4a77.

* Edit class  FrequencySensor, make it more RAII

* Debug changes

* Debug changes 2

* Debug changes 3

* Revert "Debug changes 3"

This reverts commit 52a7054c122b5157540fe45a055a84b57478d722.

* Revert "Debug changes 2"

This reverts commit dec79fb913344ccb4b8614910ad62e6c129a243e.

* Revert "Debug changes"

This reverts commit eb08d7a529b55ba397a7dd2c154b76eab42f212b.

* Revert "Edit class  FrequencySensor, make it more RAII"

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Citroen Berlingo" engine config.

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Dodge Neon" engine config

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-24 00:55:41 -04:00
rusefillc 174bec6e43 Nissan progress 2021-08-16 10:56:31 -04:00
Andrey 9075888e7b zero dwell warning at zero RPM #3153 2021-08-16 09:11:22 -04:00
Andrey 05b3a2ac18 zero dwell warning at zero RPM #3153 2021-08-16 09:00:43 -04:00
rusefillc b54caa7140 Nissan progress 2021-08-11 18:29:35 -04:00
rusefillc 98ce0f1f88 Nissan progress 2021-08-11 18:04:57 -04:00
Matthew Kennedy 90c9c7d00c fix vss crash (#3130)
* don't deref null pointer

* error on invalid

* no logic analyzer

* print out function in case of error
2021-08-10 14:20:57 -04:00
rusefillc 16664ab19b NB2 36 2021-08-10 02:34:59 -04:00
Andrey 8a4831b1dc Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:04:18 -04:00
Andrey 76412dffde Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
rusefi 138cfde320 Red test mule cranking to idling is weird #3050 2021-07-24 23:05:22 -04:00
rusefi d7259789cb Red test mule cranking to idling is weird #3050 2021-07-24 11:56:29 -04:00
Andrey 2a07c3df27 Nissan VVT trigger decoder #2887 2021-07-21 23:08:56 -04:00
Andrey da905f20a6 trailing spark outputs #2931 2021-07-21 19:55:14 -04:00
Andrey f69690a36a kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:27:56 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Andrey 85d6d6c70d trigger signal debug pins - logic level output #2959
test driven development is still amazing
2021-07-15 09:29:14 -04:00
Andrey b5f92e6722 trigger signal debug pins - logic level output #2959 2021-07-14 22:35:29 -04:00
rusefi d73768b46c FATAL on NB2 tune jim stim input signal #2965 2021-07-14 21:15:11 -04:00
Andrey 47f285c50c FATAL on NB2 tune jim stim input signal #2965 2021-07-14 16:03:00 -04:00
Andrey 13fdd79df7 refactoring 2021-07-13 20:10:31 -04:00
rusefi 30ed950d4d VAG canned tunes 2021-07-09 13:23:29 -04:00
Andrey 6065ec3995 VAG canned tunes 2021-07-08 22:55:45 -04:00
Andrey cbe407f465 VAG canned tunes 2021-07-08 20:42:35 -04:00
rusefi 76003ca393 VAG canned tunes 2021-07-08 16:35:58 -04:00
Matthew Kennedy 717d4dd7ac Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey bb181ac8fd Nissan VVT trigger decoder #2887
another bug - improper handling of three-times-symmetrical
2021-07-05 23:15:44 -04:00
Andrey 7ec3ef4b28 Nissan VVT trigger decoder #2887
that's all very strange
2021-07-05 22:17:26 -04:00
Andrey 59e33b3577 restore testQuadCam #2911 2021-07-05 21:04:09 -04:00
Matthew Kennedy 9d41a19adc misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
Andrey c0cbe626b6 Nissan VVT trigger decoder fix #2887
TDD is amazing we are done here!
2021-07-03 12:43:01 -04:00
Andrey e34b04bd46 Nissan VVT trigger decoder #2887 2021-07-03 12:02:00 -04:00
Andrey 7ffe09aa96 Nissan progress 2021-07-02 16:31:10 -04:00
Andrey 8013e598df Nissan progress 2021-07-02 16:26:23 -04:00
Andrey ab24b8e5f3 Nissan progress 2021-07-02 14:56:12 -04:00
Andrey 309b630480 Review default H64 tune #2815 2021-06-28 19:47:11 -04:00
Andrey b4d10caf45 Review default H64 tune #2815 2021-06-28 17:36:02 -04:00
Andrey fef89328d3 helping build? 2021-06-25 11:48:17 -04:00
Andrey 66de546bc9 Review default H64 tune #2815 2021-06-13 21:27:03 -04:00
Matthew Kennedy 322f69474f remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
Matthew Kennedy 0c0957f52a apply open loop idle when in automatic mode (#2745)
* always apply open loop in closed loop

* simplify flags

* comment

* move

* comment

* missed one

* config for fan bump

* adjust miata defaults

* test fan/ac open loop

* idle CL tests

* test coasting

* test integration case

* fix merge

* put back reset logic for now

* s

* don't need that part

* I guess use OL as baseIdlePosition

* reset condition
2021-06-12 14:21:11 -04:00
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Matthew Kennedy 925399168a defaults cleanup: base engine & fuel (#2790)
* build

* fuel and base

* fix build

* cleanup

* extern

* tps/tps

* alternator

* tps

* iat timing

* cranking RPM

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 00:50:07 +03:00
Matthew Kennedy cc0547217c Cranking defaults (#2787)
* defaults

* more

* cranking fuel

* cranking timing

* cranking time digits

* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03:00
David Holdeman 68da5c279e Doxygen titles (#2728)
* move addRow call

* undo submo bump

* add header titles
2021-05-22 22:10:58 +03:00
Matthew Kennedy 68ad12da53 convert a table to scaled_channel (#2724)
* scaled VE table

* use setTable

* efi::clear

* ratio -> struct
2021-05-20 20:00:32 -04:00
rusefillc 0cb4705a7e Improve default H64 tune #2709 2021-05-19 03:50:28 -04:00
Matthew Kennedy 0af7a9cb2d shrink canned tables (#2651)
* helper

* use it miata

* do type safe copy

* miata vvt

* etb

* default iat correction

* magic is afoot here

* hunchback

* misc

* neon

* neon

* aspire

* citroen

* neon

* missed one

* dead

* festiva

* remove andreyism

* very dead

* no need for copy of that function

* cleanup
2021-05-09 14:37:16 -04:00
Matthew Kennedy 6e1212f3ca use setTable (#2621) 2021-05-04 10:03:41 -04:00
Andrey G e6e5303e87 Subaru board update (#2616)
* board: subaru_eg33: move to connectors yaml

* engine: subaru EG33: TPS is not inverted

* board: subaru_eg33: fix gen_config script

* board: subaru_eg33: update default settings
2021-05-03 09:32:14 -04:00
rusefillc 12b00e4889 h64 progress 2021-05-02 23:46:09 -04:00
Andrey G 605378f829 Subaru board update (#2600)
* board: subaru eg33: linker script: stack, bss and heap to ram0

* Board: Subaru EG33: clean-up configs

* board-subaru-eg33: fix board config

* engine: subaru: eg33: fixes
2021-04-28 20:25:33 -04:00
rusefi 6c75a3d7b4 improving QC process 2021-04-22 22:04:39 -04:00
rusefillc f94fbcbec0 Switch default idle mode to AUTO #2577
at least all NB2 should be auto idle
2021-04-21 16:21:55 -04:00
rusefillc 2853f74808 better Hellen defaults 2021-04-21 16:15:47 -04:00
rusefillc 2c0c5b0ace more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
rusefillc 959a63d7de hellen64 scripts and pinout #2565 2021-04-18 10:42:50 -04:00
Matthew Kennedy d7e95cd31f improve sensor chart flush behavior (#2545)
* disable sensor chart

* type signature, guards

* we can't log the message as that confuses the parser

* dead

* this syntax was technically illegal

* more

* turn it back on

* remove config

* api

* implement

* ui

* java ui
2021-04-12 14:05:52 -04:00
rusefillc 5968149584 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:30:36 -04:00
rusefi f8b0de9123 reuse of TPS calibration 2021-04-01 17:05:01 -04:00
Andrey G 112b4d1182 Hip9011 (#2512)
* hip9011: coexistance with other spi devices

* hip9011: rework so SPI transfer is invoked from thread

also use polling spi exchange to avoid cache problems

* hip9011: move calculations from ADC callback to thread

* hip9011: big cleanup

* hip9011: simplify spi communication

* No need to set knockBandCustom if it is not custom

HIP9011 calculates knockBand from cylinderBore same way

* hip9011: make unit test happy

* hip9011: fix unit test

* hip9011: remove duplicated initialization, reorder

* hip9011: just renames and data type adjustments

* hip9011: rename BAND() to HIP9011_BAND()

* hip9011: move some code from lookup.cpp to logic.cpp

* hip9011: move initEngineNoiseTable to engine_configuration.cpp

* hip9011: move lookup tables to hip9011_logic.c

* hip9011: remove empty files

* hip9011: additional checks
2021-03-30 10:56:25 -04:00
Matthew Kennedy fddd376a3f various TS project improvements, dead config fields (#2504)
* after start enrichment limits

* rework menus and VVT page

* multispark language

* dead fuel pressure field

* vw

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:39:26 -04:00
Matthew Kennedy 204aa33e9a goodbye ignitionOffset (#2503)
* remove

* set the timing map to do what the offset used to do

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
rusefillc bc3cf715c9 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04:00
Matthew Kennedy 72214b8b77 default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
Matthew Kennedy 2dcfb0c272 avoid aliasing (#2431)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:32:04 -05:00
rusefillc b79fb2ac5f M62T vanos support #2243 2021-02-10 21:44:21 -05:00
rusefi 6c9416daa9 aux pid is now VVT 2021-02-10 12:41:38 -05:00
rusefillc 8fa1a6530b M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefi 2ccb75a064 refactoring: naming consistency 2021-02-08 18:20:53 -05:00
rusefi 4b8a92ccc9 M62T vanos support #2243 2021-02-08 18:08:26 -05:00
Andrey G 0f47cff952 Add subaru eg33 (#2294)
* engine: Subaru SVX EG33 engine configuration

Not tested yet. Just basic settings and placeholder

* board: add Dron_Gus's Subaru EG33 p'n'p board

* board: subaru eg33: linker script: stack, bss and heap to ram0

* board: subaru eg33: add mapping.yaml

* board: subaru eg33: scripts for autogenerated

* board: subaru eg33: fix DMA conflict (ADC1 vs SPI5)

* board: subaru eg33: enable ADC3

* board: subaru eg33: Autogenerated

* board: subaru eg33: disable fsio control of Main Relay

Default MAIN_RELAY_LOGIC cause error during parsing

* board: subaru eg33: configuration hack to fix usbconsole.c

* gen_config: generate config for Subaru SVX board too
2021-02-06 12:50:34 -06:00
Matthew Kennedy 7fec313f50 Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
rusefillc 4bdc41d723 typo 2021-01-31 12:27:26 -05:00
rusefi b4ab11ddab Miata default config: "22 - AN temp 4" is PA3 not PA6? 2021-01-28 23:30:46 -05:00
rusefi fb592d3a0f removing weird stuff 2021-01-28 23:16:43 -05:00
rusefillc 86cb26f9b1 https://github.com/rusefi/rusefi/pull/2236 by AlexHLinS 2021-01-23 20:08:57 -05:00
rusefillc 4fb0f6e5c3 Hellen72 2021-01-22 02:09:28 -05:00
rusefillc 7f893c6159 Hellen72 2021-01-22 02:02:16 -05:00
Andrey G 052e2e558b Supress annoing unused warnings (#2216) 2021-01-11 08:49:20 -05:00
rusefi dcc1d7ad01 nb2 and proteus usability 2021-01-11 01:17:03 -05:00
rusefi fcc49918f9 vvt knock 2021-01-10 18:57:27 -05:00
Andrey G 75098a0d4b Lcd fix (I hope) (#2211)
* LCD: check if settings are valid on each access

* Lada Kalina: remove duplicate code

All LCD pins are set to GPIO_UNASSIGNED in disableLCD()

* Remove duplicate code

* We still need to know when invalid gpio is used...

This reverts commit 9c12c4dd44.
2021-01-09 17:16:10 -05:00
Andrey G b61ae75fe2 gpio helper (#2195)
* gpios: isBrainPinValid helper

* LCD HD44780: do not touch pins if DM_NONE or invalid gpio

* Fix isEnabled checks for GPS and Joystick

* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy 86d3746453 Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc 5a75c69b8e knock v12 2021-01-06 19:42:07 -05:00
rusefillc 8396f36a14 knock knock v12 2021-01-06 12:48:32 -05:00
rusefi 35482fd21e progress 2021-01-03 17:58:00 -05:00
rusefi a8bba64220 GPIOG_1 is not a proteus control pin, assuming a typo 2021-01-01 18:20:49 -05:00
rusefi c29a0d9b06 docs 2021-01-01 18:19:52 -05:00
rusefi 96cbe35e6f xmas tree 2020-12-26 21:25:19 -05:00
rusefi ba19fae213 xmas tree 2020-12-26 18:59:30 -05:00
rusefi e0319ea941 proteusBoardTest 2020-12-26 13:41:33 -05:00
rusefillc 8bcaea7868 https://github.com/rusefi/rusefi/wiki/HOWTO-Miata-NB2-on-Proteus 2020-12-26 11:42:09 -05:00
rusefillc f9de491b67 proteusBoardTest 2020-12-26 10:41:33 -05:00
rusefi c67af9632a PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05:00
Matthew Kennedy fad3b07b8b Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy 4a95652f88 Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 85f0621738 Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
rusefillc 4220b9fcbd something ? HIP / SPI pin conflict does not fail gracefully #2108
maybe this is just testing framework bug?
2020-12-20 17:17:03 -05:00
rusefillc 34fc9b1fb6 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-20 12:51:20 -05:00
rusefi 9194323b5d proteus_f4_hardware_QC_special_build 2020-12-20 11:17:38 -05:00
rusefi c6cdcb27de something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 17:06:42 -05:00
rusefillc 009f48b457 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 16:07:21 -05:00
rusefillc 1e5be46b4c something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
CrazyStriker b905a4aa5b Nb proteus config (#2104)
* Added proteus config and started working on it

* Update engine config

* corrected board config

* Completed pin attribution in proteus hardcoded nb2 miata

* Removed problematic call

* Corrected the blocking value

* Removed blocking equal sign

* Reworked indentation
2020-12-18 15:53:57 -05:00
rusefillc d38195b206 NB2 MRE closer to reality 2020-12-17 19:03:38 -05:00
Matthew Kennedy 34edf34bf4 only build in config for the correct board (#2088)
* only build in config for the correct board

* undo

* undo

* undo

* only touch proteus config

* include configs in tests
2020-12-17 17:12:24 -05:00
rusefillc 727a775049 hello new wiki 2020-12-16 19:58:15 -05:00
rusefillc 7d104bff8d pnp progress 2020-12-15 00:09:35 -05:00
rusefillc 4c2ea35269 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi 3684b739d3 subi 2020-12-13 16:38:09 -05:00
rusefi e906552e03 subi drama 2020-12-13 15:44:14 -05:00
rusefi 233381cb2e this car has high-side main relay WOW 2020-12-13 14:49:14 -05:00
rusefi afe387c7be subi 2020-12-13 11:39:10 -05:00
rusefillc 15be4c0e50 https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
rusefillc 3be2c27485 Passat B6 canned config: GDI injector deadtime to like flat 0.2ms #2049 2020-12-11 09:07:23 -05:00
rusefillc f868d05dec MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc ba0503177c more dead code 2020-12-03 10:49:20 -05:00
rusefi 1dba003c5c isSdCardEnabled is set to 'true' a few lines below 2020-12-02 00:09:08 -05:00
rusefi 53a9efd0f0 PnP miata 2020-11-30 00:12:06 -05:00
rusefi ab0fe12d65 PnP miata 2020-11-30 00:10:29 -05:00
rusefi 24bff5e5e1 PnP miata 2020-11-30 00:00:36 -05:00
rusefillc 0884bc36f6 94 2020-11-29 18:09:11 -05:00
rusefillc 58e174b3fb 94 2020-11-29 12:07:56 -05:00
rusefillc d199302b83 miata 94 2020-11-28 22:49:28 -05:00
rusefi 08c7849b29 it's weird 2020-11-27 16:41:11 -05:00
rusefi 93160c6abb LM_ALPHA_N_2 rename 2020-11-27 15:44:31 -05:00
rusefillc 42c56a47da dead engine config
one step back
2020-11-26 21:21:25 -05:00
rusefillc 0f39f37bba dead engine config 2020-11-26 21:07:34 -05:00
rusefillc 96ca95bd1e dead engine config 2020-11-26 20:26:12 -05:00
rusefillc f5f97d60df Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:58:02 -05:00
rusefillc 0bd148d97d Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:56:18 -05:00
rusefillc f63e3c68fd Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:20:13 -05:00
rusefi 4d2265478d GDI Epic #1448 2020-11-22 01:14:34 -05:00
rusefi e7dfffe71d toyota89281_33010_pedal_position_sensor 2020-11-16 23:38:23 -05:00
rusefillc 851478f846 DC not ETB refactoring 2020-11-16 20:05:35 -05:00
rusefi 5b45f25f09 B6 2020-11-15 20:56:16 -05:00
rusefi ad9635b4ff GDI Epic #1448 2020-11-15 15:37:53 -05:00
rusefillc 6f56988469 https://rusefi.com/forum/viewtopic.php?p=38367#p38367
idle position/waste gate position sensor usability
2020-11-14 18:05:27 -05:00
Matthew Kennedy 605269c358 remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
rusefillc cf7c613ed8 GDI Epic #1448 2020-11-11 00:43:21 -05:00
Andrey G 2f891cc23a Tle8888 stepper (#1936)
* TLE8888: enable PP mode for OUT21..24 in case of useTLE8888_stepper

* Lada Kalina is a test mule for stepper idle
2020-11-10 14:16:46 -05:00
rusefi f353e5c7a3 debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927 2020-11-07 00:35:56 -05:00
rusefi 34f887d6af v12 & dual-channel PPS 2020-11-06 15:30:11 -05:00
rusefi 7adde869d7 v12 Proteus 2020-11-06 14:18:54 -05:00
rusefi 69d233cc66 miata TCU 2020-11-04 12:42:30 -05:00
rusefi fdd183324e miata TCU 2020-11-03 23:59:00 -05:00
rusefi 457deea2e7 miata TCU 2020-11-03 23:21:47 -05:00
David Holdeman 77460ba6ae set solenoids (#1925) 2020-11-03 22:18:40 -05:00
rusefillc e384df96cc TCU 2020-11-03 20:17:47 -05:00
Matthew Kennedy 789926a61d convert cranking defaults to mg (#1921)
* convert cranking defaults to mg

* fix tests
2020-11-03 14:12:26 -05:00
rusefi d2d8b78073 B6 GDI 2020-11-01 00:33:18 -04:00
rusefi f16556bdc5 b6 2020-10-29 01:15:55 -04:00
rusefi b76cfa8ef1 b6 2020-10-28 18:53:30 -04:00
rusefillc 781cc3d326 [EPIC] [Feature Request] Transmission Control #1454 2020-10-28 01:23:05 -04:00
rusefillc 91afd62a53 GDI 2020-10-28 01:01:54 -04:00
Matthew Kennedy b8c2041467 Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Andrey G 88e830d635 Tle8888 big update 1 (#1892)
* smart gpio: fix tle8888 direct pin mapping for MRE

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888

* TLE8888: cleanup

* TLE8888: do not reset driver private data on WD/undervoltage reset

* TLE8888: diagnostic updates

* TLE8888 driver: BIG driver rework

* TLE8888: check SPI answers for abnormal states

Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed

Keep tracking last accessed register and check with the next reply.

* TLE8888: debug clean-up

* TLE8888: implement spi array write

This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS

* TLE8888: fix PP outputs in OD mode

* TLE8888: cleanup register definitions

* TLE8888: run separate driver thread for each chip instance

Calculating poll interval for few chips become more complex, avoid
this running thread for each device.

* TLE8888: fix cypress and kinetic compilation

Both platforms define its own MAX and cause redifination error if
common.h is included in driver.

* MRE: update mapping.yaml and fix direct pin mapping for TLE8888

* TLE8888: diagnnostic: disable switch off in case of overcurrent

For all output, use current limiting instead

* TLE8888: check for overvoltage on OUT8..OUT13

* TLE8888: add TODO note about how to recover from failure condition

Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.

* TLE8888: save few bytes of RAM

* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888

Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c

* TLE8888: reorder code, cleanup

* TLE8888: mode all debug/statisctic to per-chip struct

* TLE8888: rework poll interval calculation

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
Matthew Kennedy dbdeca93b0 implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
rusefi 25189a70a8 B6 2020-10-23 00:39:22 -04:00
rusefillc 2a8a0f6af1 GDI Epic #1448 2020-10-22 01:48:28 -04:00
rusefi 4af1bad726 progress 2020-10-22 00:57:11 -04:00
rusefi 79d267eba0 VAG radiator control 2020-10-19 23:25:23 -04:00
rusefi 1be1f66edf GDI Epic #1448 2020-10-17 20:17:53 -04:00
rusefillc aec48c294e GDI Epic #1448 2020-10-17 14:53:56 -04:00
rusefillc 54c3d0f15c HW CI has failed 11 times since Oct 2 #1849 2020-10-16 13:54:12 -04:00
rusefillc a37880eb97 GDI Epic #1448 2020-10-13 00:35:04 -04:00
rusefi b4208f585c QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:16:41 -04:00
rusefi 4743718663 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
rusefillc 25d02f6356 SD enable 2020-10-06 01:15:17 -04:00
rusefillc d5d5bbba9f tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
Matthew Kennedy 3374db1658 Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman e8e2cf2cfd DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy 7d7acc3e5f fix miata default (#1781) 2020-09-09 17:11:07 -04:00
Matthew Kennedy c2eb7c9f4a remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
rusefi e3758d3790 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:59:59 -04:00
rusefi bc2aa6601e microRusEFI used as Body Control Module BCM BCU 2020-09-06 20:21:01 -04:00
rusefi 66af0565d8 microRusEFI used as Body Control Module BCM BCU 2020-09-06 20:09:26 -04:00
rusefi f55fee38b4 microRusEFI used as Body Control Module BCM BCU 2020-09-06 19:43:54 -04:00
Matthew Kennedy 4802a47d23 reorder ADC channel index (#1763)
* change config

* correct logic

* clearing these no longer needed

* test expected this to be set
2020-09-06 18:25:26 -04:00
rusefi 581d769227 blinking more LEDs 2020-08-31 17:15:04 -04:00
rusefi d7a63575b2 blinking more LEDs 2020-08-31 14:26:34 -04:00
rusefi 8a1244b7d7 blinking more LEDs 2020-08-31 13:44:58 -04:00
rusefi 1a87b6aa71 blinking more LEDs 2020-08-31 13:27:56 -04:00
rusefi 12abd6a81e B6 2020-08-29 19:01:44 -04:00
rusefi 4322f78591 verboseVVTDecoding 2020-08-29 17:05:54 -04:00
rusefi 8d024f4579 BCM 2020-08-29 14:29:34 -04:00
rusefi acf8031330 B6 2020-08-29 10:06:28 -04:00
rusefi 22f6063d9f VVT support for VAG trigger #883 2020-08-25 16:19:23 -04:00