Commit Graph

1237 Commits

Author SHA1 Message Date
rusefi bb7895a828 refactoring: reducing complexity? 2019-11-17 09:02:49 -05:00
rusefi 1624346c97 v12 2019-11-16 16:00:50 -05:00
rusefi 80ef79eded this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi ca0984007d Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi f34023a9ea Trying latest gcc 9 #1001 2019-11-07 11:28:49 -05:00
rusefi 7eaed773ff evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:33:40 -05:00
rusefi 17a2847424 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 18:26:50 -05:00
andreika-git ae59680918 Kinetis timer freq. fix & config update (#999)
* Kinetis: fix timer frequency

* More silentTriggerError - it really helps a lot!

* Kinetis: gen_config.bat update
2019-11-06 14:45:55 -05:00
rusefi c734cb0fa4 Missing dwell altogether in some corner cases fix #796 2019-11-06 00:31:24 -05:00
rusefi fbdbc0656a Missing dwell altogether in some corner cases #796
flirting with the fix but not yet the fix
2019-11-06 00:10:44 -05:00
rusefi 7c2f9a7c5d refactoring: removing unused parameter 2019-11-05 22:49:11 -05:00
rusefi 3357e41614 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 22:40:33 -05:00
rusefi 591f19321d nicer enum name 2019-11-03 21:19:13 -05:00
rusefi 82b7190dc0 review feedback 2019-11-03 10:36:35 -05:00
rusefi 28df878989 scramblr reports sync issues on NB1 fix #990 2019-10-30 21:01:23 -04:00
rusefi ec060752f7 flipping NB1 trigger definition 2019-10-29 21:19:00 -04:00
rusefi b6c5ff5fee refactoring & verbose trigger to simulator 2019-10-29 21:12:44 -04:00
rusefi 7dec2d3ad8 bugfix around verboseTriggerSynchDetails - 64 bits on stack was causing broken messages 2019-10-29 18:20:55 -04:00
rusefi 0fcf3bfa4e refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
Matthew Kennedy 6f3bfcb099 fix wwae (#980) 2019-10-17 00:06:54 -04:00
rusefi 7d73334b54 Revert "Revert "Performance improvement: call GetBaseFuel less (#979)""
This reverts commit 323904728d.
2019-10-16 23:02:24 -04:00
rusefi 323904728d Revert "Performance improvement: call GetBaseFuel less (#979)"
This reverts commit aa9ec543
2019-10-16 22:29:19 -04:00
Matthew Kennedy aa9ec543f4 Performance improvement: call GetBaseFuel less (#979)
* Remove extra calls to getInjectionDuration

* increase callback frequency
2019-10-16 22:13:10 -04:00
Matthew Kennedy ba97572795 fix #977 (#978) 2019-10-15 05:24:33 -04:00
Matthew Kennedy 89ca9a0406 Merge remote-tracking branch 'upstream/master' into perf-tracing 2019-10-14 23:45:39 -07:00
Matthew Kennedy eb418f764b trace all the things 2019-10-14 23:34:12 -07:00
rusefi 41919a4fbd preparing for #974
code comments & refactoring
2019-10-14 06:18:08 -04:00
Matthew Kennedy 97d848bb3e profile all the things 2019-10-13 13:14:08 -07:00
rusefi c938b0d374 preparation for #961
more unified access to pre-calculated value
2019-10-13 09:59:06 -04:00
Matthew Kennedy 076b10fcb6 experiment 2019-10-11 17:43:21 -07:00
Matthew Kennedy 821ca6156f move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
rusefi c5f12fbcd9 I got carried away, but DEAD CODE?! 2019-10-08 03:14:21 -04:00
rusefi 875fb3d1bc something is over-complicated here? looks like two classes should become one? 2019-10-08 02:56:19 -04:00
rusefi 415de92543 something is over-complicated here? looks like two classes should become one? 2019-10-08 02:35:21 -04:00
rusefi f189bbab04 refactoring 2019-10-08 02:01:41 -04:00
rusefi 74c8b59e44 typo & better field name 2019-10-08 01:36:03 -04:00
rusefi 15ae9b1580 fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00
rusefi 7e1e7629ee refactoring: better field name(s) 2019-10-08 01:03:57 -04:00
rusefi 46e1ff671a refactoring: better field name 2019-10-08 00:54:19 -04:00
rusefi ad9950a8d8 refactoring: better variable names 2019-10-08 00:42:47 -04:00
rusefi 0f248ff967 refactoring: better parameter name 2019-10-08 00:30:20 -04:00
rusefi 4c1c497bbc refactoring: smarter C++ initialization 2019-10-08 00:27:49 -04:00
Matthew Kennedy 40853e1a3f fix gm 24x decoder (#963)
* fix gm

* fix

* fix default config, tests
2019-10-05 08:27:30 -04:00
rusefi 658dac889c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusefi 0952b84aad unit tests progress 2019-09-19 21:41:52 -04:00
rusefi 37e08a32b4 refactoring: better field name 2019-09-09 19:39:13 -04:00
rusefi ba9de596d6 instant RPM for idle control #925
refactoring
2019-09-09 14:41:26 -04:00
rusefi 0d131f136e MRE NB2 2019-09-03 23:35:49 -04:00
rusefi fe6b5d8c56 Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
rusEfi 34b1531a8b Live Data for hw VVT signals 2019-09-02 21:02:08 -04:00
rusEfi 2aee194f3b Live Data VVT counter 2019-09-02 14:47:05 -04:00
rusefi e1a7ae0148 Live Data progress 2019-09-01 00:45:36 -04:00
rusefi e885079de1 unified names for generated headers 2019-08-31 23:12:39 -04:00
rusefi a8f7a8965b cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusefi 3ae955b3e5 reducing unit test noise 2019-08-25 02:01:09 -04:00
rusefi d338f4e9c9 minor test code fix & refactoring 2019-08-25 01:35:36 -04:00
rusefi 91bcd035af reducing unit test noise 2019-08-25 01:15:18 -04:00
rusEfi 92f371c121 new feature: check engine light to blink on trigger synchronization 2019-08-18 15:53:38 -04:00
rusEfi 81cd1df0cc refactoring: engine sniffer magic constants 2019-08-18 15:04:02 -04:00
rusefi 9112b7f797 WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
fatal error is the best I can come up with quickly
2019-08-08 22:57:22 -04:00
rusefi dfeac28299 current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :( 2019-08-08 22:33:52 -04:00
rusefi 334f021137 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:32:31 -04:00
rusefi 43962ccff0 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:30:32 -04:00
rusefi f6971c2bea WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
refactoring to begin with, zero logic change
2019-08-08 00:19:09 -04:00
rusefi d6cf6c312a refactoring: extracting method to facilitate debugging 2019-08-07 22:02:08 -04:00
rusefi 7c776b3eb1 better trigger state debug field logging 2019-08-07 20:13:30 -04:00
rusEfi 67d08b676b proper HW type message logic 2019-08-06 23:56:35 -04:00
rusEfi 9ddc9233ee NA6 & trigger 2019-08-06 22:17:18 -04:00
rusefi 8f6ef7976c CBR600 trigger progress 2019-07-23 19:22:40 -04:00
rusefi e33a9c8301 trigger error message makes trigger very unhappy #888
quick dirty temporary solution
2019-07-22 17:38:52 -04:00
rusefi cc6257bf5c trigger counters to formula, docs & improvements 2019-07-20 14:56:56 -04:00
rusefi f52e66c394 gcc 2019 q3 fails integration testing #886
investigation
2019-07-14 15:22:02 -04:00
rusefi df96f55e63 gcc 2019 q3 fails integration testing #886
nicer messages
2019-07-14 13:15:48 -04:00
rusefi 3ecb41bd4a gcc 2019 q3 fails integration testing #886
nicer messages
2019-07-14 12:25:54 -04:00
rusefi 3b670a4107 Annotations in C++ code to produce formulas in rusEfi console #807
refactoring wall wetting
2019-07-12 22:34:38 -04:00
rusefi 1ec69ab00a refactoring 2019-07-12 21:31:58 -04:00
rusefi 99af8c923d support multiple VVT sensors #885 2019-07-12 21:13:24 -04:00
rusefi 756dec106a support multiple VVT sensors #885
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
Matthew Kennedy 0b52f5b542 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
rusefi 10c06ab73c EFI_TOOTH_LOGGER 2019-07-07 15:22:46 -04:00
Matthew Kennedy 55aaa1c95a Implement TS tooth logger (#873)
* FW changes

* config changes

* whitespace

* comment

* simplify
2019-07-06 20:48:58 -04:00
rusefi 5d2afd2331 refactoring: better file name 2019-07-06 20:15:49 -04:00
rusefi 89557373e9 order of includes consistency 2019-07-05 20:03:32 -04:00
rusefi 1e80772904 Refactoring: OS access should be explicit #867 2019-07-05 19:00:44 -04:00
rusefi e309e223aa Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi b193970adf NB2 magic clarification 2019-07-01 12:48:08 -04:00
rusefi b856256549 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-30 09:38:51 -04:00
rusefi adae026788 https://rusefi.com/forum/viewtopic.php?f=10&t=442&p=33587#p33584
better support for pretty noisy trigger (?)
2019-06-25 20:51:29 -04:00
rusefi cedf142c40 https://rusefi.com/forum/viewtopic.php?f=10&t=442&p=33585#p33575 2019-06-25 18:20:01 -04:00
rusefi ffc00f3613 verbose trigger sync: better field name & check box to engine sniffer 2019-06-25 02:25:26 -04:00
Matthew Kennedy 515ab03688 const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi 2901d9f902 nicer pin names for messages while same short names for engine sniffer 2019-05-15 04:26:41 -04:00
rusefi 53f5229423 Multiple sync pattern for faster cranking #679 2019-05-14 19:24:18 -04:00
rusefi 8b74476c1b BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi 35964c064c BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi 6f3bc5f150 Trigger: warning code on normal engine start up #669
avoiding CUSTOM_OBD_SKIPPED_FUEL fot triggers without synchronizaiton
2019-05-10 22:55:08 -04:00
rusefi abc8545b47 typo 2019-05-10 22:43:03 -04:00
rusefi b00af69c81 BUG: phase sensor validation attending - detect missing CAM signal #659
refactoring and unit test first phase
2019-05-10 21:56:33 -04:00
rusefi 767418b93b refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi 2d0d4bccb1 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778 2019-05-07 21:39:11 -04:00
rusefi 8a90297160 refactoring: better method name 2019-05-07 19:32:08 -04:00
rusefi 7fc699fce2 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
metric progress
2019-05-07 19:16:01 -04:00
rusefi 8cbac692ad Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
first steps of scheduling metric
2019-05-07 17:22:26 -04:00
rusefi af7b39154a Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
only renaming methods
2019-05-07 17:10:47 -04:00
rusefi cbea181183 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
refactoring only
2019-05-07 16:45:29 -04:00
rusefi a6fc10910a Saab CDM knock signal integration #647 2019-05-05 18:53:34 -04:00
rusefi 762feb1b03 console usability: engine sniffer jitter fix #780 2019-05-02 18:42:59 -04:00
rusefi aefcbe0895 refactoring: better method name 2019-05-02 18:05:33 -04:00
rusefi b34bdf5bcb docs 2019-05-02 17:52:48 -04:00
rusefi ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi 7c7889cb71 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:42 -04:00
rusefi 0171e00231 PWM parameter validation fix #594 2019-04-15 20:47:06 -04:00
rusefi 6bda683fba random cleanup 2019-04-14 13:52:27 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi 8f4795d9fa smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:15:18 -04:00
rusefi 54f83a431e smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:11:27 -04:00
rusefi cad2297a72 smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:06:09 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi c29e6d99c4 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
andreika-git 887580f7e2 Tps-accel. fractional mode (#715)
* Add new config settings for tps_accel_fractional_mode

* Add new variables for the fractional algo

* Add resetFractionValues() method

* Call onEngineCycleTps() and fix onEngineCycle()

* Implement the fractional algo

* More debug outputs for tps-enrich

* Nice & juicy unit-test!
2019-03-28 22:47:20 -04:00
rusefi 9e5aab38c6 docs 2019-03-23 08:55:33 -04:00
rusefi 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
dron0gus 19cdfab5f5 Cleanup fixes (#700)
* Kill some more warnings

* pin_repository: add markUnused, allow use from plain C

* ehiGpio.cpp: add forgotten GPIOG port
2019-03-08 07:01:15 -05:00
rusefi 4873082017 refactoring trigger simulation 2019-03-04 01:10:31 -05:00
rusefi 485b915499 reducing code duplication 2019-03-04 00:40:22 -05:00
rusefi 079d1447a9 refactoring: removing unused variables 2019-03-04 00:21:02 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
dron0gus 2027977e2c warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 1dc30dc503 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi 4fa48c0ca7 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi 8fee275f53 Refactor Trigger System #635
better field names
2019-02-03 01:49:41 -05:00
rusefi 8d3d716d7f Refactor Trigger System #635 2019-02-03 01:34:20 -05:00
rusefi 8d43038981 Refactor Trigger System #635 2019-02-03 01:27:47 -05:00
rusefi 0b41d011b7 Refactor Trigger System #635 2019-02-03 01:19:16 -05:00
rusefi 4d368e0ca8 Refactor Trigger System #635 2019-02-03 01:04:24 -05:00
rusefi 01dc48ec00 Refactor Trigger System #635 2019-02-03 00:40:25 -05:00
rusefi cffac9b28e better conditional compilation 2019-01-31 18:30:40 -05:00
rusefi f475fb1691 better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 57c6b75e81 #657 pulling global access down 2019-01-28 00:44:30 -05:00
rusefi 58932fb151 refactoring: 'const' modifier 2019-01-24 23:44:29 -05:00
rusefi ae88cbf7eb Trigger rabbit hole (#682)
fix #681

* this did not work right

* progress: spinning is detected sooner now

* and now things are much better?

* and now reducing RAM usage
2019-01-24 21:12:55 -05:00
rusefi d2164a51a0 got deeper into the rabbit hole and now I am confused about something else 2019-01-24 00:19:01 -05:00
rusefi c7cf1d0151 trigger refactoring: extracting methods to improve readability 2019-01-23 22:31:16 -05:00
rusefi 352886e69c trigger refactoring: extracting methods to improve readability 2019-01-23 22:06:42 -05:00
rusefi e630b10503 trigger code minor clean-up 2019-01-23 21:43:27 -05:00
rusefi 8642195e10 state validation progress 2019-01-22 23:15:33 -05:00
rusefi 4877931613 C++11 and unique method name 2019-01-22 19:07:36 -05:00
rusefi 53e8d10c55 refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi ad64e1b410 refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi 9835a22fe8 refactoring: reducing header tree hell 2019-01-21 00:10:09 -05:00
rusefi 37a47b1f25 refactoring: reducing header tree hell 2019-01-20 23:30:40 -05:00
rusefi 6244cda6b4 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi 22d73f72e3 #674 fix? 2019-01-19 19:45:35 -05:00
rusefi d4443164e8 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi eba0278fdd The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:18:44 -05:00
rusefi 86a0d67d70 learning C++ 2019-01-15 20:24:36 -05:00
rusefi c581ea229c The Big Refactoring of 2019: configuration version should not be a global variable #656
making a global not global
2019-01-14 12:21:26 -05:00
rusefi 10bb348d87 docs 2019-01-14 11:36:46 -05:00
andreika-git 32bd383b59 fix! (#673) 2019-01-14 11:33:58 -05:00
rusefi 7e7fe321b4 minor improvement 2019-01-14 00:21:08 -05:00
rusefi 689726c801 enjoying C++11 2019-01-14 00:20:50 -05:00
rusefi 4fdb965a70 something is not right here :( 2019-01-14 00:01:35 -05:00
rusefi 76a76fe805 enjoying C++11 2019-01-13 23:55:10 -05:00
rusefi 02fcc40b8b enjoying C++11 2019-01-13 23:20:19 -05:00
rusefi 713c029918 minor clean-up 2019-01-13 23:05:03 -05:00
rusefi 615a83cc5e Question: something strange trigger errors #662 2019-01-11 09:24:24 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 93b08dcc4c The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
rusefi 703dc30040 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-09 21:08:04 -05:00
rusefi 5c1098c93b The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:37:16 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
rusefi 84bcf68849 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 07:57:43 -05:00
rusefi 8bfb0925e1 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 00:53:54 -05:00
rusefi 5bac3f799c refactoring around "stopEngine" logic 2019-01-05 23:33:04 -05:00
rusefi daeaa925f2 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00
rusefi 9afe619652 making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi 56693665e8 #396 2019-01-04 21:33:50 -05:00
rusefi 7ba963ab3b #635 2019-01-01 14:05:11 -05:00
Fabien Poussin 1f29b5dd37 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi 095d9d4417 #625 big step - no more engine dependency from TriggerShape 2018-12-25 22:47:29 -05:00
rusefi 62fae3a763 #625 2018-12-25 21:18:14 -05:00
rusefi e6a139b044 #625 2018-12-25 21:05:06 -05:00
rusefi 2ba347d81e #625 2018-12-25 20:56:54 -05:00
rusefi 9568bba319 #635 2018-12-25 20:09:35 -05:00
rusefi f49b34b794 #635 2018-12-25 19:42:27 -05:00
rusefi dd59c8cd92 #625 2018-12-25 19:18:37 -05:00
rusefi 991c365461 #625 progress 2018-12-25 19:13:28 -05:00
rusefi bc8abaa065 #635 2018-12-25 17:31:21 -05:00
rusefi fdddbc976b #635 2018-12-25 12:27:34 -05:00
rusefi 29cb44a67b #635 2018-12-25 11:51:49 -05:00
rusefi 50256b1fc6 #635 2018-12-25 10:33:28 -05:00
rusefi 64b128034b #635 2018-12-25 10:20:13 -05:00
rusefi b09850c766 #635 better names 2018-12-25 10:13:00 -05:00
rusefi 495205729b #635 refactoring: better name 2018-12-25 08:27:52 -05:00
rusefi 4a21105452 #635 2018-12-24 23:33:21 -05:00
rusefi 207df26c68 #635 2018-12-24 23:27:06 -05:00