Commit Graph

1204 Commits

Author SHA1 Message Date
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
Matthew Kennedy ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
Matthew Kennedy 8737ba62c2
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 038eb00207 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 fbab35bd56 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-20 12:51:20 -05:00
rusefi 3bafda26cd proteus_f4_hardware_QC_special_build 2020-12-20 11:17:38 -05:00
rusefi 0213bfc606 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 17:06:42 -05:00
rusefillc 265ef38cb5 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 16:07:21 -05:00
rusefillc dff387929a something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
CrazyStriker 5f0fd4ed0a
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 df5b21ceb5 NB2 MRE closer to reality 2020-12-17 19:03:38 -05:00
Matthew Kennedy 1838beadfa
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 9ab4c2af5b hello new wiki 2020-12-16 19:58:15 -05:00
rusefillc bd279edd8e pnp progress 2020-12-15 00:09:35 -05:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi f36255108e subi 2020-12-13 16:38:09 -05:00
rusefi 3da7463562 subi drama 2020-12-13 15:44:14 -05:00
rusefi 91aa8b80d7 this car has high-side main relay WOW 2020-12-13 14:49:14 -05:00
rusefi 7f65e95a65 subi 2020-12-13 11:39:10 -05:00
rusefillc ba3a83667b https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
rusefillc c307b1b886 Passat B6 canned config: GDI injector deadtime to like flat 0.2ms #2049 2020-12-11 09:07:23 -05:00
rusefillc 9f13d39003 MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
rusefi 425b47bdc6 isSdCardEnabled is set to 'true' a few lines below 2020-12-02 00:09:08 -05:00
rusefi c9e126f9e3 PnP miata 2020-11-30 00:12:06 -05:00
rusefi 6f3faaf808 PnP miata 2020-11-30 00:10:29 -05:00
rusefi 90f2b0f401 PnP miata 2020-11-30 00:00:36 -05:00
rusefillc c5718c555e 94 2020-11-29 18:09:11 -05:00
rusefillc 160f22984c 94 2020-11-29 12:07:56 -05:00
rusefillc b982d02298 miata 94 2020-11-28 22:49:28 -05:00
rusefi c9da8262f7 it's weird 2020-11-27 16:41:11 -05:00
rusefi 89eaae8234 LM_ALPHA_N_2 rename 2020-11-27 15:44:31 -05:00
rusefillc 0840b91f7f dead engine config
one step back
2020-11-26 21:21:25 -05:00
rusefillc 334f0a5a8a dead engine config 2020-11-26 21:07:34 -05:00
rusefillc 55b763f62e dead engine config 2020-11-26 20:26:12 -05:00
rusefillc 21acca2f47 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:58:02 -05:00
rusefillc b75ab76f1f Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:56:18 -05:00
rusefillc 24c9e54cde Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:20:13 -05:00
rusefi fb98a3dffc GDI Epic #1448 2020-11-22 01:14:34 -05:00
rusefi 71638c07ae toyota89281_33010_pedal_position_sensor 2020-11-16 23:38:23 -05:00
rusefillc cd7cefb669 DC not ETB refactoring 2020-11-16 20:05:35 -05:00
rusefi 081aaec862 B6 2020-11-15 20:56:16 -05:00
rusefi 07aae5e10e GDI Epic #1448 2020-11-15 15:37:53 -05:00
rusefillc 07e25ccf3c 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 0e3673e78c
remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
rusefillc c15a4a22d2 GDI Epic #1448 2020-11-11 00:43:21 -05:00
Andrey G 62f441376c
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 75a77b06f4 debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927 2020-11-07 00:35:56 -05:00
rusefi 8a11920dec v12 & dual-channel PPS 2020-11-06 15:30:11 -05:00
rusefi 86bdb79c5a v12 Proteus 2020-11-06 14:18:54 -05:00
rusefi d28504cb31 miata TCU 2020-11-04 12:42:30 -05:00
rusefi 3a17c61ae6 miata TCU 2020-11-03 23:59:00 -05:00
rusefi 0d1399f834 miata TCU 2020-11-03 23:21:47 -05:00
David Holdeman a7b5833f2a
set solenoids (#1925) 2020-11-03 22:18:40 -05:00
rusefillc df285c9328 TCU 2020-11-03 20:17:47 -05:00
Matthew Kennedy cf3dc9c2c3
convert cranking defaults to mg (#1921)
* convert cranking defaults to mg

* fix tests
2020-11-03 14:12:26 -05:00
rusefi 93d37634a8 B6 GDI 2020-11-01 00:33:18 -04:00
rusefi f527972670 b6 2020-10-29 01:15:55 -04:00
rusefi ee3879d4e1 b6 2020-10-28 18:53:30 -04:00
rusefillc 3635bac90a [EPIC] [Feature Request] Transmission Control #1454 2020-10-28 01:23:05 -04:00
rusefillc 67789a4b2f GDI 2020-10-28 01:01:54 -04:00
Matthew Kennedy 09b41bb1bb
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 8e11675afd
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 4e249889a6
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 a7a475a1df B6 2020-10-23 00:39:22 -04:00