Commit Graph

5808 Commits

Author SHA1 Message Date
rusefi 5fd03a9f92 v12 M73 fun begins! 2019-11-01 22:56:58 -04:00
andreika-git 63702dbeeb TLE6240 outputs fix (#994) 2019-11-01 15:49:55 -04:00
andreika-git e8fa6135f4 Kinetis: smarter SPI_CS control (#993) 2019-11-01 10:50:22 -04:00
andreika-git ee5ee1942c Kinetis & TLE8888 compatibility & fixes... (#991)
* TLE8888: More compatibility & postTunerStudioState

* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix

* Kinetis: jump_to_bootloader() impl.

* Kinetis: UART baudrate safety check

* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusefi 47eaea3da3 scramblr reports sync issues on NB1 fix #990 2019-10-30 21:01:23 -04:00
rusefi 4d095d4844 60/2 VW trigger has running issue on 19/10/19 snapshot fix #986 2019-10-30 20:51:20 -04:00
rusefi aed900b613 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-10-30 09:27:43 -04:00
rusefi 7a3369795f smarter IAC PID 2019-10-30 09:27:12 -04:00
rusefi afe34d51b0 poke 2019-10-29 23:34:36 -04:00
rusefi 74e0c20235 flipping NB1 trigger definition 2019-10-29 21:19:00 -04:00
rusefi 8cf19d3d12 refactoring & verbose trigger to simulator 2019-10-29 21:12:44 -04:00
rusefi fe77766b2b bugfix around verboseTriggerSynchDetails - 64 bits on stack was causing broken messages 2019-10-29 18:20:55 -04:00
rusefi 469a2f1fd9 reducing code duplication with prod code & fixing simulator 2019-10-29 16:57:55 -04:00
rusefi 6b477e95d5 'trigger angle offset' note 2019-10-29 16:20:56 -04:00
rusefi f55c2df681 IM_TWO_COILS 2019-10-27 16:19:59 -04:00
rusefi 0a8a0d0b81 docs 2019-10-26 21:53:22 -04:00
rusefi 3e8b46b6ca preparation for industrial-PID 2019-10-23 21:41:30 -04:00
rusefi 88348ebd09 refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
rusefi 2ee280be5b poke 2019-10-21 19:52:34 -04:00
rusefi 2f3ccb8125 ADC sample time & rate #976 2019-10-19 08:01:28 -04:00
rusefi 490733ccad half-solution would not pass CI, have to merge full solution without real HW test
#975
2019-10-19 07:35:21 -04:00
rusefi 627f73502b steps towards #975 2019-10-18 19:45:32 -04:00
rusefi d9401fbdbc steps towards #975 2019-10-18 19:39:06 -04:00
rusefi 0e01355c15 steps towards #975 2019-10-18 18:54:32 -04:00
rusefi 1c140cbd80 date 2019-10-17 00:09:13 -04:00
Matthew Kennedy 10a6d6eb8b fix wwae (#980) 2019-10-17 00:06:54 -04:00
rusefi 5f9fdfe9a6 Revert "Revert "Performance improvement: call GetBaseFuel less (#979)""
This reverts commit 7eb9947fd4.
2019-10-16 23:02:24 -04:00
rusefi 7eb9947fd4 Revert "Performance improvement: call GetBaseFuel less (#979)"
This reverts commit 95e51f13
2019-10-16 22:29:19 -04:00
Matthew Kennedy 95e51f1399 Performance improvement: call GetBaseFuel less (#979)
* Remove extra calls to getInjectionDuration

* increase callback frequency
2019-10-16 22:13:10 -04:00
rusefi 344136eea9 preparing for #973 2019-10-16 22:10:38 -04:00
rusefi 54d1dd359a preparing for #979 2019-10-15 15:03:19 -04:00
Matthew Kennedy 4db3fa46cd fix #977 (#978) 2019-10-15 05:24:33 -04:00
Matthew Kennedy d6e065f99e Merge remote-tracking branch 'upstream/master' into perf-tracing 2019-10-14 23:45:39 -07:00
Matthew Kennedy fe82bc8468 hook up TS commands 2019-10-14 23:41:15 -07:00
Matthew Kennedy d76670d946 trace all the things 2019-10-14 23:34:12 -07:00
rusefi d0596388e6 preparing for #961
better code style
2019-10-15 02:06:15 -04:00
rusefi dda7f4d343 preparing for #974
code comments & refactoring
2019-10-15 01:27:19 -04:00
rusefi 6629b90a7f preparing for #974
code comments & refactoring
2019-10-14 18:32:16 -04:00
rusefi 5a4c7b38cd preparing for #974
code comments & refactoring
2019-10-14 16:04:28 -04:00
rusefi fc5232da69 poke 2019-10-14 12:58:27 -04:00
rusefi 7bb8bb7f14 preparing for #974
code comments & refactoring
2019-10-14 09:09:08 -04:00
rusefi 12137fc7cd preparing for #974
code comments & refactoring
2019-10-14 06:18:08 -04:00
Matthew Kennedy f52bdecb80 profile all the things 2019-10-13 13:14:08 -07:00
rusefi 6a1604815d Merge branch 'master' of https://github.com/rusefi/rusefi 2019-10-13 09:59:19 -04:00
rusefi 5cb90d0e1b preparation for #961
more unified access to pre-calculated value
2019-10-13 09:59:06 -04:00
Matthew Kennedy 763b17fb50 experiment 2019-10-11 17:43:21 -07:00
rusEfi dfef5748b9 pin conflict in MRE test config 2019-10-10 13:32:07 -04:00
rusefi 62577c47da preparation for #961
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
rusefi 71e904e421 preparation for #961
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi 9a26b2eca2 preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:37:37 -04:00
rusefi ca6e49dcbc preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi 41192ba2f0 logic duplication - we arleady have isCltError
preparation for #961
2019-10-10 07:09:04 -04:00
rusefi f17fc56aa5 better handling of corner case 2019-10-10 07:07:59 -04:00
Matthew Kennedy 29804cbc8a move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
Matthew Kennedy 9c2dd10734 low hanging performance fruit (#969) 2019-10-08 20:44:59 -04:00
rusefi 4574aaccce I got carried away, but DEAD CODE?! 2019-10-08 03:14:21 -04:00
rusefi 2acdbf308b something is over-complicated here? looks like two classes should become one? 2019-10-08 02:56:19 -04:00
rusefi a65c8c9295 something is over-complicated here? looks like two classes should become one? 2019-10-08 02:35:21 -04:00
rusefi fbbf8995e4 wow, dead field 2019-10-08 02:17:32 -04:00
rusefi 2b59940161 really not clear what is the best place for these classes 2019-10-08 02:13:52 -04:00
rusefi 4e26bd2fd2 refactoring 2019-10-08 02:01:41 -04:00
rusefi cd1e87ff41 docs & refactoring 2019-10-08 01:49:42 -04:00
rusefi 5bf399e280 fancier C++ initialization 2019-10-08 01:36:35 -04:00
rusefi ade7ad158a typo & better field name 2019-10-08 01:36:03 -04:00
rusefi 42dc9e3662 fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00
rusefi 1ab488e4b4 refactoring: better field name(s) 2019-10-08 01:03:57 -04:00
rusefi ca67249522 refactoring: better field name 2019-10-08 00:54:19 -04:00
rusefi 8424723024 refactoring: better variable names 2019-10-08 00:42:47 -04:00
rusefi 0d31cdddea refactoring: better parameter name 2019-10-08 00:30:20 -04:00
rusefi 53231f7b49 refactoring: smarter C++ initialization 2019-10-08 00:27:49 -04:00
rusefi fdfd2244ce One cylinder, 4 stroke, only crank sensor needs special wasted_mode spark control #968
just a unit test for now
2019-10-07 23:12:29 -04:00
rusefi 4bd928b594 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-10-07 21:29:29 -04:00
rusefi 5e48109780 docs & refactoring 2019-10-07 21:23:38 -04:00
rusefi d381bce748 date 2019-10-06 00:39:50 -04:00
Matthew Kennedy d1da567b85 fix gm 24x decoder (#963)
* fix gm

* fix

* fix default config, tests
2019-10-05 08:27:30 -04:00
rusefi d2c8e84e95 Two distributors 2019-10-04 22:36:53 -04:00
Matthew Kennedy faa2a481ea Simplify thermistor config (#962)
* simplify thermistor config

* fix test
2019-10-02 21:00:10 -04:00
rusefi 62bbdbb33b docs 2019-09-29 15:14:08 -04:00
rusefi 7f9e912ea4 pid limits / etb limits 2019-09-29 14:56:18 -04:00
rusefi df7fe0ec3b fixing build 2019-09-29 14:22:51 -04:00
rusefi 7d2aaab1aa Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-29 14:16:51 -04:00
rusEfi fc3b7ec1bd etbCalibrationOnStart 2019-09-29 14:00:04 -04:00
rusefi c935903162 do not let "Use fixed baro corr from MAP" kill VE fix #960 2019-09-29 09:58:29 -04:00
rusefi 0aec02ffb1 docs 2019-09-28 18:49:39 -04:00
rusefi 8e3912e6b1 firing order 1-2-7-8-4-5-6-3 2019-09-28 10:25:57 -04:00
rusefi d520e0734f docs 2019-09-28 09:59:40 -04:00
rusEfi 7c9a7d34b4 PID display in console was broken 2019-09-27 23:37:57 -04:00
rusEfi 44b2c2f89e new command 'etb_freq X' 2019-09-27 23:37:40 -04:00
rusEfi 17dc0908f2 it's a cruel world 2019-09-27 23:01:47 -04:00
Matthew Kennedy 4db887361c Fix sensor mock spill, again (#957)
* actually reset

* add test

* doh
2019-09-27 21:40:36 -04:00
rusEfi dfd5b11c8f Revert "Fix sensor mocking bug (#956)"
This reverts commit 217081c1
2019-09-27 20:33:45 -04:00
Matthew Kennedy 217081c174 Fix sensor mocking bug (#956)
* actually reset

* add test
2019-09-27 20:21:50 -04:00
rusefi 8c5be72106 idle&ETB progress 2019-09-26 00:02:47 -04:00
rusefi ff8a3f2988 fixing build 2019-09-25 08:46:26 -04:00
rusefi 3da60a406a Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-25 08:40:56 -04:00
rusefi bc572bef51 reducing hell in unit tests 2019-09-25 08:40:33 -04:00
Matthew Kennedy ee5643f1bf Hmm, that didn't quite work right (#955)
* maybe that wasn't a good idea

* we don't need a copy because you can't clear the func after setting it

* no longer a template - move logic to cpp

* fix tests

* rename to avoid object collision
2019-09-25 07:26:56 -04:00
rusefi 0a70bdf6f8 docs 2019-09-24 22:28:33 -04:00
Matthew Kennedy 3bd1ddcc1f Sensors: composition >> inheritance (#953)
* functional sensors

* format

* tests

* sim makefile

* eol

* format tests
2019-09-24 21:11:41 -04:00
rusefi 567bd7dd58 absolute fuel pressure flow calculation #954 2019-09-24 18:39:26 -04:00
rusefi fc8db12323 absolute fuel pressure flow calculation #954 2019-09-24 17:57:49 -04:00
rusefi e6aca92ad4 docs 2019-09-23 22:56:06 -04:00
rusefi 0e4ba4a256 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-23 19:15:50 -04:00
rusefi fdd3e2ef56 docs 2019-09-23 19:08:15 -04:00
Matthew Kennedy b4e176a9cb fix ltoa_internal: fix #948 (#949)
* fix ltoa_internal

* fix hex
2019-09-23 08:45:45 -04:00
rusefi 8c108f8362 HardFault related to auto r = convertFromInputValue(inputValue); #948 2019-09-23 02:02:42 -04:00
rusefi 2bacf53c0d HardFault related to auto r = convertFromInputValue(inputValue); #948
wow, it's a miracle anything ever worked!
2019-09-23 01:55:23 -04:00
rusefi 712eca7b15 typo in comment 2019-09-23 01:39:04 -04:00
rusefi b66f3a8229 ETB is sticky around zero and does not want to close all the way #943
fixing build
2019-09-23 00:41:35 -04:00
rusEfi 89ed15838f ETB is sticky around zero and does not want to close all the way #943 2019-09-22 23:28:11 -04:00
rusEfi 344919a60b This black magic improves hard fault debugging experience 2019-09-22 21:28:19 -04:00
rusefi 4f33dff0a1 ETB target is using integer values fix #945 2019-09-22 18:15:00 -04:00
rusefi e7b658547b ETB target is using integer values #945
now we have a unit test! now we can fix the issue :)
2019-09-22 17:58:27 -04:00
rusefi e99955fce5 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:43:00 -04:00
rusefi 7d65f1931e ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi 5a43153541 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:19:08 -04:00
rusefi bce63b112a ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 16:52:22 -04:00
rusefi b3b8d8607c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 16:41:10 -04:00
rusefi f600bbc6d7 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusefi d0ee86b258 we might not use Contrib at the moment 2019-09-22 09:56:47 -04:00
rusefi 533087f475 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi d09e096874 ETB target is using integer values #945
refactoring
2019-09-22 08:51:02 -04:00
rusefi 03b6a6ec58 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 08:45:03 -04:00
rusefi 1b604359a9 ETB target is using integer values #945
refactoring
2019-09-22 08:44:51 -04:00
rusEfi d5ef749761 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusEfi a20ff91abf Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 07:58:23 -04:00
rusEfi 9b98446846 ETB target is using integer values #945
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusefi 77cca16cd5 fixing build 2019-09-22 07:49:26 -04:00
Matthew Kennedy 6560de683e hook up rpm acceleration (#946) 2019-09-22 07:37:36 -04:00
rusEfi e29318b939 ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:36:13 -04:00
rusEfi f843968636 ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi 4ba441fd49 "set_etb" is now "set_etb_duty" 2019-09-21 22:15:34 -04:00
rusefi a221fe6d45 NB2 progress 2019-09-21 21:36:53 -04:00
rusefi 59598e5abf fixing build 2019-09-21 15:43:18 -04:00
rusefi 9ad82b03b5 fixing build 2019-09-21 15:33:13 -04:00
Matthew Kennedy f629ec038b add sensor framework, tests (#929)
* add framework, tests

* move oil pressure to new way

* add init logic

* brackets on the same line

* spaces -> tabs

* spaces -> tabs for tests

* bracket on same line

* hook up sensor mocking

* add nan check

* fix nan check

* I wrote an essay

* casing

* only init if we have a sensor to init

* style, actually call init

* format

* fix casing

* typo

* implement linear sensor

* wire up producer

* smarter limiting

* setup comments

* add reporting

* doxyfile

* oops

* add adc subscription

* clarity

* fix logic

* multiply voltage

* test styling

* test guards

* remove dependencies

* linear sensor test

* remove unused

* fix merge

* format, implicit convert op

* explicit

* format tests

* fix merge
2019-09-21 14:33:38 -04:00
rusefi f3c82eec0c progress 2019-09-21 14:18:59 -04:00
rusefi a08d0734dc SD card: trying to automatically unmount and trying to re-mount 2019-09-21 12:41:17 -04:00
rusefi 36c91eb31b different handling of SD card loss 2019-09-21 12:40:40 -04:00
rusefi bd5159da20 refactoring - better method name 2019-09-21 11:34:28 -04:00
rusefi 6505b0cb12 refactoring 2019-09-21 11:20:04 -04:00
rusefi 2ce6e900a3 fixing bug from yesterday 2019-09-21 11:09:03 -04:00
rusefi a4b6787af1 glitch 2019-09-21 09:43:08 -04:00
rusefi ac0467308a maybe logging performance improvement maybe not 2019-09-21 01:55:27 -04:00
rusefi 0e59029541 spelling 2019-09-21 01:49:46 -04:00
rusefi 3646ef4406 ETB idle bugfix: do not use once turned off 2019-09-21 01:22:21 -04:00
rusefi f588224559 NB2 miata on Frankenso with ETB 2019-09-21 01:21:53 -04:00
rusefi 2bbbc1c787 ETB pinEnableMode 2019-09-20 22:16:54 -04:00
rusefi b9f649a93c ETB to SD logs 2019-09-20 20:41:45 -04:00
rusefi 3ac801f9c5 configurable SD card logging speed 2019-09-20 20:18:22 -04:00
rusefi ef85a6ceed more fields to SD card logs 2019-09-20 19:38:19 -04:00
rusefi 73d0c2f2d9 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-20 18:35:56 -04:00
rusefi f23eee6492 why was RTC disabled? 2019-09-20 18:22:39 -04:00
rusefi b80710e7a7 refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusefi a7f893c41f extracting hunchback stuff to a separate file 2019-09-20 17:46:54 -04:00
rusefi ecae02ff27 thank you @andreika! 2019-09-20 08:44:20 -04:00
Matthew Kennedy 48fceb66c3 move logic out of bat (#941) 2019-09-20 08:40:07 -04:00
rusefi 0829d70012 reducing complexity 2019-09-20 01:06:15 -04:00
rusefi a72d2834fb unit tests progress 2019-09-20 00:46:35 -04:00
rusefi 87875d8825 unit tests progress 2019-09-20 00:34:42 -04:00
rusefi 36fad3a21e unit tests progress 2019-09-20 00:25:43 -04:00
rusefi ec9c8faa6d docs 2019-09-20 00:24:22 -04:00
rusefi 78b9e5a438 refactoring 2019-09-20 00:17:00 -04:00
rusefi 154092bbf5 unit tests progress 2019-09-19 22:56:54 -04:00
rusefi 221ef7d9bb unit tests progress 2019-09-19 22:10:39 -04:00
rusefi c59d8164c6 unit tests progress 2019-09-19 21:41:52 -04:00
rusefi bda089011c unit tests progress 2019-09-19 08:05:23 -04:00
rusefi 8dcb2d9690 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 23:22:15 -04:00
rusefi ddbd96ba72 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 22:07:02 -04:00
rusefi f48f60bb36 unit tests progress 2019-09-18 21:48:46 -04:00
rusefi c4339e17d8 unit tests progress 2019-09-18 21:38:45 -04:00
Matthew Kennedy a20f353506 Kill Dead Code 2: Electric Boogaloo (#940)
* remove dead

* remove dead

* deflex
2019-09-18 20:23:14 -04:00
rusefi cb2fee9076 Reduce PID significant figures from 7 -> 4 #939 2019-09-18 09:11:00 -04:00
Matthew Kennedy 3680af96c7 Reduce PID significant figures from 7 -> 4 (#939)
* 7 -> 3

* 3 -> 4
2019-09-18 09:10:19 -04:00
rusefi e1e113f41b https://github.com/rusefi/hw_microRusEfi/issues/115
documentation issue: 24 AN Temp 3 at External wideband O2 sensor #115
2019-09-16 21:00:20 -04:00
Matthew Kennedy 1077f329c5 vscode usability (#938)
* hide build/lst, dep

* missed a spot
2019-09-16 07:07:42 -04:00
rusEfi 67c25a6f12 A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 6504f6ccaf Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-15 10:05:22 -04:00
rusEfi 08c751bd9c NA8 2019-09-15 10:04:24 -04:00
Matthew Kennedy cce6646cdf kill (#935) 2019-09-14 21:20:36 -04:00
rusEfi f68ba22ba2 acRelayBench 2019-09-14 18:04:32 -04:00
rusEfi 66b3ae000d acRelayBench 2019-09-14 17:56:17 -04:00
rusEfi 4a2505e2d1 using MRE config for Nucleo 2019-09-14 16:03:04 -04:00
rusefi 664777587b Most important feature: VAG W12 firing order 2019-09-14 14:47:22 -04:00
rusefi 4f4f4ddfd9 FSIO progress 2019-09-13 21:07:34 -04:00
rusefi cffe318d1b pedal ADC should be faster #931 2019-09-13 19:55:20 -04:00
rusefi 8b4fe861b9 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-13 19:54:45 -04:00
rusefi a604eade6f pedal ADC should be faster #931 2019-09-13 19:54:28 -04:00
rusEfi e15e705f45 docs 2019-09-12 08:37:44 -04:00
rusEfi 3bbce46660 mock voltage bugfix, thank you AndreiKA! 2019-09-12 08:27:25 -04:00
rusefi dfc0743e9a Delayed A/C compressor switch #922
unit tests skeleton
2019-09-12 07:31:13 -04:00
andreika-git 21cbf1cf91 PID_CIC docs (#930) 2019-09-12 07:30:18 -04:00
rusefi 532a28a251 docs 2019-09-12 07:29:38 -04:00
rusefi 30e3012568 idle timing tooltips for tunerstudio 2019-09-11 20:59:57 -04:00
rusefi 8e67952fb8 idle timing tooltips for tunerstudio 2019-09-11 20:59:05 -04:00
rusefi a6fbc5036a Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi e30000f1ca OOP all the way, maybe too much OOP? :) 2019-09-11 20:23:25 -04:00
rusefi 2349ea237a Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
rusefi 6b42a3672c poke 2019-09-11 19:22:21 -04:00
Matthew Kennedy 33d13a78fc remove sensor_types.h (#928) 2019-09-11 18:10:49 -04:00