Commit Graph

11238 Commits

Author SHA1 Message Date
Matthew Kennedy ab8248427c more ETB test coverage (#2039)
* test no pedal map

* test open loop

* open loop but not throttle

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:59:18 -05:00
Matthew Kennedy cd2d568b74 maybe fix sensor init checks (#2034)
* enums

* don't collide

* auto_generated_enums

* check based on new enum val

* maybe this will make generate tool happy

* add a test

* fix test

* fix and add another test

* make clang happier

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:19:57 -05:00
Matthew Kennedy 73fc01ceec put back safe part of #2005 (#2036)
* put back some safe bits

* dumb typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
GitHub set-date Action 4997ca8b13 Update date 2020-12-07 00:47:47 +00:00
rusefillc 12db055b7f range check covers 'ERROR_CODE' already 2020-12-06 19:29:37 -05:00
rusefillc b463166297 minor fixes 2020-12-06 19:25:48 -05:00
rusefillc 93e69bea93 refactoring 2020-12-06 19:04:23 -05:00
rusefillc d86c53fecf basic hw in the loop - pwm self validation #2028 2020-12-06 18:39:50 -05:00
rusefillc 12e5dfcbfe Merge remote-tracking branch 'origin/master' into master 2020-12-06 18:13:07 -05:00
rusefillc 08dbbdb21a subi 2020-12-06 18:08:55 -05:00
GitHub build-firmware Action f0dcd4a5d4 Auto-generated configs and docs 2020-12-06 23:08:10 +00:00
rusefillc 8d6255b1e2 Revert "switch rpm calculator to use timer class (#2005)"
This reverts most of 622021e799 commit.
2020-12-06 18:05:53 -05:00
rusefillc 84dae6f5af Merge remote-tracking branch 'origin/master' into master 2020-12-06 17:52:30 -05:00
rusefillc da513b11b9 docs 2020-12-06 17:39:33 -05:00
Matthew Kennedy 622021e799 switch rpm calculator to use timer class (#2005)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
rusefillc 0c8fb33b0e typo 2020-12-06 15:55:54 -05:00
rusefillc 65f8198e8a Merge remote-tracking branch 'origin/master' into master 2020-12-06 15:54:23 -05:00
rusefillc f3f5f03fbf I was pushed into this! 2020-12-06 15:54:12 -05:00
Matthew Kennedy 69f754bfbd don't duplicate sensor error logic (#2032)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 15:00:30 -05:00
Matthew Kennedy 7dad3356e9 add isRedundant (#2031)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05:00
GitHub build-firmware Action 690e1a7b67 Auto-generated configs and docs 2020-12-06 19:19:09 +00:00
rusefillc f868d05dec MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc c0e2ca5e74 MRE_SUBARU_EJ18 2020-12-06 13:08:09 -05:00
rusefillc 63e328603f one step back #2017 2020-12-06 08:50:10 -05:00
rusefillc 940251f25b one step back #2017 2020-12-06 08:34:10 -05:00
rusefillc f6c08c55b6 code formatting & more info into message 2020-12-06 08:30:31 -05:00
Matthew Kennedy 9ef59c1572 fix button shift inheritance (#2027)
* fix button shift inheritance

* extra

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 07:32:38 -05:00
Matthew Kennedy fbcfb4534a require TPS values to be different (#2017)
* require values to be different

* fix not

* oops

* missed another spot

* test negative cases too

* resets

* test no sensor case

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:41:49 -05:00
Matthew Kennedy a806053d52 round rpm instead of truncating (#2023)
* round rpm instead of truncating

* efiround is expensive

* Revert "efiround is expensive"

This reverts commit e5690f89e1b1988aacf5ced1f024d576465a7cd6.

* round is better than rintf

* testing

* it works now?!

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
Matthew Kennedy 9f9e9f99d1 unit tests in clang (#2012)
* clang errors

* non-test-only

* debugging

* rules on mac

* makefile

* put back

* let's see if this way makes everybody happy

* no, it does nto

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 23:21:17 -05:00
GitHub build-firmware Action 472ec232b7 Auto-generated configs and docs 2020-12-06 03:05:54 +00:00
rusefillc b62b3331d1 suby 2020-12-05 22:04:07 -05:00
rusefillc 085a5f38b8 making console happier 2020-12-05 21:56:39 -05:00
rusefillc 4020e59030 time and TDC stroke should be less full, also time and scale should be painted before/under engine events 2020-12-05 21:10:19 -05:00
GitHub set-date Action 4d48abc1b8 Update date 2020-12-06 00:47:59 +00:00
Andrey G 4980fc49d9 Fixes after clenup (#2019)
* We still need consoleEventListener for boards with EFI_CONSOLE_SERIAL_DEVICE

* MC33810: add MC_ prefix for command defines

As CMD_PWM define is now used by console command
2020-12-05 11:54:09 -05:00
Matthew Kennedy b0410167de encapsulate entry logic in to entry (#2018)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 10:16:52 -05:00
Andrey G f31731d380 ADC: correctly calculate cache invalidate range for STM32F7xxx (#2021)
Bug was introduced in 5d421f7ffa when
sample buffer was moved out of class. So sample become adcsample_t*
instead of adcsample_t[] and sizeof returns 4.
2020-12-05 10:14:33 -05:00
Andrey G 040e07ec48 adc: fix CPU temperature read for STM32F76x/77x (#2020) 2020-12-05 09:58:23 -05:00
rusefillc e63a59bc3e Merge remote-tracking branch 'origin/master' into master 2020-12-05 01:03:58 -05:00
rusefillc 8540343d48 unit tests in clang #2012 2020-12-05 00:22:10 -05:00
GitHub build-firmware Action 053e14de4f Auto-generated configs and docs 2020-12-05 05:05:04 +00:00
kon 0545646047 Website fixes (#2015)
* Auto-generated configs and docs

* Auto-generated configs and docs

* Auto-generated configs and docs

* Auto-generated configs and docs

* daily builds added

* website improvements

* more website updates

* fixed layout fuckups on mobile and desktop; added proteus link

* fixed table, updated icons

Co-authored-by: GitHub build-firmware Action <action@github.com>
2020-12-05 00:02:14 -05:00
Matthew Kennedy 9d2471e9ff add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefillc a1fe39b89d unit tests in clang #2012 2020-12-04 23:59:21 -05:00
shadowm60 45205e7da7 Dyno view proposal (#1999)
* DynoView creation

module implementation and unit_tests

* update acc algo

we only calcualte new acceleration value if speed has changed, not on every callback.

* added acceleration ts_channel

* fixed broken unit tests

* fixed accel sign

* review updates

* Update test_dynoview.cpp

fix unit_tests

* Update engine_controller.cpp

Fix .ram4 unused size

* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
GitHub set-date Action de2a5879c4 Update date 2020-12-05 00:45:22 +00:00
rusefillc 970e21bc2c all triggers should be documented way nicer #2001 2020-12-04 18:55:21 -05:00
rusefillc 96a7d528b6 hemi trigger decoder took some RAM 2020-12-04 18:46:35 -05:00
rusefillc 0319d4452d https://github.com/rusefi/rusefi_documentation/issues/111 2020-12-04 18:40:24 -05:00