Commit Graph

7050 Commits

Author SHA1 Message Date
rusefi 4e5a69891d new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:52:27 -04:00
rusefi 257ed04fac new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:17:48 -04:00
rusefi f233628c2c lovely, yet another minor confusion 2020-05-13 01:16:05 -04:00
rusefi 52ad619b15 I think it's OK to crash very visibly if no proper SPI response 2020-05-13 01:07:11 -04:00
rusefi 159789dc5b NB2 MAF 2020-05-12 23:37:30 -04:00
rusefi 38ec6d812d https://github.com/rusefi/hw_microRusEfi/issues/157 2020-05-12 23:37:12 -04:00
rusefi d2dd541548 Fresh generated - auto 2020-05-12 14:30:22 -04:00
rusefi a8a9394f80 joy to all pins 2020-05-12 14:16:31 -04:00
dron0gus e10259de99
either newline at end of mk file either no backslash on last line (#1425)
This fixes following build issue under linux:
make: *** No rule to make target 'build/obj/.cpp cj125.cpp', needed by 'build/obj/ build/obj/cj125.o'.  Stop.
make: *** Waiting for unfinished jobs....

Introduces in 8d35c35035
2020-05-12 09:55:43 -04:00
rusefi 9bea740f77 Fresh generated - auto 2020-05-11 23:43:29 -04:00
Matthew Kennedy e54bcc70a0
s (#1424) 2020-05-11 23:23:04 -04:00
NOx-z 2e3c142993
Mc33 undervolt (#1423)
* mc33 flash check

* DI sanity checks for setting HV config

* mc33 under voltage check

* mc33 under voltage check

* mc33 clear driver status on startup

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-05-11 21:11:16 -04:00
rusefi 8069605091 helping master build 2020-05-11 19:59:35 -04:00
rusefi a955e96b62 RED FATAL/CRITICAL LED is a bit dim when it should be OFF
fix https://github.com/rusefi/hw_microRusEfi/issues/157
2020-05-11 18:35:28 -04:00
rusefi eae24e82d1 more dead code 2020-05-11 18:24:29 -04:00
rusefi 047d2e0ce1 refactoring related to RED FATAL/CRITICAL LED is a bit dim when it should be OFF
#157
2020-05-11 18:22:51 -04:00
rusefi e5db74c3ee https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:57:19 -04:00
rusefi e2bda6f173 https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:45:34 -04:00
kon 8d35c35035
Aux serial (#1422)
* aux serial updates from last PR

* trying to guess

* wow that's old! also not working maybe?

* hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23

* date

* Mc33 undervolt (#1421)

* mc33 flash check

* DI sanity checks for setting HV config

* mc33 under voltage check

* mc33 under voltage check

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>

* fixed {}

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: NOx-z <50815960+NOx-z@users.noreply.github.com>
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
Co-authored-by: kon <dev@triggerdevel>
2020-05-11 12:17:42 -04:00
rusefi 6426d433d2 dead line in a dead file 2020-05-11 11:28:43 -04:00
NOx-z 7513b8ea5a
Mc33 undervolt (#1421)
* mc33 flash check

* DI sanity checks for setting HV config

* mc33 under voltage check

* mc33 under voltage check

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-05-11 01:52:20 -04:00
rusefi 0e8282995e date 2020-05-11 00:59:55 -04:00
rusefi 60da1d818f Merge branch 'tle8888_random' 2020-05-11 00:59:11 -04:00
rusefi 75781f1262 hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23 2020-05-11 00:53:50 -04:00
rusefi 8bc2c403d6 34-2 3 cam Toyota wheel progress 2020-05-10 18:10:50 -04:00
rusefi 1f692c4a9b 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
rusefi 3b774976e4 Fresh generated - auto 2020-05-10 16:50:29 -04:00
Matthew Kennedy c7fadd475f
configuration for secondary (redundant) TPS sensors (#1419)
* add new fields

* add tps 2 secondary

* sensible error detection limits

* UI mods

* grey out as appropriate

* defaults

* either it's unused or its not
2020-05-10 16:13:15 -04:00
rusefi 3e506a674a 34-2 3 cam Toyota wheel progress 2020-05-10 15:22:50 -04:00
rusefi 055751a232 Merge remote-tracking branch 'origin/master' 2020-05-10 11:54:36 -04:00
rusefi 342a331e1c 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:21 -04:00
rusefi 7071d63cad 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:04 -04:00
rusefi 43e2ffd27a Fresh generated - auto 2020-05-10 10:32:49 -04:00
rusefi cf99bcd4f0 Merge remote-tracking branch 'origin/master' 2020-05-10 10:12:50 -04:00
rusefi ec38cdac95 mck1117:secondary-tps-config progress 2020-05-10 10:11:51 -04:00
rusefi 89d66ad1eb Fresh generated - auto 2020-05-10 09:19:29 -04:00
Matthew Kennedy 36a742aa50
updates for proteus v0.3 (#1418)
* updates for v0.3

* board config too

* oops
2020-05-10 09:19:01 -04:00
rusefi d6727e4e06 Merge remote-tracking branch 'origin/master' 2020-05-10 02:36:32 -04:00
rusefi a9b15e3cee that's embarrassing 2020-05-10 02:36:01 -04:00
rusefi e2b5789324 Fresh generated - auto 2020-05-10 02:23:28 -04:00
rusefi bb8a8149f8 34-2 3 cam Toyota wheel progress 2020-05-10 02:12:47 -04:00
rusefi a52952c668 Fresh generated - auto 2020-05-10 01:55:23 -04:00
rusefi 919afd35e8 removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi ac9faf6646 docs & clean-up 2020-05-10 00:59:32 -04:00
rusefi 0c70f0d26c Merge remote-tracking branch 'origin/master' 2020-05-10 00:42:54 -04:00
rusefi d18bf76fb5 34-2 3 cam Toyota wheel progress 2020-05-10 00:42:33 -04:00
rusefi e82de4ac97 Fresh generated - auto 2020-05-10 00:26:20 -04:00
rusefi b40d367dad more makes 2020-05-09 23:59:10 -04:00
rusefi 8d91cc65cc 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi 816356f987 manual date 2020-05-09 22:44:44 -04:00
rusefi fcbba66e89 rusEFI online engine crc 2020-05-09 22:43:39 -04:00
rusefi 633afc10c8 trying to guess 2020-05-09 20:45:20 -04:00
rusefi c59271c669 engine crc for REO 2020-05-09 20:04:58 -04:00
rusefi 7be4c75033 Fresh generated - auto 2020-05-09 18:59:03 -04:00
rusefi c0d45f9330 rusEFI online engine crc 2020-05-09 18:31:41 -04:00
dron0gus f9c82b860d
board: subaru-ej20g: remove (#1414)
Noone uses this board anymore
2020-05-09 18:22:17 -04:00
rusefi 4ebbe6fd61 Merge remote-tracking branch 'origin/master' 2020-05-09 17:26:03 -04:00
rusefi b469c5a0f7 LED docs 2020-05-09 17:25:46 -04:00
rusefi 19a1ad05b1 tle8888 restoration 2020-05-09 16:59:54 -04:00
rusefi b88b1e4aa5 mre 050 compromise 2020-05-09 09:40:00 -04:00
rusefi 39424cf5f0 date&docs 2020-05-09 09:35:34 -04:00
rusefi bbe4f7926b Merge remote-tracking branch 'origin/master' 2020-05-09 09:34:36 -04:00
Matthew Kennedy 96a800acb9
fix gppwm on-off mode (#1406)
* fix

* put it back

* do it with PWM instead

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-09 09:25:45 -04:00
rusefi 1a55d40863 Fresh generated - auto 2020-05-09 03:46:08 -04:00
rusefi e451e3c4aa 34-2 3 cam Toyota wheel 2020-05-09 01:51:04 -04:00
rusefi 4ea0a3de26 nicer error messages 2020-05-09 01:49:17 -04:00
rusefi 6661c66e62 34-2 3 cam Toyota wheel progress 2020-05-09 01:15:55 -04:00
rusefi 05f1e6e151 docs 2020-05-09 00:56:26 -04:00
rusefi ab07c0082b this part can go forward 2020-05-09 00:53:04 -04:00
rusefi e0c59ab6b1 placing parts of confusion closer together 2020-05-09 00:47:11 -04:00
rusefi fd9e3a1f5c placing parts of confusion closer together 2020-05-09 00:43:28 -04:00
rusefi c5bea0e979 placing parts of confusion closer together 2020-05-09 00:16:48 -04:00
rusefi 8c3485a8dc Revert "Tle8888 for mre 050 (#1408)"
This reverts commit ba1a606d
2020-05-08 23:58:34 -04:00
rusefi 4364eea7a2 refactoring: extracting magic constant 2020-05-08 22:05:44 -04:00
rusefi b4f6c6488f helping build 2020-05-08 21:39:35 -04:00
rusefi b504b170d0 command line switch to DFU 2020-05-08 21:11:11 -04:00
dron0gus f78889c1b3
idle thread: debug output for bipolar stepper (#1409) 2020-05-08 20:05:05 -04:00
dron0gus ba1a606d9a
Tle8888 for mre 050 (#1408)
* tle8888: fix tle8888_chip_init flow

* tle8888: set correct pin modes for mcu gpios in tle8888_chip_init

Direct drive, reset, inj_en and ign_en gpio should be outputs
2020-05-08 19:05:30 -04:00
dron0gus d0d5cdd4dd
tle8888: on MRE 0.5.0 we can drive ING_EN and INJ_EN from STM (#1407)
Do it!
2020-05-08 17:47:41 -04:00
rusefi 4082a53f56 default engine make/code 2020-05-08 17:31:03 -04:00
rusefi cbd933edf6 Fresh generated - auto 2020-05-07 13:46:18 -04:00
rusefi 217ca8117e manual gen 2020-05-07 13:08:09 -04:00
rusefi 18bb2475bd getting deeper into the rabbit hole 2020-05-07 13:06:39 -04:00
rusefi 64af9623ee Fresh generated - auto 2020-05-07 11:03:12 -04:00
rusefi a82eff635f Merge remote-tracking branch 'origin/master' 2020-05-07 10:22:22 -04:00
rusefi 7fda636144 https://github.com/rusefi/web_backend/issues/1 2020-05-07 10:22:04 -04:00
dron0gus 98bca0cb23
Tle8888 stage 1 (#1404)
* TLE8888: implement diagnostic

* TLE8888: add support for PP mode on OUT21..24

* tle8888: use helpers to extract register value from 16bit reply
2020-05-07 09:49:57 -04:00
rusefi 39c5f40d17 Fresh generated - auto 2020-05-07 09:07:04 -04:00
Matthew Kennedy e2974cfeda
short term fuel trim: part 2 (#1405)
* add tooltip

* add other direction to deadband

* add impl

* test partitioning

* makefile

* wrong comment

* fix include
2020-05-07 08:52:32 -04:00
rusefi 5e75da1b75 Fresh generated - auto 2020-05-07 01:13:25 -04:00
rusefi 2b6f0652f6 field useful for rusEFI online catalog 2020-05-07 01:00:02 -04:00
rusefi e9e95ec5f3 Merge remote-tracking branch 'origin/master' 2020-05-07 00:56:22 -04:00
rusefi 016da58bbd field useful for rusEFI online catalog 2020-05-07 00:55:59 -04:00
rusefi 49d4b0acee Fresh generated - auto 2020-05-06 22:04:53 -04:00
Matthew Kennedy aa3bf51723
short term fuel trim: part 1 (#1402)
* add cell

* add stft cell tests

* add bit

* minimally generate

* config defaults
2020-05-06 21:00:40 -04:00
dron0gus 5987fb8b88
[SAFE] Debug cleanups (#1403)
* electronic throttle: inprove debug

* idle thread: show debug info for configured idle driver

* gpio-chips: make private functions static
2020-05-06 20:06:50 -04:00
rusefi 07e6e2c4ad steps towards tle8888 2020-05-06 19:20:12 -04:00
rusefi 2cfb6bff38 steps towards tle8888 2020-05-06 19:15:52 -04:00
Matthew Kennedy 858821ed66
proteus -> exti (#1378)
* proteus -> exti

* do frankenso pal the same way

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 18:52:15 -04:00
rusefi 320b9f74c6 it's a mess but helps Proteus F7
F4 Proteus will will handle separately
2020-05-06 18:14:23 -04:00
rusefi 6e832002ba magic is around the corner 2020-05-06 14:00:08 -04:00
rusefi 589feb951f Fresh generated - auto 2020-05-06 08:49:08 -04:00
Matthew Kennedy 74d13c391f
Rewrite boost control in new closed loop framework (#1342)
* rewrite boost

* test

* fix build

* tests

* open loop test

* test closed loop

* fix names

* typo

* tests

* mock boost setOutput

* needs more virtual

* fix boost logic

* switch to TPS based open loop

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:40:42 -04:00
Matthew Kennedy 20a95bdcf1
ETB auto-PID: auto set values in TS (#1400)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* auto gains too

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* move

* add maintainconstantvalue

* add disable button

* cleaning

* move state inside

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:39:02 -04:00
Matthew Kennedy 484ab6aa97
doesn't need to pass callback (#1399)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:38:15 -04:00
rusefi 1e413cf7eb reviving kinetis 2020-05-05 16:59:40 -04:00
rusefi 2d18777d00 helping build 2020-05-05 15:47:14 -04:00
Matthew Kennedy ebde7a29d5
don't fail on multiple Start calls (#1396)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-05 15:45:07 -04:00
rusefi d6c72cb769 Fresh generated - auto 2020-05-05 15:37:44 -04:00
rusefi a9514ec9e4 vehicleName TS field 2020-05-05 15:12:12 -04:00
Matthew Kennedy 2c9cb4e291
remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
Matthew Kennedy 745b0c04ac
pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00
rusefi 27de7eabc0 Fresh generated - auto 2020-05-05 00:23:26 -04:00
rusefi 75d76f850d progress - firing order logic to be re-evaluated every time we generate 2020-05-04 23:54:28 -04:00
rusefi a208078f7c haha notes 2020-05-04 23:38:32 -04:00
rusefi 3575962da6 docs 2020-05-04 22:31:47 -04:00
rusefi 0efcb8f7c1 reducing confusion? 2020-05-04 20:52:32 -04:00
rusefi e6e5d99303 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-05-04 19:26:22 -04:00
rusefi 75b3db09f1 reducing confusion? 2020-05-04 19:26:13 -04:00
rusefi af262c3c5d Fresh generated - auto 2020-05-04 19:17:35 -04:00
rusefi aa04de0000 Nick says we need this MAP sensor 2020-05-04 19:08:36 -04:00
rusefi 2337a89cf9 docs 2020-05-04 13:28:00 -04:00
rusefi 5caed7ec31 getting all start-up issues together 2020-05-04 00:21:22 -04:00
rusefi 69a232e12d ugly copy-paste 2020-05-04 00:10:20 -04:00
rusefi ae1bd9c55d docs 2020-05-03 15:54:17 -04:00
rusefi c5eff0d262 MRE adapter 2020-05-03 15:21:32 -04:00
rusefi b5571569e9 docs 2020-05-03 12:40:43 -04:00
rusefi 5e11f634a5 unifying Frankenso and MRE defaults 2020-05-03 12:11:47 -04:00
rusefi 62c89a39da class constructors are a great way to have simple initialization sequence 2020-05-03 11:49:06 -04:00
rusefi 11a02b6395 class constructors are a great way to have simple initialization sequence 2020-05-03 10:58:52 -04:00
rusefi 244d1ea7e8 docs 2020-05-03 10:41:48 -04:00
rusefi a8f764589b Fresh generated - auto 2020-05-03 03:41:14 -04:00
rusefi 21e5482c47 date 2020-05-03 02:50:43 -04:00
rusefi c5dca5b958 this is all very sad 2020-05-03 02:30:05 -04:00
rusefi cee6c22a2b docs 2020-05-03 02:10:27 -04:00
rusefi 6882764221 steps towards BT 2020-05-03 01:43:39 -04:00
rusefi 32b724dba7 better names 2020-05-03 00:30:35 -04:00
rusefi b21ab82d99 Merge remote-tracking branch 'origin/master' 2020-05-03 00:25:47 -04:00
rusefi 398af3d18b looks like a better variable name 2020-05-03 00:20:54 -04:00
rusefi 6993414912 Fresh generated - auto 2020-05-03 00:11:27 -04:00
rusefi 2d5e75cbd1 docs 2020-05-03 00:04:22 -04:00
rusefi 2222aaa3f0 looks like with current implementation we can use the fancy method 2020-05-03 00:01:54 -04:00
rusefi b9733c5901 refactoring: using brain_pin like the rest of the code 2020-05-02 23:47:10 -04:00
rusefi 96ceae7d17 refactoring: using constructor life-cycle to simplify initialization sequence 2020-05-02 23:15:48 -04:00
rusefi d2d36a7048 docs 2020-05-02 23:02:54 -04:00
rusefi 639b519ad8 exactly noone is surprised 2020-05-02 22:44:36 -04:00
rusefi bd14bd7248 what could possibly go wrong 2020-05-02 22:34:31 -04:00
rusefi 7e82691319 oh what did I do 2020-05-02 22:27:20 -04:00
rusefi 12a373a2d2 Merge remote-tracking branch 'origin/master' 2020-05-02 22:20:54 -04:00
rusefi 5eddfeebdd fixing headers 2020-05-02 22:20:41 -04:00
rusefi 0a96a75936 Fresh generated - auto 2020-05-02 22:18:12 -04:00
rusefi f456799310 reducing confusion? 2020-05-02 22:06:11 -04:00
rusefi a80b9d8ff7 Fresh generated - auto 2020-05-02 18:38:22 -04:00
Matthew Kennedy 3052f2ab7b
Support 4 h-bridges (#1392)
* update dc motor api

* add more etbio

* get out of two arrays

* hand generate enough

* forgot engine param

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-02 17:54:28 -04:00
rusefi 8586459ec0 Fresh generated - auto 2020-05-02 15:56:36 -04:00
rusefi 7b29b1e027 we need aux voltage in addition to aux temp 2020-05-02 15:29:28 -04:00
rusefi 62ca34b0e0 Fresh generated - auto 2020-05-01 20:44:01 -04:00
rusefi d371af5b89 CJ125 PI commands 2020-05-01 20:22:49 -04:00
rusefi 87925f3adb Fresh generated - auto 2020-05-01 20:05:53 -04:00
rusefi 669322311f cj125 progress 2020-05-01 19:42:09 -04:00
rusefi de519474ef cj125 less verbose when running 2020-05-01 19:27:26 -04:00
rusefi d6db0d1013 bugfix 2020-05-01 19:19:29 -04:00
rusefi c39662b5c6 better state messages 2020-05-01 18:52:06 -04:00
rusefi 91da7cc250 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-05-01 17:52:35 -04:00
rusefi fe25c8162a Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi feff6a2ae2 Fresh generated - auto 2020-05-01 17:36:33 -04:00
rusefi 04671403e2 docs 2020-05-01 17:21:26 -04:00
rusefi cdbab4c68e sweet unused method 2020-05-01 12:05:18 -04:00
rusefi aff53dfc1e Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-30 22:32:25 -04:00
rusefi 865531193d docs 2020-04-30 22:30:37 -04:00
rusefi 901c61eba5 Fresh generated - auto 2020-04-30 19:43:31 -04:00
Matthew Kennedy b17198a541
Add raw gauges to sensor config pages (#1390)
* clt

* iat

* minor cranking

* fix

* oilp too

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:44:34 -04:00
Matthew Kennedy 6c15d6b2e8
Trigger dialog cleanup (#1389)
* trigger dialog simplify

* more cleanup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 18:03:56 -04:00
rusefi ace48c2653 Fresh generated - auto 2020-04-30 16:39:12 -04:00
Matthew Kennedy 7779d5b7f4
fsio settings -> 2 decimals (#1388)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-30 16:05:20 -04:00
rusefi 3a94eef06c Fresh generated - auto 2020-04-29 23:01:39 -04:00
rusefi 65b9aa09e4 Fresh generated - auto 2020-04-29 20:23:08 -04:00
rusefi d5df92f138 At least everything fits on my screen now 2020-04-29 19:39:35 -04:00
rusefi 7686ee271c https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:46:51 -04:00
rusefi 965c06c079 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 9180154848 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy 4252ed8d78
fix unlock bug (#1384) 2020-04-29 16:42:55 -04:00
Matthew Kennedy 1f16228bdb
Perf Trace Improvements (#1383)
* add tid field to thread

* change perf trace format

* trace consumers

* Update java parsing

* guard for test + kinetis

* stubs

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -04:00
rusefi 972523c466 Fresh generated - auto 2020-04-28 20:12:34 -04:00
Matthew Kennedy ba6ec4ac51
TPS Auto Calibration with ETB (#1382)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* guard for ECUs without ETB
2020-04-28 19:31:41 -04:00
rusefi 942ebef700 Fresh generated - auto 2020-04-28 17:06:44 -04:00
Matthew Kennedy d728b1ca48
Minor ETB improvements (#1381)
* fix pid reset and pedal failure

* pause control later

* test pauseEtbControl

* update tooltip + field name

* update test
2020-04-28 16:52:40 -04:00
rusefi 0c5e41a36d fix master #1375 2020-04-28 08:10:36 -04:00
Matthew Kennedy cb668e5234
fix master (#1375)
* fix

* put back how it was

* missed a spot
2020-04-28 08:08:41 -04:00
rusefi 44facf1140 useful content from Move ETB control to a thread #1374 2020-04-28 08:05:18 -04:00
rusefi befb29d171 Fresh generated - auto 2020-04-28 07:36:31 -04:00
Matthew Kennedy fe4b531aeb
Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
rusefi a43bad526b Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-27 19:45:03 -04:00
rusefi 4a68130cd1 amazing flex fuel progress 2020-04-27 16:07:40 -04:00
Matthew Kennedy 6ce9ae4481
move hooks in to common chconf.h (#1376)
* move hooks in to common

* but not for kinetis

* don't use c style void arg

* kinetis needed more, not less

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 16:07:05 -04:00
Matthew Kennedy 28d0cfa91e
reclaim (#1377)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
rusefi 3badb5dbfb typo 2020-04-27 08:09:14 -04:00
Matthew Kennedy 9779049238
actually use msg parameter (#1372) 2020-04-27 07:56:38 -04:00
rusefi 9259d101e7 https://rusefi.com/forum/viewtopic.php?p=36268#p36268 2020-04-26 23:03:50 -04:00
rusefi 978bb8917d docs 2020-04-26 21:41:03 -04:00
rusefi 88bbbb6c33 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
rusefi 24bb43c334 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-04-26 19:44:04 -04:00
rusefi 8f13ae2e14 better defaults 2020-04-26 19:16:54 -04:00
rusefi 289691a3f2 minor clean-up 2020-04-26 18:47:56 -04:00
rusefi 8149d90814 method inline 2020-04-26 17:50:03 -04:00
rusefi 1b84406e77 dead code 2020-04-26 17:40:12 -04:00
rusefi ab691c4821 minor clean-up 2020-04-26 17:07:39 -04:00
rusefi 6eddc7b22d Fresh generated - auto 2020-04-26 14:19:00 -04:00
Matthew Kennedy f128b33694
General purpose PWM: implementation & tests (#1366)
* config

* significant digits

* renumber enum, no need for a "none"

* ui

* impl base

* error handle MAP

* init & update

* don't need arg

* don't lie about sensor

* fix test build

* test stub

* initialize

* null check

* fix clamping

* test output

* types & enums

* don't need param

* test getOutput

* fix

* output pin instead of brain pin

* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy 7aa697c256
TS protocol framing for auto tune/calibration features (#1370)
* rearrange

* fix enum

* too much

* format

* enough generate for CI

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-26 14:06:09 -04:00
rusefi cd27f0cd81 Merge remote-tracking branch 'origin/master' 2020-04-26 01:25:53 -04:00
rusefi 0a41aae042 "FASLE" -> FALSE 2020-04-26 01:25:41 -04:00
Matthew Kennedy 83cca6ec7a
allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00
rusefi e18ee8c097 Bosch vvt shape #1368 2020-04-25 22:23:53 -04:00
rusefi 1f2c35da92 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-25 21:28:01 -04:00
rusefi 23e3d05d35 Bosch vvt shape #1368
skeleton
2020-04-25 19:50:43 -04:00
Matthew Kennedy bfc6d10b5b
types & enums (#1367) 2020-04-25 18:26:29 -04:00
rusefi 7fa38d99a7 Fresh generated - auto 2020-04-25 18:07:37 -04:00
Matthew Kennedy a16e8bba8d
General purpose PWM: configuration fields (#1365)
* config

* significant digits

* renumber enum, no need for a "none"

* ui
2020-04-25 17:17:58 -04:00
dron0gus 474d5e64cf
Update chibios (#1364)
* Update ChibiOS

* Fix coexistance of ChibiOS and our flash drivers

* Add 'int' = internal prefix for all on-chip flash functions

This avoid conflict with ChibiOS functions available after
enabling HAL_USE_EFL

* Exclude ChibiOS flash driver from bootloader

* Makefile magic?

* Kinetis: fix build after ChibiOS update and switching to SMART_BUILD

* Bootloader now use SMART_BUILD too
2020-04-25 16:32:32 -04:00
rusefi 31f9e08184 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-25 12:08:16 -04:00
rusefi 2a70659a28 wow maybe build time magic?! by DronoGus 2020-04-25 12:07:57 -04:00
rusefi f4d6fda7de Fresh generated - auto 2020-04-24 23:26:48 -04:00
Matthew Kennedy a8db44d48a
Remove scheduler debug pins (#1359)
* trigger gen refactoring

* missed one

* remove microsecond timer debug pins

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 23:13:05 -04:00
Matthew Kennedy f704bf22cb
use the linker! (#1363) 2020-04-24 21:21:04 -04:00
Matthew Kennedy a8f466c615
trigger emulator refactoring (#1358)
* trigger gen refactoring

* missed one

* fix makefile

* commentary

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
rusefi 68a1b54694 poke 2020-04-24 12:30:38 -04:00
rusefi cb507021ba poke 2020-04-24 08:26:28 -04:00
rusefi 258b631ac8 Fresh generated - auto 2020-04-24 01:20:00 -04:00
Matthew Kennedy 57900b679c
Revamp indicator panel in TS (#1357)
* fix pedal ind

* maf -> map

* only set pedal error light if error

* adjustments
2020-04-24 00:10:19 -04:00
rusefi a1a86b71e0 Fresh generated - auto 2020-04-23 23:51:32 -04:00
Matthew Kennedy b6ee79327d
switch ADC to gpt (#1343)
* switch to gpt

* halconf

* fix kinetis

* fix kinetis

* fix guards

* comment cleanup
2020-04-23 22:50:18 -04:00
Matthew Kennedy 1bad5f3047
don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 4561b08ed8 poke 2020-04-23 20:34:56 -04:00
rusefi 86df439dea poke 2020-04-23 20:22:54 -04:00
rusefi ac9ca1343a tle8888 modes corrected 2020-04-23 19:49:22 -04:00
rusefi 0ffb72e48c tle8888 modes corrected 2020-04-23 19:39:59 -04:00
rusefi 18955bc789 poke 2020-04-23 17:20:39 -04:00
rusefi c52c7e2f1f TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi 3012b18a5c docs 2020-04-23 16:39:32 -04:00
rusefi f44194f568 poke 2020-04-23 16:04:06 -04:00
rusefi ccc445d7ee extracting TLE8888 dialog 2020-04-23 15:40:10 -04:00
rusefi aeaebcb794 poke 2020-04-23 14:47:12 -04:00
rusefi 6a85a58032 poke 2020-04-23 14:18:00 -04:00
rusefi 8ecb6662a8 poke 2020-04-23 13:13:50 -04:00
rusefi 067e01d0d0 poke 2020-04-23 12:13:52 -04:00
Matthew Kennedy b28740c20e
MAP scheduling (#1352)
* map sched

* format

* guard test
2020-04-23 08:12:44 -04:00
rusefi e4f3989603 hardware continues integration needs a high RPM high tooth count test case
#1351
2020-04-23 01:26:30 -04:00
Matthew Kennedy df2db7036d
ETB autotune in its own function (#1350)
* pull out autotune

* oops
2020-04-22 22:22:28 -04:00
rusefi 4947252830 Fresh generated - auto 2020-04-22 21:22:09 -04:00