Commit Graph

4144 Commits

Author SHA1 Message Date
rusefi 6f5592ed2a partial rollback 2020-05-23 18:11:04 -04:00
rusefi 44b4c4bf25 partial rollback 2020-05-23 18:01:40 -04:00
rusefi d75a50fde5 partial rollback 2020-05-23 18:00:20 -04:00
rusefi b2f12cd55a partial rollback 2020-05-23 16:24:26 -04:00
Matthew Kennedy a2313a853c switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
Matthew Kennedy 00aa06a6b5 as suggested by the comment, this doesn't need a warning (#1464)
* the comment is correct

* format
2020-05-23 00:40:20 -04:00
rusefi 6453e891e6 "TLE8888 SR Unexpected response" does not work as intended fix #1466 2020-05-22 22:56:19 -04:00
rusefi ae60a3e1b8 code style 2020-05-22 18:07:19 -04:00
rusefi e063aa492a build and board info into critical error message 2020-05-22 16:45:13 -04:00
rusefi 714979586b refactoring 2020-05-22 16:36:37 -04:00
rusefi ef66c84d77 date 2020-05-22 13:30:14 -04:00
rusefi 5e202930f4 pre-sets progress 2020-05-22 13:12:16 -04:00
rusefi 19bef7870c fixing build 2020-05-22 01:03:27 -04:00
rusefi 74ede6db64 would this help? 2020-05-22 00:25:48 -04:00
rusefi 6da2edfe94 would this work? 2020-05-22 00:00:16 -04:00
rusefi 9dee72cf3e progress 2020-05-21 22:33:48 -04:00
rusefi 8b00823a0f HW test progress 2020-05-21 21:45:01 -04:00
rusefi 4015c600e9 MRE pre-sets 2020-05-21 20:44:14 -04:00
rusefi 871cee3092 test fixture progress 2020-05-21 18:36:32 -04:00
rusefi a390ec744e no comments 2020-05-21 18:28:35 -04:00
Matthew Kennedy 0a278375fd Binary logging to SD (#1461)
* binary log

* remove old text logging

* change file extension

* just use a bare buffer

* more mem :(

* double ugh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 15:52:58 -04:00
Matthew Kennedy 441fe43dab warnings (#1462)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
rusefi 76f3fdbc1c Fresh generated - auto 2020-05-20 22:26:49 -04:00
rusefi 60835c4269 HW_CHECK_MODE 2020-05-20 22:15:47 -04:00
rusefi 9b1082f187 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp
2020-05-20 21:22:46 -04:00
rusefi a2648c4d52 WBO 2020-05-20 19:01:55 -04:00
rusefi 8128ed1290 Fresh generated - auto 2020-05-20 11:24:49 -04:00
rusefi f0bd4f033d progress 2020-05-20 09:16:26 -04:00
rusefi 19a8500a43 Clean-up analog channels in "unit" tests fix #1456 2020-05-20 08:55:38 -04:00
Matthew Kennedy c5bba14da5 remove test clt/iat (#1457)
* remove test clt/iat

* remove warning since this code is nearly dead
2020-05-20 03:16:01 -04:00
rusefi ba8600307f [Feature Request] Transmission Control #1454 2020-05-20 01:05:15 -04:00
rusefi 08f395a608 fresh enums 2020-05-20 00:56:16 -04:00
Matthew Kennedy ce2beafb5f Redundant tps (#1427)
* add redundant sensor

* add tests

* add configure, info printing

* tests

* tests

* partial hookup

* fix

* fix

* bad makefile merge

* use second TPS config

* update test

* update test

* sensor names

* set second pin by default

* fix auto cal

* auto cal both sensors

* add reconfigure of secondary sensors

* gobblin' up your ram

* slow down write a little bit

* put split in debug gauge

* s

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
rusefi 56faab272f hard-coding NB2 OEM sensor 2020-05-18 01:39:41 -04:00
rusefi aaf15e0fae something too special with Kinetis? 2020-05-18 01:25:10 -04:00
rusefi 9d535f4ce6 reducing magic constant copy/paste & MAP dialog progress 2020-05-18 01:15:13 -04:00
Matthew Kennedy e6e48ce66c binary logging (#1443)
* field support

* tests

* makefiles

* test data too

* missing include dir

* write correct thing

* fix one test

* fix test

* omnomnomnom ram

* format

* use defined names

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00
Matthew Kennedy 6d4924e85a dead datalog code (#1439)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi 8253f5b931 better VVT progress 2020-05-15 21:33:25 -04:00
rusefi 4605259d9c VVT progress 2020-05-15 21:10:15 -04:00
rusefi 0aa37ef0f2 docs 2020-05-15 18:08:11 -04:00
dron0gus aa9def4a99 Minor fixes (#1437)
* cmpilation warning cleanup

* exti trigger: mark pins used, handle errors
2020-05-15 18:03:18 -04:00
rusefi 11b66a6713 toyota 2jz progress 2020-05-15 16:35:18 -04:00
rusefi 03a632f3a7 VVT_INACTIVE 2020-05-14 23:13:32 -04:00
dron0gus 624ed955db triggers: add Subaru SVX trigger (3 sensors) (#1433) 2020-05-14 20:40:47 -04:00
dron0gus 425d1a2554 smart gpios: remove dead code (#1432) 2020-05-14 16:15:55 -04:00
Matthew Kennedy 7a41df6153 Fix 100% duty injection (#1431)
* skip turn-off for high duty

* mock executor injection

* test

* switch to hard cut

* test no longer relevant
2020-05-14 07:44:32 -04:00
rusefi c47a0c3125 SD card for MRE 2020-05-13 23:26:28 -04:00
rusefi 632bedcf9c helping build 2020-05-13 19:41:10 -04:00
rusefi 36586c0243 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-05-13 19:31:42 -04:00
rusefi 4adac49050 docs & helping master 2020-05-13 19:27:11 -04:00
rusefi f081c8eef4 new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:52:27 -04:00
rusefi 5c91d96ce6 new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:17:48 -04:00
rusefi d74f1c0951 lovely, yet another minor confusion 2020-05-13 01:16:05 -04:00
rusefi bdb93db70d https://github.com/rusefi/hw_microRusEfi/issues/157 2020-05-12 23:37:12 -04:00
rusefi a88b41a8d0 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 7d4c86db9f https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:57:19 -04:00
rusefi c71bc30149 https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:45:34 -04:00
kon ae44c0fce7 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 e37f737689 date 2020-05-11 00:59:55 -04:00
rusefi e9e79f8309 34-2 3 cam Toyota wheel progress 2020-05-10 18:10:50 -04:00
rusefi 2db29c7824 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
Matthew Kennedy 8a73c191bc 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 7471af9117 34-2 3 cam Toyota wheel progress 2020-05-10 15:22:50 -04:00
rusefi 7f88c6e78a 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:21 -04:00
rusefi 907df2aa0a 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:04 -04:00
rusefi 6fe2f7c38f mck1117:secondary-tps-config progress 2020-05-10 10:11:51 -04:00
rusefi 14b63774fb that's embarrassing 2020-05-10 02:36:01 -04:00
rusefi db8d11739d removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi e4cfc39b68 docs & clean-up 2020-05-10 00:59:32 -04:00
rusefi 2f431d7079 34-2 3 cam Toyota wheel progress 2020-05-10 00:42:33 -04:00
rusefi 9c01614a46 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi 08cfcddeb4 manual date 2020-05-09 22:44:44 -04:00
rusefi 7fdb6ca2be rusEFI online engine crc 2020-05-09 22:43:39 -04:00
rusefi d79e404bec date&docs 2020-05-09 09:35:34 -04:00
rusefi bb8762ba76 Merge remote-tracking branch 'origin/master' 2020-05-09 09:34:36 -04:00
Matthew Kennedy 103a1693c8 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 0c95adad96 34-2 3 cam Toyota wheel 2020-05-09 01:51:04 -04:00
rusefi 94ca216936 nicer error messages 2020-05-09 01:49:17 -04:00
rusefi 452a579e8e 34-2 3 cam Toyota wheel progress 2020-05-09 01:15:55 -04:00
rusefi 19e917012d placing parts of confusion closer together 2020-05-09 00:47:11 -04:00
rusefi 61e852f0ae placing parts of confusion closer together 2020-05-09 00:43:28 -04:00
rusefi caa4a790f9 placing parts of confusion closer together 2020-05-09 00:16:48 -04:00
rusefi 74d5799626 refactoring: extracting magic constant 2020-05-08 22:05:44 -04:00
rusefi 9d2cbd682b helping build 2020-05-08 21:39:35 -04:00
dron0gus 35af083a6e idle thread: debug output for bipolar stepper (#1409) 2020-05-08 20:05:05 -04:00
Matthew Kennedy 424a86be7b 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 46a56f3799 Merge remote-tracking branch 'origin/master' 2020-05-07 00:56:22 -04:00
rusefi c0ce8b1b22 field useful for rusEFI online catalog 2020-05-07 00:55:59 -04:00
Matthew Kennedy 55159cae44 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 7007627b70 [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
Matthew Kennedy 5c84d95360 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 9d05182ae1 magic is around the corner 2020-05-06 14:00:08 -04:00
Matthew Kennedy 6f3736f246 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 950ff9cb80 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 c75adfc97f doesn't need to pass callback (#1399)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:38:15 -04:00
rusefi c5da481914 helping build 2020-05-05 15:47:14 -04:00
Matthew Kennedy a26355fdd1 don't fail on multiple Start calls (#1396)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-05 15:45:07 -04:00
Matthew Kennedy 10903c4659 remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
Matthew Kennedy 573d6d2d55 pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00