Commit Graph

1168 Commits

Author SHA1 Message Date
Matthew Kennedy dd6105cfa3
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 bb0662791b
use setTable (#2621) 2021-05-04 10:03:41 -04:00
Andrey G b74d17cee8
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 82551a7211 h64 progress 2021-05-02 23:46:09 -04:00
Andrey G 6d6dca8d07
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 86bdd363e3 improving QC process 2021-04-22 22:04:39 -04:00
rusefillc 8809a8d002 Switch default idle mode to AUTO #2577
at least all NB2 should be auto idle
2021-04-21 16:21:55 -04:00
rusefillc 4a41203769 better Hellen defaults 2021-04-21 16:15:47 -04:00
rusefillc 61c6b70516 more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
rusefillc 5aca0dec1a hellen64 scripts and pinout #2565 2021-04-18 10:42:50 -04:00
Matthew Kennedy 5e2e18d2b9
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 20fcaafb92 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:30:36 -04:00
rusefi 5bf6dacece reuse of TPS calibration 2021-04-01 17:05:01 -04:00
Andrey G 3d138958ce
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 4bede41364
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 8b3aa6c40d
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 f071aea463 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04:00
Matthew Kennedy b087f328f7
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 0c0e495607
avoid aliasing (#2431)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:32:04 -05:00
rusefillc d87a38541e M62T vanos support #2243 2021-02-10 21:44:21 -05:00
rusefi 6f065274e4 aux pid is now VVT 2021-02-10 12:41:38 -05:00
rusefillc 2d99e77c95 M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefi 6b10de5616 refactoring: naming consistency 2021-02-08 18:20:53 -05:00
rusefi c576f0a9d9 M62T vanos support #2243 2021-02-08 18:08:26 -05:00
Andrey G 08a5421090
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 9f0ebaac49
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 5e50b542a8 typo 2021-01-31 12:27:26 -05:00
rusefi f7b0873995 Miata default config: "22 - AN temp 4" is PA3 not PA6? 2021-01-28 23:30:46 -05:00
rusefi 92b38d21e3 removing weird stuff 2021-01-28 23:16:43 -05:00
rusefillc 4fe45db61a https://github.com/rusefi/rusefi/pull/2236 by AlexHLinS 2021-01-23 20:08:57 -05:00
rusefillc 4ed3fd4a71 Hellen72 2021-01-22 02:09:28 -05:00
rusefillc 6bc882f30a Hellen72 2021-01-22 02:02:16 -05:00
Andrey G 25560b85c2
Supress annoing unused warnings (#2216) 2021-01-11 08:49:20 -05:00
rusefi 04e791d99c nb2 and proteus usability 2021-01-11 01:17:03 -05:00
rusefi 6e29730b36 vvt knock 2021-01-10 18:57:27 -05:00
Andrey G 7803968621
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 c17775231a.
2021-01-09 17:16:10 -05:00
Andrey G 2af32084f4
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 7a90692187
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 ff765f5f5d knock v12 2021-01-06 19:42:07 -05:00
rusefillc 64489ae63d knock knock v12 2021-01-06 12:48:32 -05:00
rusefi a935bf97f4 progress 2021-01-03 17:58:00 -05:00
rusefi a5aa3638b3 GPIOG_1 is not a proteus control pin, assuming a typo 2021-01-01 18:20:49 -05:00
rusefi d4a56de9ab docs 2021-01-01 18:19:52 -05:00
rusefi 0622917e53 xmas tree 2020-12-26 21:25:19 -05:00
rusefi 75d141f2ad xmas tree 2020-12-26 18:59:30 -05:00
rusefi 81e7da7e2b proteusBoardTest 2020-12-26 13:41:33 -05:00
rusefillc 043d82ac3e https://github.com/rusefi/rusefi/wiki/HOWTO-Miata-NB2-on-Proteus 2020-12-26 11:42:09 -05:00
rusefillc 1ebce57721 proteusBoardTest 2020-12-26 10:41:33 -05:00
rusefi af6ad0757e PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05:00
Matthew Kennedy 3d13d03424
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