Commit Graph

9278 Commits

Author SHA1 Message Date
rusefillc 0899102b05 returning AT validation into QC 2020-12-15 15:43:36 -05:00
rusefillc db2632b861 rusEFI is not approved for manned aircraft applications. 2020-12-15 15:05:49 -05:00
rusefillc 245b762f45 Merge remote-tracking branch 'origin/master' into master 2020-12-15 15:01:18 -05:00
rusefillc b914c8229e rusEFI is not approved for manned aircraft applications. 2020-12-15 15:01:10 -05:00
shadowm60 92247c58db
Logic analyzer ts report (#2080)
* Logic analyzer

progress of integration with debug channels

* Update logic_analyzer.cpp

fixed duty report in %

* Update logic_analyzer.cpp

* Update logic_analyzer.cpp

fix for setting one channel to unused, and use the same pin for another channel. this way we clear out hw pointer and we do not have the risk of reporting wrong values.
2020-12-15 14:52:48 -05:00
GitHub build-firmware Action 7c2f8707f2 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00
rusefillc 0c9c23f9b2 pnp progress 2020-12-15 00:17:09 -05:00
rusefillc bd279edd8e pnp progress 2020-12-15 00:09:35 -05:00
GitHub build-firmware Action b6089a83ee Auto-generated configs and docs 2020-12-15 04:18:45 +00:00
rusefillc e98dcfd2f8 more PnP 2020-12-14 23:16:50 -05:00
Andrey G cd546cf932
TLE8888: temp fix of #2065 (#2079) 2020-12-14 15:33:27 -05:00
GitHub build-firmware Action 431bdf8f94 Auto-generated configs and docs 2020-12-14 13:31:27 +00:00
shadowm60 9d36bab793
Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
GitHub build-firmware Action aadccbdbdf Auto-generated configs and docs 2020-12-14 04:05:25 +00:00
rusefillc 42fc199303 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
GitHub build-firmware Action d616892eab Auto-generated configs and docs 2020-12-14 04:02:29 +00:00
rusefillc c97e850c8d "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
GitHub build-firmware Action 62d35df025 Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
rusefillc 56a98b781e Merge remote-tracking branch 'origin/master' into master 2020-12-13 20:28:03 -05:00
GitHub set-date Action 958a346430 Update date 2020-12-14 00:51:09 +00:00
rusefi b3b5dfc398 fail fast! 2020-12-13 19:23:26 -05:00
rusefillc 951676e111 Merge remote-tracking branch 'origin/master' into master 2020-12-13 17:49:36 -05:00
rusefillc 49ee4ad78e trigger decode should pay to attention to what wheel signal is coming from #2073 2020-12-13 17:49:24 -05:00
GitHub build-firmware Action 4ef5bf3d34 Auto-generated configs and docs 2020-12-13 22:48:42 +00:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi eae865d4de subi ops 2020-12-13 16:41:53 -05:00
rusefi f36255108e subi 2020-12-13 16:38:09 -05:00
rusefi 3b16794ac6 Merge remote-tracking branch 'origin/master' 2020-12-13 16:33:14 -05:00
rusefi f8803da107 poke 2020-12-13 16:31:47 -05:00
GitHub build-firmware Action 48e26ec0a3 Auto-generated configs and docs 2020-12-13 21:23:35 +00:00
rusefi 38bcd63e13 maybe this would just work? 2020-12-13 16:22:02 -05:00
GitHub build-firmware Action b9fc438742 Auto-generated configs and docs 2020-12-13 21:19:32 +00:00
rusefi f8ba72cf8a subi 2020-12-13 16:17:31 -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
GitHub build-firmware Action 8f1ca90562 Auto-generated configs and docs 2020-12-13 18:19:40 +00:00
rusefi 4a3011601d subi 2020-12-13 13:16:39 -05:00
rusefi 7f65e95a65 subi 2020-12-13 11:39:10 -05:00
rusefillc f2bb2ce0c6 MRE issue with tle8888 - GP3 does not work? #2065 2020-12-13 11:29:19 -05:00
Matthew Kennedy 378d118118
test (#2071)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 23:40:05 -05:00
GitHub build-firmware Action b14462ca65 Auto-generated configs and docs 2020-12-13 03:24:09 +00:00
rusefi c16b72d820 "Subaru" 2020-12-12 22:22:29 -05:00
rusefillc ba3a83667b https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
shadowm60 593be1c943
Fsio eval check (#2068)
* FSIO error signaling

- wrong keyword in FSIO now shows up as nice TS error message
- added f7 debug option for vsCode as well.

* Keep unit_test happy
2020-12-12 20:03:52 -05:00
GitHub set-date Action 9b3e4404cc Update date 2020-12-13 00:51:00 +00:00
Matthew Kennedy 360a8c7524
add support for ext ids (#2060)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 16:34:21 -05:00
GitHub build-firmware Action b75eb9ea81 Auto-generated configs and docs 2020-12-12 20:43:22 +00:00
David Holdeman 1b59375425
Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc d375bfefac decompile_fsio_line 2020-12-12 10:40:55 -05:00
GitHub build-firmware Action c28a62d87d Auto-generated configs and docs 2020-12-12 01:28:20 +00:00
rusefillc f32036ee3e Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 4d5998f403 Merge remote-tracking branch 'origin/master' into master 2020-12-11 20:04:24 -05:00
rusefillc 72d02df6c4 throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
GitHub set-date Action 749256a5d5 Update date 2020-12-12 00:48:24 +00:00
Matthew Kennedy 83a65032d6
clang warnings again (#2055)
* s

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 13:59:28 -05:00
rusefillc b41ca74386 clang warnings again #2055 2020-12-11 12:50:10 -05:00
rusefillc f1c9f9d08e more better changelog 2020-12-11 10:34:28 -05:00
rusefillc ea8af5f921 Merge remote-tracking branch 'origin/master' into master 2020-12-11 10:33:34 -05:00
rusefillc 9b4a1fff7b clang warnings again #2055 2020-12-11 10:33:00 -05:00
GitHub build-firmware Action 61397928c7 Auto-generated configs and docs 2020-12-11 15:06:15 +00:00
rusefillc c56799172e TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -05:00
rusefillc 37df00dd3e correction #2054 2020-12-11 09:07:36 -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
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
rusefillc 479dc8598d all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00
rusefillc 8e13892736 6.1 Hemi V8 decoder #2010 2020-12-04 01:02:09 -05:00
rusefillc 0a23e82baf 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
GitHub build-firmware Action 3a4942fd55 Auto-generated configs and docs 2020-12-04 05:21:17 +00:00
rusefillc 49bf25318a 6.1 Hemi V8 decoder #2010 2020-12-04 00:18:40 -05:00
rusefillc 4c3eae5676 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
GitHub build-firmware Action 98583bfabb Auto-generated configs and docs 2020-12-04 04:26:34 +00:00
rusefillc accdb6ee6a FORD ST170 CAM TRIGGER PATTERN #2009 2020-12-03 23:23:32 -05:00
rusefillc 93e0378f69 Merge remote-tracking branch 'origin/master' into master 2020-12-03 23:12:42 -05:00
rusefillc f021c37cc1 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT fix #2008 2020-12-03 23:12:30 -05:00
GitHub build-firmware Action 0b2e8755ee Auto-generated configs and docs 2020-12-04 02:59:40 +00:00
rusefillc c413f03359 DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:58:03 -05:00
GitHub build-firmware Action 77914fb702 Auto-generated configs and docs 2020-12-04 02:33:46 +00:00
rusefillc c55120372b DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
GitHub set-date Action ba8bd6d582 Update date 2020-12-04 00:44:45 +00:00
rusefillc e226024a5c MRE pin reuse state validation fails #2006 2020-12-03 15:42:48 -05:00
rusefillc 662eaea384 avoid float -> int64 conversion #1977
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:32:01 -05:00
rusefillc ba33a758e8 avoid float -> int64 conversion #1977
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:30:17 -05:00
Matthew Kennedy f1f64bd3e5
add timer since last trigger tooth (#2004)
* add elapsed time to timer

* store trigger time

* fsio method

* don't do a 64b divide

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
GitHub build-firmware Action 82c30dadf8 Auto-generated configs and docs 2020-12-03 15:51:02 +00:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
rusefillc 7dbc9afa38 Avoid float -> int64 conversion #1993 2020-12-03 10:31:16 -05:00
rusefillc df5c33ea86 Avoid float -> int64 conversion #1993 2020-12-03 10:26:50 -05:00
GitHub build-firmware Action d803115081 Auto-generated configs and docs 2020-12-03 14:36:32 +00:00
rusefillc eedc777609 Merge remote-tracking branch 'origin/master' into master 2020-12-03 09:34:37 -05:00
rusefillc 92fe2e5fb9 all triggers should be documented way nicer #2001 2020-12-03 08:42:25 -05:00
Matthew Kennedy 4deb875204
fix warnings (#2003)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 07:27:27 -05:00
GitHub build-firmware Action b2e26a2e2b Auto-generated configs and docs 2020-12-03 06:38:53 +00:00
rusefillc dd9e431782 dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
GitHub build-firmware Action 896a96fb63 Auto-generated configs and docs 2020-12-03 06:34:34 +00:00
rusefillc 0ea6028596 Merge remote-tracking branch 'origin/master' into master 2020-12-03 01:31:59 -05:00
rusefillc e7e706b88d all triggers should be documented way nicer #2001 2020-12-03 01:31:52 -05:00
GitHub build-firmware Action b5b9554903 Auto-generated configs and docs 2020-12-03 06:25:01 +00:00
rusefillc a2036ebc70 dead trigger, this would now be vvt+60/2 2020-12-03 01:22:57 -05:00
GitHub build-firmware Action c7f951a2e9 Auto-generated configs and docs 2020-12-03 06:21:16 +00:00
rusefillc 00e85f1409 all triggers should be documented way nicer #2001 2020-12-03 01:19:02 -05:00
GitHub build-firmware Action b943bb8e3d Auto-generated configs and docs 2020-12-03 06:04:08 +00:00
rusefillc 7855847a3f all triggers should be documented way nicer #2001 2020-12-03 01:02:17 -05:00
GitHub build-firmware Action e61c79c378 Auto-generated configs and docs 2020-12-03 05:21:30 +00:00
rusefillc 479fcf0174 all triggers should be documented way nicer #2001 2020-12-03 00:19:18 -05:00
rusefillc c36f76b68e Fuel pump should turn on at the first sign of engine rotation #1961 2020-12-02 23:09:39 -05:00
rusefillc 0ba97379fb all triggers should be documented way nicer #2001 2020-12-02 22:17:38 -05:00
rusefillc b662b977fa all triggers should be documented way nicer #2001 2020-12-02 20:51:33 -05:00
GitHub build-firmware Action 85637f01c7 Auto-generated configs and docs 2020-12-03 01:32:59 +00:00
rusefillc 1443900c6b all triggers should be documented way nicer #2001 2020-12-02 20:30:47 -05:00
GitHub build-firmware Action 5c9ac60b0b Auto-generated configs and docs 2020-12-03 01:22:05 +00:00
rusefillc fb1d6bcf07 Merge remote-tracking branch 'origin/master' into master 2020-12-02 20:19:56 -05:00
rusefillc 6019672d00 all triggers should be documented way nicer #2001 2020-12-02 20:19:47 -05:00
GitHub set-date Action 1e304062a4 Update date 2020-12-03 00:46:39 +00:00
GitHub build-firmware Action 9a5438b2ea Auto-generated configs and docs 2020-12-02 20:08:22 +00:00
shadowm60 d28276b053
Update rusefi.input (#2000)
vssacceleration should be signed 16bit value
2020-12-02 15:06:36 -05:00
GitHub build-firmware Action 617defd510 Auto-generated configs and docs 2020-12-02 19:49:17 +00:00
Matthew Kennedy 3258ee0c61
disable legacy temp units (#1998)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-02 14:47:08 -05:00
GitHub build-firmware Action e9a0c1fff2 Auto-generated configs and docs 2020-12-02 19:17:48 +00:00
rusefillc 2415edaec4 fixing two unrelated typos 2020-12-02 14:15:44 -05:00
GitHub build-firmware Action a80a1fb5a2 Auto-generated configs and docs 2020-12-02 19:12:18 +00:00
rusefillc 18cc2e6bac time to bump TS_OUTPUT_SIZE! 2020-12-02 14:10:08 -05:00
rusefillc 52a1ff0817 time to bump TS_OUTPUT_SIZE! 2020-12-02 14:10:02 -05:00
GitHub build-firmware Action 177328e736 Auto-generated configs and docs 2020-12-02 18:40:45 +00:00
rusefillc d5f0948a39 time to bump TS_OUTPUT_SIZE! 2020-12-02 13:38:02 -05:00
GitHub build-firmware Action ca6c867add Auto-generated configs and docs 2020-12-02 16:14:23 +00:00
shadowm60 ecc9c0dc6b
introduce vehicle acceleration in TS (#1997)
* introduce vehicle acceleration in TS

* Update rusefi.input

added gauge as well
2020-12-02 11:12:19 -05:00
rusefi 2e103697d1 National Mutt Day 2020-12-02 00:58:57 -05:00
rusefi e1b45756b8 National Mutt Day 2020-12-02 00:41:17 -05:00
rusefi 425b47bdc6 isSdCardEnabled is set to 'true' a few lines below 2020-12-02 00:09:08 -05:00
rusefillc 5e951389cb engine sniffer - pins are not displayed #1995 2020-12-01 22:58:27 -05:00
GitHub set-date Action e89c042593 Update date 2020-12-02 00:44:31 +00:00
GitHub build-firmware Action bea4ec0cd9 Auto-generated configs and docs 2020-12-01 18:58:12 +00:00
shadowm60 6fb745d29c
Launch Control refactoring (#1992)
* refactor

- called from periodicFastCallback
- removed defines

* Update rusefi.input

removed unused configurations.
added clutch inversion option

* Added new tests

fixed limiting only in case we have launch condition and rpm outside of window

* Update launch_control.cpp

Unintialized config update, now it is working fine with VSS and with clutch as well.

* small fixes

updated after review findings

* Fix breaking engine rev limiter

applyLaunchControlLimiting should not overwrite booleans to false!

* Delay timer in seconds

timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
rusefillc cdd2527f37 Merge remote-tracking branch 'origin/master' into master 2020-12-01 10:59:24 -05:00
rusefillc 69af9f4496 Migrate to newer ChibiOS #710 2020-12-01 10:59:12 -05:00
GitHub set-date Action c0c566afa6 Update date 2020-12-01 00:45:58 +00:00
Matthew Kennedy d48367d565
timer (#1994) 2020-11-30 19:35:06 -05:00
GitHub build-firmware Action 94d2ab5ea2 Auto-generated configs and docs 2020-11-30 05:14:11 +00: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
GitHub set-date Action eb93b7e85b Update date 2020-11-30 00:44:36 +00:00
GitHub build-firmware Action a314ae3146 Auto-generated configs and docs 2020-11-29 23:13:49 +00:00
rusefillc 6876c1657a docs 2020-11-29 18:12:16 -05:00
rusefillc c5718c555e 94 2020-11-29 18:09:11 -05:00
rusefi 8ee609fa3e Merge remote-tracking branch 'origin/master' into master 2020-11-29 12:51:04 -05:00
rusefillc 160f22984c 94 2020-11-29 12:07:56 -05:00
rusefillc 9e78970735 94 2020-11-28 22:59:55 -05:00
GitHub build-firmware Action 8e1674956d Auto-generated configs and docs 2020-11-29 03:51:15 +00:00
rusefillc b982d02298 miata 94 2020-11-28 22:49:28 -05:00
GitHub build-firmware Action 5087fc7c5a Auto-generated configs and docs 2020-11-29 03:22:29 +00:00
rusefillc e00b334791 Merge remote-tracking branch 'origin/master' into master 2020-11-28 22:20:17 -05:00
rusefillc c93ba7f3a5 MRE 94 2020-11-28 22:15:13 -05:00
GitHub set-date Action 38778da368 Update date 2020-11-29 00:45:07 +00:00
GitHub set-date Action cb5a114d3f Update date 2020-11-28 00:42:15 +00:00
rusefi 72855585ca next release header 2020-11-27 17:08:50 -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
Matthew Kennedy a3a49b02ed
fix gpio the right way (#1990)
* fix the right way

* use the api

* explain

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-27 00:24:41 -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
GitHub set-date Action ac7af19a18 Update date 2020-11-27 00:42:43 +00:00
Matthew Kennedy a5ba9d54dc
fix etb unit test idle hardware (#1991)
* move check to etb

* give it a sensor to read
2020-11-26 19:21:42 -05:00
rusefillc 641959b9a3 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:48:09 -05:00
GitHub build-firmware Action fb0863a1be Auto-generated configs and docs 2020-11-26 22:30:00 +00:00
rusefillc 60a785ee76 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 17:27:56 -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
rusefillc 2f91ae6f73 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 10:55:39 -05:00
rusefillc d4d7e7583b Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 10:41:22 -05:00
rusefillc 66ae6a1ecf Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 00:24:15 -05:00
rusefi 1238758c0f Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 00:16:59 -05:00
rusefi 63900429a6 Starter is engaged on start-up in pull-up configuration #1969 2020-11-25 23:59:11 -05:00
rusefi b189d85228 Starter is engaged on start-up in pull-up configuration #1969 2020-11-25 23:38:43 -05:00
Matthew Kennedy 1375b946ae
default to off (#1989) 2020-11-25 22:44:08 -05:00
Matthew Kennedy 750070a496
fix etb wastegate percent output (#1988)
* wastegate etb should use percent

* percent_t

* fix test
2020-11-25 21:14:06 -05:00
rusefi e356ee7f45 Merge remote-tracking branch 'origin/master' 2020-11-25 19:53:49 -05:00
rusefi c2b184cd74 Starter is engaged on start-up in pull-up configuration #1969 2020-11-25 19:52:22 -05:00
GitHub set-date Action 953fdad4ff Update date 2020-11-26 00:40:20 +00:00
rusefi 0d441be869 better default value 2020-11-25 17:02:28 -05:00
GitHub build-firmware Action 9275f9a09d Auto-generated configs and docs 2020-11-25 21:46:33 +00:00
rusefi 292579995c start/stop debug process 2020-11-25 16:44:08 -05:00
rusefi 07de7aa46c GDB helper 2020-11-25 13:53:29 -05:00
GitHub build-firmware Action bbf29b0d40 Auto-generated configs and docs 2020-11-25 18:21:44 +00:00
rusefillc 32f242983b Merge remote-tracking branch 'origin/master' into master 2020-11-25 13:17:53 -05:00
rusefillc 46d9eacc7c build-in virtual dyno #1987 2020-11-25 13:16:13 -05:00
Matthew Kennedy 492498f8d0
Boost tolerance (#1986)
* tolerate invalid closed loop config when in open loop mode

* fix test
2020-11-25 07:27:24 -05:00
rusefillc 808aa672ba Merge remote-tracking branch 'origin/master' into master 2020-11-24 20:34:02 -05:00
rusefillc a5d0e4beeb avoid float -> int64 conversion #1977
cherry picking...
2020-11-24 20:33:51 -05:00
GitHub set-date Action 6618492848 Update date 2020-11-25 00:40:48 +00:00
rusefillc bca35aa2f9 avoid float -> int64 conversion #1977
cherry picking...
2020-11-24 14:11:41 -05:00
rusefillc ab8d6ff0df avoid float -> int64 conversion #1977
cherry picking...
2020-11-24 00:06:12 -05:00
rusefillc 9045470fc6 avoid float -> int64 conversion #1977
cherry picking...
2020-11-23 23:53:25 -05:00
rusefillc 90e5630e60 avoid float -> int64 conversion #1977
cherry picking...
2020-11-23 23:33:46 -05:00
Matthew Kennedy 55379463c0
remove (#1985) 2020-11-23 20:10:17 -05:00
GitHub set-date Action 140f892661 Update date 2020-11-24 00:40:20 +00:00
Matthew Kennedy 922f0249d2
squash warnings (#1984)
* warnings

* unused

* a few more

* too much

* uint16_t-ify
2020-11-23 09:43:16 -05:00
rusefi b329cc66ed GDI Epic #1448 2020-11-23 01:10:12 -05:00
Matthew Kennedy 6334e5011f
Port-ify microsecond_timer hardware implementation (#1964)
* move to folder

* extract hardware part of microsecond_timer

* dead ST forum link

* de-volatile

* simulator build

* guard
2020-11-22 20:39:32 -05:00
GitHub set-date Action 9961b8efeb Update date 2020-11-23 00:40:35 +00:00
GitHub build-firmware Action 9ac0391fb4 Auto-generated configs and docs 2020-11-22 23:32:36 +00:00
Matthew Kennedy 866038900f
adjust boost (#1975) 2020-11-22 18:30:19 -05:00
Matthew Kennedy f8a6462967
change to output pin (#1981) 2020-11-22 18:29:41 -05:00
rusefi 98605677f6 adc fixed #1979
partial revert
2020-11-22 15:31:33 -05:00
rusefillc 5678190d5a ADC: fixes: #1979
better error handling?
2020-11-22 13:42:24 -05:00
rusefi eece5496da ADC: fixes: #1979
more detailed error message
2020-11-22 12:57:04 -05:00
rusefi 4bd14ed974 better hpfpValve bench settings 2020-11-22 12:43:28 -05:00
Andrey G a285ba6743
ADC: fixes: (#1979)
* ADC: fixes:

-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM

* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
Andrey G b60ce1b9f8
Typo fix (#1978) 2020-11-22 08:27:03 -05:00
Matthew Kennedy 747b3d2fa8
fix #1968 (#1976)
* tanf

* name

* comment, add test
2020-11-22 08:26:17 -05:00
rusefi fb98a3dffc GDI Epic #1448 2020-11-22 01:14:34 -05:00
rusefi 1df2dc121d GDI Epic #1448 2020-11-22 00:47:43 -05:00
GitHub build-firmware Action 3211c033ff Auto-generated configs and docs 2020-11-22 05:45:32 +00:00
rusefi 0d3267e3a5 GDI Epic #1448 2020-11-22 00:43:45 -05:00
rusefi f6bff90f86 GDI Epic #1448 2020-11-22 00:40:21 -05:00
rusefi 79188c954a GDI Epic #1448 2020-11-22 00:13:55 -05:00
GitHub build-firmware Action dc0d3242bf Auto-generated configs and docs 2020-11-22 05:11:29 +00:00
rusefi daf1ec83a7 GDI Epic #1448 2020-11-22 00:09:36 -05:00
GitHub build-firmware Action 639901e58d Auto-generated configs and docs 2020-11-22 03:58:53 +00:00
rusefillc 599f7ceb39 GDI Epic #1448 2020-11-21 22:56:47 -05:00
GitHub build-firmware Action 85d2555d70 Auto-generated configs and docs 2020-11-22 03:01:11 +00:00
rusefillc b4e9aba0da GDI Epic #1448 2020-11-21 21:58:56 -05:00
GitHub set-date Action f6ce207c1f Update date 2020-11-22 00:41:19 +00:00
GitHub build-firmware Action 1996aefd10 Auto-generated configs and docs 2020-11-21 01:38:58 +00:00
rusefillc 1eeaca50dd GDI Epic #1448 2020-11-20 20:36:48 -05:00
GitHub set-date Action 059f654da1 Update date 2020-11-21 00:39:02 +00:00
rusefillc e6fa57db87 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-20 00:18:38 -05:00
rusefillc 3878cbb550 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-19 23:57:06 -05:00
shadowm60 7c793834ef
Launch control unit tests update (#1972)
* testable launch start

* extract base class

* add a test

* fix ts debug

* Launch control unit_tests

updated launch control for a better split
VSS mock for unit tests

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2020-11-19 21:14:38 -05:00
Matthew Kennedy 66687158c5
no feed forward for wastegate (#1971)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-19 20:51:30 -05:00
GitHub set-date Action c3e4fdc57f Update date 2020-11-20 00:39:06 +00:00
rusefillc 68c8d8c6a2 Starter is engaged on start-up in pull-up configuration #1969
usability & test improvement
2020-11-19 17:15:28 -05:00
Matthew Kennedy ee51da64ad
Launch control testable (#1967)
* testable launch start

* extract base class

* add a test

* fix ts debug
2020-11-19 08:15:56 -05:00
Matthew Kennedy f3b7a1d9da
Remove lockAnyContext, replace with CriticalSectionLocker (#1938)
* switch to CriticalSectionLocker

* that's just about all

* clean up last usage

* include hpp for sim

* need the cpp wrappers in the makefile too

* include dir

* include
2020-11-19 06:56:02 -05:00
rusefillc 47fbb92bff Starter seems to be engaged forever fix #1965 2020-11-18 23:54:30 -05:00
rusefillc a9e0bffbbd Starter seems to be engaged forever #1965 2020-11-18 22:47:40 -05:00
rusefillc 905d740b4b Starter seems to be engaged forever #1965 2020-11-18 22:45:37 -05:00
rusefillc 53f6f1e661 Starter seems to be engaged forever #1965 2020-11-18 22:42:41 -05:00
rusefillc 4e94324e4f Starter seems to be engaged forever #1965 2020-11-18 21:45:17 -05:00
rusefillc ce202c7ed7 Starter seems to be engaged forever #1965 2020-11-18 21:08:01 -05:00
rusefillc 7f688f7616 Starter seems to be engaged forever #1965 2020-11-18 20:53:03 -05:00
rusefillc 88a0b56cba Starter seems to be engaged forever #1965 2020-11-18 20:48:52 -05:00
rusefillc ee7e1880a2 Something something unit test ETB does not work #1966 2020-11-18 20:12:58 -05:00
rusefillc e29911114a Starter seems to be engaged forever #1965 2020-11-18 20:01:02 -05:00
rusefillc f0d93428e4 Merge remote-tracking branch 'origin/master' into master 2020-11-18 19:51:57 -05:00
rusefillc 4c9c8d42bf Starter seems to be engaged forever #1965 2020-11-18 19:51:51 -05:00
GitHub set-date Action ffd2f81061 Update date 2020-11-19 00:38:43 +00:00
Matthew Kennedy 8241b0aef6
consolidate to common (#1962) 2020-11-18 16:22:19 -05:00
Matthew Kennedy 5d3d85d644
put getTimeNowLowerNt in to mpu_util (#1950)
* put getTimeNowLowerNt in to mpu_util

* move GPTDEVICE to port_mpu_util

* and remove from efifeatures
2020-11-18 14:17:00 -05:00
rusefi dc3b14e5fc better MC33816 start-up status 2020-11-18 01:07:09 -05:00