rusefillc
c307b1b886
Passat B6 canned config: GDI injector deadtime to like flat 0.2ms #2049
2020-12-11 09:07:23 -05:00
Matthew Kennedy
8ad2080df7
switch stm32 scheduling to use PWM driver ( #1983 )
...
* move to folder
* extract hardware part of microsecond_timer
* dead ST forum link
* de-volatile
* simulator build
* guard
* switch stm32 to pwm timer
* comments
* f7 mcuconf
* simulator
* guard
* warning
* header, cleanup
* constant
* less magic
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 00:44:40 -05:00
rusefillc
64fdfba435
dead code
2020-12-10 21:45:25 -05:00
GitHub set-date Action
66b6138ad8
Update date
2020-12-11 00:48:18 +00:00
rusefillc
0912c9d871
GM x24 is a well defined trigger needs hard-coded tdcPosition #2054
2020-12-10 19:39:53 -05:00
rusefillc
d26381d6c1
Merge remote-tracking branch 'origin/master' into master
2020-12-10 19:38:44 -05:00
rusefillc
9400af5452
GM x24 is a well defined trigger needs hard-coded tdcPosition fix #2054
2020-12-10 19:38:33 -05:00
Matthew Kennedy
a159ecbf0a
reduce GPIO complexity ( #2051 )
2020-12-10 19:18:14 -05:00
Matthew Kennedy
3878cb9994
sd log afr 2 ( #2052 )
2020-12-10 14:05:52 -05:00
Matthew Kennedy
f2426677db
start fuel pump as soon as trigger events happen ( #2038 )
...
* switch pump fsio logic
* value collision
* fuel pump in tests
* mock time since trigger
* test fp
* init pin in test
* fix gpio outputs in tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
Matthew Kennedy
5f69d23976
fix mock pins array ( #2050 )
...
* fix
* fix probably
2020-12-10 00:10:58 -05:00
Matthew Kennedy
a08e79789d
second lambda (x-series CAN only, for now) ( #2048 )
...
* add sensor
* second sensor
* switch sensor name
* gobblin up your memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 20:26:23 -05:00
GitHub set-date Action
53e481b6ef
Update date
2020-12-10 00:48:05 +00:00
GitHub build-firmware Action
a321ab76a7
Auto-generated configs and docs
2020-12-09 19:33:03 +00:00
Matthew Kennedy
fadfc8d09b
config for second lambda ( #2047 )
...
* config
* size
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc
e6bfd9a2ed
trigger lifecycle
2020-12-09 12:19:25 -05:00
GitHub build-firmware Action
247d608c1e
Auto-generated configs and docs
2020-12-09 17:15:05 +00:00
rusefillc
1133b44fe4
Merge remote-tracking branch 'origin/master' into master
2020-12-09 12:08:57 -05:00
rusefillc
034cb0d173
trigger lifecycle
2020-12-09 12:08:38 -05:00
Matthew Kennedy
99b9391ae8
start peeling out ts commands ( #2045 )
...
* start peeling out commands
* guard
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 02:23:02 -05:00
rusefi
ac186d2b85
Merge remote-tracking branch 'origin/master' into master
...
# Conflicts:
# firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp
2020-12-08 21:37:45 -05:00
rusefillc
8deff87b4f
refactoring
2020-12-08 21:33:59 -05:00
GitHub build-firmware Action
5537b2035c
Auto-generated configs and docs
2020-12-09 02:10:55 +00:00
shadowm60
adf0a97ffc
Prepare configurations for SW knock detection ( #2046 )
...
* Prepare configurations
- Configurations needed for base noise
- TS usability for base noise definition
* Update rusefi_config.txt
wrong data ype used for base noise
2020-12-08 21:08:59 -05:00
GitHub set-date Action
8ce7a984e4
Update date
2020-12-09 00:48:33 +00:00
rusefillc
511eefe400
Merge remote-tracking branch 'origin/master' into master
2020-12-08 13:59:47 -05:00
rusefillc
ea8e09ba13
fix warnings found by clang #2014
2020-12-08 13:59:40 -05:00
Matthew Kennedy
bad0e6b949
require redundant TPS for ETB ( #2041 )
...
* Require redundant tps for ETB (#2037 )
* mod sensor api
* require redundancy
* fix tests
* check that it fails
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
* add a test that fails but should not
* fix the bug
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 06:24:20 -05:00
rusefillc
7bdd047955
basic hw in the loop - pwm self validation #2028
2020-12-08 05:30:12 -05:00
GitHub build-firmware Action
9bf994e10f
Auto-generated configs and docs
2020-12-08 10:16:15 +00:00
rusefillc
8f5a4e4dae
basic hw in the loop - pwm self validation #2028
2020-12-08 05:14:27 -05:00
rusefillc
5cda628c8b
basic hw in the loop - pwm self validation #2028
2020-12-08 05:07:03 -05:00
rusefillc
824f87c2d0
basic hw in the loop - pwm self validation #2028
2020-12-08 04:52:49 -05:00
GitHub build-firmware Action
1c6b53658e
Auto-generated configs and docs
2020-12-08 09:43:33 +00:00
rusefillc
36f72b56ef
basic hw in the loop - pwm self validation #2028
2020-12-08 04:41:07 -05:00
rusefillc
08c13fab73
basic hw in the loop - pwm self validation #2028
2020-12-08 04:21:14 -05:00
Matthew Kennedy
cc59a42e3f
start making TS protocol testable ( #2043 )
...
* start pulling out a class
* pull function out of loop
* there we go
* ok there we go for real
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 03:05:43 -05:00
rusefillc
96c29840ce
basic hw in the loop - pwm self validation #2028
2020-12-07 20:42:47 -05:00
GitHub build-firmware Action
6b80297245
Auto-generated configs and docs
2020-12-08 01:33:19 +00:00
rusefillc
8ed1df4841
basic hw in the loop - pwm self validation #2028
2020-12-07 20:31:02 -05:00
rusefillc
aca471273d
basic hw in the loop - pwm self validation #2028
2020-12-07 20:26:47 -05:00
rusefillc
0126f4fb4b
Merge remote-tracking branch 'origin/master' into master
2020-12-07 20:01:23 -05:00
rusefillc
6712c63160
basic hw in the loop - pwm self validation #2028
2020-12-07 20:01:05 -05:00
GitHub set-date Action
8a312cefef
Update date
2020-12-08 00:47:47 +00:00
rusefi
2a1b585bfe
Revert "Revert "Split ETB in to interface + implementation headers ( #2040 )""
...
This reverts commit 4f4bb957
2020-12-07 01:27:27 -05:00
rusefi
bb3cb0ba22
Revert "Require redundant tps for ETB ( #2037 )"
...
This reverts commit 4f1085a8
2020-12-07 01:11:32 -05:00
rusefi
4f4bb95770
Revert "Split ETB in to interface + implementation headers ( #2040 )"
...
This reverts commit d9a82c09
2020-12-07 01:11:19 -05:00
Matthew Kennedy
d9a82c09af
Split ETB in to interface + implementation headers ( #2040 )
...
* split etb interface
* mocks
* fix master while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
Matthew Kennedy
4f1085a87a
Require redundant tps for ETB ( #2037 )
...
* mod sensor api
* require redundancy
* fix tests
* check that it fails
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:05:06 -05:00
Matthew Kennedy
67269aa637
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
22c74895a6
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
632430e929
Update date
2020-12-07 00:47:47 +00:00
rusefillc
81143d0820
range check covers 'ERROR_CODE' already
2020-12-06 19:29:37 -05:00
rusefillc
9efd231915
minor fixes
2020-12-06 19:25:48 -05:00
rusefillc
2e8ae3ca94
refactoring
2020-12-06 19:04:23 -05:00
rusefillc
8739e192f5
basic hw in the loop - pwm self validation #2028
2020-12-06 18:39:50 -05:00
rusefillc
1da9f35ac2
Merge remote-tracking branch 'origin/master' into master
2020-12-06 18:13:07 -05:00
rusefillc
debec1107e
subi
2020-12-06 18:08:55 -05:00
GitHub build-firmware Action
d20d484fce
Auto-generated configs and docs
2020-12-06 23:08:10 +00:00
rusefillc
b3d45b909f
Revert "switch rpm calculator to use timer class ( #2005 )"
...
This reverts most of a26ed3eb5a
commit.
2020-12-06 18:05:53 -05:00
rusefillc
13e692ff09
Merge remote-tracking branch 'origin/master' into master
2020-12-06 17:52:30 -05:00
rusefillc
5192ffc64f
docs
2020-12-06 17:39:33 -05:00
Matthew Kennedy
a26ed3eb5a
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
Matthew Kennedy
c5e3657d45
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
9ccda6bbe7
add isRedundant ( #2031 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05:00
GitHub build-firmware Action
70467a0117
Auto-generated configs and docs
2020-12-06 19:19:09 +00:00
rusefillc
9f13d39003
MRE_SUBARU_EJ18
2020-12-06 14:16:40 -05:00
rusefillc
166f4fc381
MRE_SUBARU_EJ18
2020-12-06 13:08:09 -05:00
rusefillc
f6691eb4aa
one step back #2017
2020-12-06 08:34:10 -05:00
rusefillc
bcf404cdae
code formatting & more info into message
2020-12-06 08:30:31 -05:00
Matthew Kennedy
9238aa454e
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
2d9be1077b
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
ffae0cd335
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
GitHub build-firmware Action
c492d5b6af
Auto-generated configs and docs
2020-12-06 03:05:54 +00:00
rusefillc
edce475841
suby
2020-12-05 22:04:07 -05:00
rusefillc
75ffe1f38e
making console happier
2020-12-05 21:56:39 -05:00
GitHub set-date Action
400411dedd
Update date
2020-12-06 00:47:59 +00:00
Andrey G
7c6974ab43
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
de4990bfa2
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
2b5fc79aa7
ADC: correctly calculate cache invalidate range for STM32F7xxx ( #2021 )
...
Bug was introduced in 2312b0ae57
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
852fdcd4d1
adc: fix CPU temperature read for STM32F76x/77x ( #2020 )
2020-12-05 09:58:23 -05:00
GitHub build-firmware Action
9892f0fa48
Auto-generated configs and docs
2020-12-05 05:05:04 +00:00
Matthew Kennedy
27fee86923
add indicator for tps2 fail ( #2016 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefillc
e5ef8de2ae
unit tests in clang #2012
2020-12-04 23:59:21 -05:00
rusefi
07a8e237a5
Merge remote-tracking branch 'origin/master' into master
2020-12-04 21:52:22 -05:00
shadowm60
864bd7fa73
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
1bc89fe59c
Update date
2020-12-05 00:45:22 +00:00
rusefillc
dd902cc707
hemi trigger decoder took some RAM
2020-12-04 18:46:35 -05:00
rusefillc
d8264cf2ce
hemi trigger decoder took some RAM
2020-12-04 18:22:59 -05:00
rusefillc
6200569f28
6.1 Hemi V8 decoder fix #2010
2020-12-04 16:50:26 -05:00
rusefillc
eaba91e1fd
6.1 Hemi V8 decoder #2010
2020-12-04 16:33:29 -05:00
rusefillc
be2a34a956
refactoring: magic constants
2020-12-04 16:24:19 -05:00
rusefillc
2524b7b8c2
6.1 Hemi V8 decoder #2010
2020-12-04 16:03:27 -05:00
rusefillc
e730c2c0b1
6.1 Hemi V8 decoder #2010
2020-12-04 15:33:07 -05:00
rusefillc
9221a12d95
6.1 Hemi V8 decoder #2010
2020-12-04 15:22:53 -05:00
rusefillc
61925aad15
all triggers should be documented way nicer #2001
2020-12-04 14:00:49 -05:00
rusefillc
6496fd5a64
all triggers should be documented way nicer #2001
2020-12-04 13:54:16 -05:00
rusefillc
e138621202
all triggers should be documented way nicer #2001
2020-12-04 11:58:26 -05:00
rusefillc
db5e30edf5
all triggers should be documented way nicer #2001
2020-12-04 11:44:27 -05:00
GitHub build-firmware Action
be55246188
Auto-generated configs and docs
2020-12-04 16:39:14 +00:00