Commit Graph

402 Commits

Author SHA1 Message Date
rusefi 18760bb699 toyota 2jz progress 2020-05-15 16:35:18 -04:00
rusefi d3785b543e VVT_INACTIVE 2020-05-14 23:13:32 -04:00
rusefi 8bc2c403d6 34-2 3 cam Toyota wheel progress 2020-05-10 18:10:50 -04:00
rusefi 1f692c4a9b 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
rusefi 3e506a674a 34-2 3 cam Toyota wheel progress 2020-05-10 15:22:50 -04:00
rusefi 342a331e1c 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:21 -04:00
rusefi 7071d63cad 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:04 -04:00
rusefi 919afd35e8 removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi d18bf76fb5 34-2 3 cam Toyota wheel progress 2020-05-10 00:42:33 -04:00
Matthew Kennedy 1f16228bdb
Perf Trace Improvements (#1383)
* add tid field to thread

* change perf trace format

* trace consumers

* Update java parsing

* guard for test + kinetis

* stubs

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -04:00
rusefi 88bbbb6c33 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
Matthew Kennedy 1bad5f3047
don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 1ee95abde8 progress 2020-04-17 14:02:10 -04:00
rusefi ed0e5e2aac multi-channel Tuner Studio tooth logger #1284 2020-04-17 12:14:45 -04:00
rusefi 205f6fea83 fixing build 2020-04-15 21:09:05 -04:00
rusefi 04f652b7e4 fixing build? 2020-04-15 19:50:07 -04:00
rusefi 5c4eb10c52 multi-channel Tuner Studio tooth logger #1284 2020-04-15 19:10:54 -04:00
rusefi e32aa5266b multi-channel Tuner Studio tooth logger #1284 2020-04-14 15:17:15 -04:00
Matthew Kennedy ff867b9301
fix warnings (#1282)
* warnings

* don't need to template those
2020-04-12 09:39:14 -04:00
rusefi b51da343d1 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
rusefi b43da0d0f8 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 8fd9842310
cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy 2c809e4475
Remove old monitoring timestamps (#1217)
* remove monitoring timestamps

* adv map

* fuel calc

* map avg

* printing

* spark logic

* hip 9011

* new traces

* s

* missed a few
2020-03-24 20:19:19 -04:00
Matthew Kennedy 4740f525ee
save some ram (#1211)
* remove dead stuff

* why store those pointers twice?
2020-03-22 19:06:29 -04:00
rusefi 16930da2d3 hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
Matthew Kennedy 9f26e6d894
fix icu trigger polarity (#1177)
* fix polarity

* fix confusing names
2020-03-08 08:57:21 -04:00
rusefi e9a3b218c4 miata vvt trigger decoding is broken #1145 2020-02-14 13:02:27 -05:00
rusefi f6e7e8871a VVT refactoring & assertions for VVT test 2020-01-31 01:49:10 -05:00
rusefi b6fe6555e0 lovely tiny bug which mostly affects NB2 with an impossible one tooth crank trigger wheel 2020-01-30 01:47:34 -05:00
rusefi cf087218c9 micro refactoring 2020-01-30 01:20:41 -05:00
rusefi d9b96fe509 extracting class & codes clean-up 2020-01-28 00:16:33 -05:00
rusefi 241d491625 trigger refactoring 2020-01-26 12:02:54 -05:00
rusefi db2ab72d12 refactoring trigger 2020-01-26 03:33:45 -05:00
rusefi 0f23faba28 trigger refactoring 2020-01-25 02:00:33 -05:00
rusefi aabc50e7a9 refactoring trigger 2020-01-24 13:42:09 -05:00
Matthew Kennedy ba0c48e0ac use NT_PER_SECOND instead of convert from microseconds (#1107)
* add NT_PER_SECOND

* missed a few

* inject tooth logger timestamp

* inject
2020-01-19 22:23:41 -05:00
Matthew Kennedy a6a1335adb Require tooth reference time for scheduleByAngle (#1091)
* injection

* injectors

* add edge timestamp to ShaftPositionListener

* scheduleByAngle require edgeTimestamp

* schedule with nt not us

* oops, these were missing from this branch
2020-01-09 23:45:13 +03:00
Matthew Kennedy 851c6041b1 Inject timestamps in to hwHandleShaftSignal (#1090)
* injection

* injectors
2020-01-09 21:19:11 +03:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
rusefi 537a95a9b4 removing legacy perf code 2019-12-23 21:56:16 -05:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi c5cfd21a70 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi d6471a84bc Refactor Trigger System #635
injecting callback via parameters instead of nasty "bool isInitializingTrigger" field
2019-12-06 01:57:11 -05:00
rusefi 717abd6b67 Refactor Trigger System #635
injecting callback via parameters via magic and potentially broken field manipulation
2019-12-06 01:05:19 -05:00
Matthew Kennedy 93d24dfc0b Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 15a571fb3e this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi 42cd78fbd5 Trying latest gcc 9 #1001 2019-11-07 11:28:49 -05:00
rusefi 88348ebd09 refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
Matthew Kennedy f52bdecb80 profile all the things 2019-10-13 13:14:08 -07:00
Matthew Kennedy 763b17fb50 experiment 2019-10-11 17:43:21 -07:00
Matthew Kennedy 29804cbc8a move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
rusEfi 1b8219432c Live Data for hw VVT signals 2019-09-02 21:02:08 -04:00
rusEfi c2980a36a9 Live Data VVT counter 2019-09-02 14:47:05 -04:00
rusefi 8a4d3f9896 reducing unit test noise 2019-08-25 01:15:18 -04:00
rusEfi 7a7dbb8c30 refactoring: engine sniffer magic constants 2019-08-18 15:04:02 -04:00
rusefi 539cd8b1c7 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 643cc24931 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:32:31 -04:00
rusefi 7a00ccd2ce better trigger state debug field logging 2019-08-07 20:13:30 -04:00
rusEfi ba56a79ad5 proper HW type message logic 2019-08-06 23:56:35 -04:00
rusEfi d5451a7b4f NA6 & trigger 2019-08-06 22:17:18 -04:00
rusefi 56a6cdd329 gcc 2019 q3 fails integration testing #886
investigation
2019-07-14 15:22:02 -04:00
rusefi 1282a22134 support multiple VVT sensors #885 2019-07-12 21:13:24 -04:00
rusefi 04bc1128df support multiple VVT sensors #885
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
rusefi d0d546e500 EFI_TOOTH_LOGGER 2019-07-07 15:22:46 -04:00
Matthew Kennedy d708f3e038 Implement TS tooth logger (#873)
* FW changes

* config changes

* whitespace

* comment

* simplify
2019-07-06 20:48:58 -04:00
rusefi cdac02429c refactoring: better file name 2019-07-06 20:15:49 -04:00
rusefi 83ad64eade Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi b24064d231 NB2 magic clarification 2019-07-01 12:48:08 -04:00
rusefi ded41e5efe Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-30 09:38:51 -04:00
rusefi a82c7e30db verbose trigger sync: better field name & check box to engine sniffer 2019-06-25 02:25:26 -04:00
Matthew Kennedy 95003e9a7b 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 812c61903a BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi ff1d10dd2e BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi c6198e34ec 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 4e61505620 refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi d7fd0ce6c1 refactoring: better method name 2019-05-07 19:32:08 -04:00
rusefi 49841f1adb The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:42 -04:00
rusefi 541c445a2d defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi be9651cb95 The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi ebe58122c6 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi 16da833501 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi 3127b6fd24 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi da4fb3a19f better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 87930e3b49 trigger code minor clean-up 2019-01-23 21:43:27 -05:00
rusefi 1d15885448 C++11 and unique method name 2019-01-22 19:07:36 -05:00
rusefi 8539ba3271 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi 57993ff1b4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
rusefi 2f0804022b The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-09 21:08:04 -05:00
rusefi 3db5ad5e5b #396 2019-01-04 21:33:50 -05:00
Fabien Poussin 72fe39ff32 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi 2585e4cad7 #625 2018-12-25 21:05:06 -05:00
rusefi 7e3a7b5c79 #635 2018-12-24 23:16:33 -05:00
rusefi a549009c99 more CPU stats code 2018-12-24 00:31:26 -05:00
rusefi 2fa2213227 more docs related to trigger process 2018-11-22 10:25:02 -05:00
rusefi 1fb7a94d73 minor fixes 2018-11-21 22:15:22 -05:00
rusefi f98f35c9d2 refactoring - hopefully making API safer 2018-11-21 19:40:19 -05:00
rusefi 3f5737b7bd fixing simulator 2018-11-16 08:27:55 -05:00
andreika-git 23fea3c0c5 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusefi d5ddb0bc9d #619 2018-10-30 05:32:13 -04:00
rusefi e19fe6bbba refctoring trigger sync layer 2018-10-21 11:17:47 -04:00
rusefi cf5e05e7b9 refactoring 2018-09-16 23:10:06 -04:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusefi 8d111fbd98 typo 2018-09-10 22:29:43 -04:00
rusefi 9b1af6ad6d error codes 2018-09-10 22:10:55 -04:00
rusefi f292c4ccb2 reducing code duplication and applying event condition more consistently 2018-08-31 21:11:22 -04:00
rusefi 52e0edea6a dead comment & inline 2018-08-31 20:38:10 -04:00
rusefi cd9db8dab6 fixing build 2018-08-15 19:37:57 -04:00
rusefi 6a9c92c7bb VVT debug for NB2 mode 2018-08-14 14:19:58 -04:00
rusefi e009de3376 part of EOL hell 2018-08-08 20:12:58 -04:00
rusEfi 75b10d9e54 wider macro usage 2018-07-28 19:16:58 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
rusEfi 9cce922b78 per error code 2018-07-23 21:38:05 -04:00
andreika-git 58b7fbb96e Noiseless trigger decoder (#592)
* fix typo

* better formatting & tiny fix

* add syncRatioAvg

* add useNoiselessTriggerDecoder setting

* resetAccumSignalData

* isUsefulSignal

* Impl. Noise Filtering for Trigger Decoder

* Unit-tests
2018-04-26 02:11:51 -04:00
andreika-git ac0189270e Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi 133b1689bb better state validation 2018-03-04 21:02:35 -05:00
rusefi 98055ca350 better logging 2018-03-04 20:43:38 -05:00
rusefi 2a626dcd6e refactoring: extract method 2018-03-03 19:26:59 -05:00
rusefi c049eea877 fix #570 2018-03-01 06:01:15 -05:00
rusefi 5db803a2bd trigger image progress 2018-02-28 23:31:58 -05:00
rusefi 4c95a14085 docs & names 2018-02-06 01:24:45 +03:00
rusefi 3d5e93534d docs & names 2018-02-06 01:16:34 +03:00
rusefi 85c3df137e and now bugfix for the fresh bugfix 2018-02-04 20:46:57 +03:00
rusefi 5385a040fd refactoring 2018-02-03 20:43:31 -05:00
rusefi 5c076ed215 new attempt: with thread-safery 2018-02-03 16:06:34 -05:00
rusefi 1e2ad62cf9 one step backwards 2018-02-03 15:19:32 -05:00
rusefi 59954e1ed9 reducing the coupling between trigger handling and trigger emulation 2018-02-03 13:08:11 -05:00
rusefi a15eab1b71 minor bugfix in theoretical case of two consequitive changes 2018-02-03 12:56:37 -05:00
rusefi 86f7a89412 minor bugfix in theoretical case of two consequitive changes 2018-02-03 12:47:37 -05:00
rusefi 64b7a51617 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi 1d31067d19 happy new year 2018-01-20 20:55:31 -05:00
rusefi 227836ee7d dead code 2017-12-12 17:39:41 -05:00
rusefi b455df4728 docs 2017-12-12 17:26:23 -05:00
rusefi 405f06a608 #498 2017-11-20 15:01:48 -05:00
rusefi 87f8cb0b37 better status messages 2017-11-19 22:31:01 -05:00
rusefi 02eed1c82c refactoring - reducing trigger code complexity 2017-10-16 14:08:45 -04:00
rusefi 01295e8590 fix #472 2017-08-11 14:02:15 -04:00
rusefi 698fdafb5c hopefully bugfix 2017-07-05 22:22:24 -04:00
rusefi e03883ab96 partial rollback 2017-07-05 21:54:04 -04:00
rusefi b21bfa89c8 partial rollback 2017-07-05 21:50:15 -04:00
andreika-git 2219e2b239 attempting to fix simulator autotest... (#453) 2017-06-29 02:45:19 -04:00
andreika-git c94a519eec fix checkIfTriggerConfigChanged() for unit tests (#452) 2017-06-28 11:06:40 -04:00
andreika-git 87b624d0fa fix unit_tests (#450) 2017-06-27 00:10:01 +03:00
andreika-git 1a7e5b20d9 onConfigurationChangeTriggerCallback() (#448)
* onConfigurationChangeTriggerCallback()

* conform isTriggerConfigChanged

* #if EFI_EMULATE_POSITION_SENSORS

* Now it works!

* svnversion
2017-06-26 21:31:10 +03:00
rusefi 6c0fae23fa maybe micro-optimization 2017-05-25 23:23:22 -04:00
rusefi b9771e42e9 better name 2017-05-21 11:09:47 -04:00
rusefi 2e70da24db wider usage of EFI_CLOCK_LOCKS 2017-05-21 10:46:43 -04:00
rusefi 486e69d492 better names 2017-05-21 10:25:35 -04:00
rusefi 2b4c66968c better code names & more performance info 2017-05-21 10:03:17 -04:00
rusefi a55b56cbae fixing build 2017-05-19 22:30:21 -04:00