Commit Graph

3834 Commits

Author SHA1 Message Date
rusEfi 41bdf469b2 #pragma once 2019-11-15 00:00:13 -05:00
rusEfi cedb8d5861 M73 2019-11-14 23:58:04 -05:00
rusefi ef9ad935e0 poke 2019-11-14 10:23:11 -05:00
rusefi e0ec28a528 docs 2019-11-13 22:47:49 -05:00
rusefi c3aa47195d todo 2019-11-13 22:02:13 -05:00
rusefi 623776d185 micro-optimization: replacing by-referece access with direct static access for real firmware 2019-11-13 21:43:24 -05:00
rusefi 99bed7b613 unused code 2019-11-13 20:15:02 -05:00
Matthew Kennedy 2edd673bd6 fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi 5ea97e5ba8 Revert "restoring #1003"
This reverts commit 2ebaa5cf
2019-11-12 23:18:48 -05:00
rusefi 2ebaa5cf20 restoring #1003 2019-11-12 22:17:29 -05:00
rusefi a23f6bb23e time to panic and revert more 2019-11-12 21:42:44 -05:00
rusefi 73003f8b64 what's the probability of efi::size breaking build? 2019-11-12 19:40:33 -05:00
rusefi 1ad591742b refactoring: time to unify digital pin API
trying to fix build
2019-11-12 19:04:33 -05:00
Matthew Kennedy 6a5d53fe64 Fix (#1004)
* Revert "fixing build"

This reverts commit ba0aa5cba9.

* undo overzealous ifdef cplusplus
2019-11-12 01:13:13 -05:00
rusefi ba0aa5cba9 fixing build 2019-11-12 00:50:30 -05:00
Matthew Kennedy b01a9e1388 use static asserts (#1003) 2019-11-12 00:39:38 -05:00
rusefi 8bbd06d165 refactoring: time to unify digital pin API 2019-11-11 23:32:09 -05:00
rusefi 3ff2b2271a refactoring: time to unify digital pin API 2019-11-11 23:04:27 -05:00
rusefi 80ef79eded this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi 78d771460a need better higher-level API :( 2019-11-11 22:14:45 -05:00
rusefi 7c453fb199 Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) fix #996 2019-11-10 23:54:08 -05:00
rusefi 412744d613 trying to fix integration tests
[java] 2019-11-10_13_31_42_194<EOT>: msg,FATAL error: PID::isSame invalid,
     [java] 2019-11-10_13_31_42_194<EOT>: postMessage EngineState: FATAL error: PID::isSame invalid
     [java] 2019-11-10_13_31_42_289<EOT>: Sending packet 4F 00 00 64 01
     [java] 2019-11-10_13_31_42_289<EOT>: output channels header: waiting for 2 byte(s)
     [java] 2019-11-10_13_31_42_290<EOT>: IncomingDataBuffer: 256 byte(s) arrived
     [java] 2019-11-10_13_31_42_290<EOT>: output channels body: waiting for 361 byte(s)
     [java] 2019-11-10_13_31_42_291<EOT>: IncomingDataBuffer: 107 byte(s) arrived
2019-11-10 16:07:13 -05:00
andreika-git add26866f5 Industrial PID Controller (#1002)
* Implement Industrial PID controller

* Test-Use PidIndustrial in alternator

* Meaningful unit-tests for PidIndustrial
2019-11-10 13:04:27 -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 a41b4c896d fine, taking care of more warnings 2019-11-06 19:53:09 -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 3b2d5c8c7f Missing dwell altogether in some corner cases #796
only additional live data here
2019-11-05 23:36:33 -05:00
rusefi 92d1842bd0 refactoring 2019-11-05 23:17: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 30cfb96619 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 20:07:55 -05:00
rusefi 68db5ecdb1 progress towards #961 2019-11-04 22:52:37 -05:00
rusefi 9c3492043d progress towards #961 2019-11-04 22:44:52 -05:00
rusefi 17792f762c kind of todo 2019-11-04 22:29:22 -05:00
rusefi eae44843b1 custom codes cleanup 2019-11-04 09:20:00 -05:00
rusefi e5bebe0f72 happy November 2019-11-03 23:38:00 -05:00
rusefi d99d576e2b CI instability: FATAL error: warn stream not initialized fix #798 2019-11-03 22:15:49 -05:00
rusefi 8423fa0acf pieces of #971 2019-11-03 22:02:52 -05:00
rusefi fdbe81121d moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 21:29:12 -05:00
rusefi 591f19321d nicer enum name 2019-11-03 21:19:13 -05:00
rusefi d8941eec12 moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 19:36:56 -05:00
rusefi a325551edd moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 17:25:34 -05:00
rusefi 10377c918f moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 17:17:43 -05:00
rusefi 82b7190dc0 review feedback 2019-11-03 10:36:35 -05:00
rusefi 359f7c437b skeleton & docs (#995)
* Documentation additions and clarifications.

Added config/boards/skeleton/ as an example and starting point for
board-specific support.

* Describe where the generated files came from.

* Minor rewording

* Delete mistakenly added emacs backups

* Added an overall description and build notes
2019-11-03 08:41:14 -05:00
andreika-git ef23be6893 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 28df878989 scramblr reports sync issues on NB1 fix #990 2019-10-30 21:01:23 -04:00
rusefi db24091933 60/2 VW trigger has running issue on 19/10/19 snapshot fix #986 2019-10-30 20:51:20 -04:00
rusefi f453cc6737 smarter IAC PID 2019-10-30 09:27:12 -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 8155cf6234 reducing code duplication with prod code & fixing simulator 2019-10-29 16:57:55 -04:00
rusefi be9a67e67e IM_TWO_COILS 2019-10-27 16:19:59 -04:00
rusefi a8a0bc007a docs 2019-10-26 21:53:22 -04:00
rusefi 0fcf3bfa4e refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
rusefi 1602bdbebc steps towards #975 2019-10-18 19:45:32 -04:00
rusefi e73dd317b7 steps towards #975 2019-10-18 19:39:06 -04:00
rusefi eff84bcfeb steps towards #975 2019-10-18 18:54:32 -04:00
rusefi b31d729ce3 date 2019-10-17 00:09:13 -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
rusefi a7ea155633 preparing for #973 2019-10-16 22:10:38 -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 cdf827a20a preparing for #961
better code style
2019-10-15 02:06:15 -04:00
rusefi 0535ac8e01 preparing for #974
code comments & refactoring
2019-10-15 01:27:19 -04:00
rusefi 6f8b82e8ed preparing for #974
code comments & refactoring
2019-10-14 18:32:16 -04:00
rusefi 730aaca3ea preparing for #974
code comments & refactoring
2019-10-14 16:04:28 -04:00
rusefi 791c1423b0 preparing for #974
code comments & refactoring
2019-10-14 09:09:08 -04: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 002597c8e5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-10-13 09:59:19 -04: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
rusEfi 4c95fbd43d pin conflict in MRE test config 2019-10-10 13:32:07 -04:00
rusefi abfdfe6896 preparation for #961
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
rusefi 2c8a2b61a5 preparation for #961
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi a5f09ef378 preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:37:37 -04:00
rusefi f776513a5a preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi 9776d3c57d better handling of corner case 2019-10-10 07:07:59 -04: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 5d6a329c80 wow, dead field 2019-10-08 02:17:32 -04:00
rusefi 54fe92e534 really not clear what is the best place for these classes 2019-10-08 02:13:52 -04:00
rusefi f189bbab04 refactoring 2019-10-08 02:01:41 -04:00
rusefi ba59ef00e7 docs & refactoring 2019-10-08 01:49:42 -04:00
rusefi bd7b286ae4 fancier C++ initialization 2019-10-08 01:36:35 -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
rusefi 0aa7088f99 date 2019-10-06 00:39:50 -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
Matthew Kennedy 9b1dc07ae1 Simplify thermistor config (#962)
* simplify thermistor config

* fix test
2019-10-02 21:00:10 -04:00
rusefi b6d22a007b docs 2019-09-29 15:14:08 -04:00
rusefi 5a59f1b232 fixing build 2019-09-29 14:22:51 -04:00
rusefi 9425b714fc Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-29 14:16:51 -04:00
rusEfi 313e1da631 etbCalibrationOnStart 2019-09-29 14:00:04 -04:00
rusefi 9a961fd0c2 do not let "Use fixed baro corr from MAP" kill VE fix #960 2019-09-29 09:58:29 -04:00
rusefi 7d68b3d829 firing order 1-2-7-8-4-5-6-3 2019-09-28 10:25:57 -04:00
rusefi e6cc663e96 docs 2019-09-28 09:59:40 -04:00
rusEfi d73d668a9e new command 'etb_freq X' 2019-09-27 23:37:40 -04:00
rusEfi 80d222fc55 it's a cruel world 2019-09-27 23:01:47 -04:00
Matthew Kennedy b68ed85491 Fix sensor mock spill, again (#957)
* actually reset

* add test

* doh
2019-09-27 21:40:36 -04:00
rusEfi 9193e73090 Revert "Fix sensor mocking bug (#956)"
This reverts commit 7989d593
2019-09-27 20:33:45 -04:00
Matthew Kennedy 7989d59311 Fix sensor mocking bug (#956)
* actually reset

* add test
2019-09-27 20:21:50 -04:00
rusefi ba1d8eb512 idle&ETB progress 2019-09-26 00:02:47 -04:00
rusefi 3b44a70501 fixing build 2019-09-25 08:46:26 -04:00
rusefi 1ebbfa7ebb Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-25 08:40:56 -04:00
rusefi 0d35b1ebba reducing hell in unit tests 2019-09-25 08:40:33 -04:00
Matthew Kennedy 325a9e3fd1 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
Matthew Kennedy ccb4c51e50 Sensors: composition >> inheritance (#953)
* functional sensors

* format

* tests

* sim makefile

* eol

* format tests
2019-09-24 21:11:41 -04:00
rusefi 80f8facd8a absolute fuel pressure flow calculation #954 2019-09-24 18:39:26 -04:00
rusefi b28710c908 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 cb02926c89 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 97e0270b1c ETB is sticky around zero and does not want to close all the way #943 2019-09-22 23:28:11 -04:00
rusefi df64289fd5 ETB target is using integer values fix #945 2019-09-22 18:15:00 -04:00
rusefi 42f085a4a0 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 cfbf5e0b12 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:43:00 -04:00
rusefi f65fc4fec1 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi e4878734a1 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:19:08 -04:00
rusefi c6bca8e77a ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -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 3a30e9194c ETB target is using integer values #945
refactoring
2019-09-22 08:51:02 -04:00
rusefi 13fd4c2fc5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 08:45:03 -04:00
rusefi 7710df4fed ETB target is using integer values #945
refactoring
2019-09-22 08:44:51 -04:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusEfi b46c5b4960 ETB target is using integer values #945
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusEfi 0fd1f27e1b ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:36:13 -04:00
rusEfi 53ae54e8cc ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi c44f76f2ed "set_etb" is now "set_etb_duty" 2019-09-21 22:15:34 -04:00
rusefi 2e492d22bf fixing build 2019-09-21 15:43:18 -04:00
rusefi ee074b9fe7 fixing build 2019-09-21 15:33:13 -04:00
Matthew Kennedy dfcc9dba04 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 9586490e6c progress 2019-09-21 14:18:59 -04:00
rusefi 50850ca0c9 fixing bug from yesterday 2019-09-21 11:09:03 -04:00
rusefi fdea935fc0 ETB idle bugfix: do not use once turned off 2019-09-21 01:22:21 -04:00
rusefi 757f8eb690 NB2 miata on Frankenso with ETB 2019-09-21 01:21:53 -04:00
rusefi 282cc41980 ETB pinEnableMode 2019-09-20 22:16:54 -04:00
rusefi 02fb27440e ETB to SD logs 2019-09-20 20:41:45 -04:00
rusefi aa8d0eb640 configurable SD card logging speed 2019-09-20 20:18:22 -04:00
rusefi c9c32c8db6 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-20 18:35:56 -04:00
rusefi d95740467e refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusefi 6457c05da5 thank you @andreika! 2019-09-20 08:44:20 -04:00
rusefi 03d71bedeb reducing complexity 2019-09-20 01:06:15 -04:00
rusefi 13b74d3d4d unit tests progress 2019-09-20 00:46:35 -04:00
rusefi cac91ceac8 unit tests progress 2019-09-20 00:34:42 -04:00
rusefi f2e67b05c0 unit tests progress 2019-09-20 00:25:43 -04:00
rusefi 0b5a49392f refactoring 2019-09-20 00:17:00 -04:00
rusefi d83ed085e8 unit tests progress 2019-09-19 22:56:54 -04:00
rusefi 0c9a8b58ca unit tests progress 2019-09-19 22:10:39 -04:00
rusefi 0952b84aad unit tests progress 2019-09-19 21:41:52 -04:00
rusefi 317ec8d752 unit tests progress 2019-09-19 08:05:23 -04:00
rusefi 60d57d2dd8 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 23:22:15 -04:00
rusefi 115d295bd8 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 22:07:02 -04:00
rusefi 8ef1fcd344 unit tests progress 2019-09-18 21:48:46 -04:00
rusefi fd62a9c0f7 unit tests progress 2019-09-18 21:38:45 -04:00
Matthew Kennedy 4aaf028251 Kill Dead Code 2: Electric Boogaloo (#940)
* remove dead

* remove dead

* deflex
2019-09-18 20:23:14 -04:00
rusEfi a168c5f2eb A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 3859984bb5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-15 10:05:22 -04:00
rusEfi 4030b69594 NA8 2019-09-15 10:04:24 -04:00
Matthew Kennedy eb885c33bf kill (#935) 2019-09-14 21:20:36 -04:00
rusEfi 972be58802 acRelayBench 2019-09-14 17:56:17 -04:00
rusefi 0a92693729 Most important feature: VAG W12 firing order 2019-09-14 14:47:22 -04:00
rusefi fcbc26bf82 FSIO progress 2019-09-13 21:07:34 -04:00
rusefi f2a76ef0e2 pedal ADC should be faster #931 2019-09-13 19:55:20 -04:00
rusEfi 5ce8e65170 mock voltage bugfix, thank you AndreiKA! 2019-09-12 08:27:25 -04:00
rusefi d576f3ba1f Delayed A/C compressor switch #922
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi f0427360bf Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi 5ac8545060 Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
Matthew Kennedy 700ae8ceaf remove sensor_types.h (#928) 2019-09-11 18:10:49 -04:00
rusefi 7f069e428f Delayed A/C compressor switch #922 2019-09-10 23:49:21 -04:00
rusefi f56e2b3a46 instant RPM for idle control #925 2019-09-10 23:03:55 -04:00
rusefi 3f856dc54d Delayed A/C compressor switch #922 2019-09-10 22:55:58 -04:00
rusefi 3389caa1e4 one step back :) instant RPM does not look right 2019-09-10 21:35:10 -04:00
rusefi d4b9c7217e fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 3d85de7ee5 fatalErrorPin setting is not used #926 2019-09-09 21:34:15 -04:00
rusefi 34fb2c21e1 simulator crashes on any TS setting change fix #924 2019-09-09 20:49:16 -04:00
rusefi d26262eb9f instant RPM for idle control #925 2019-09-09 19:41:41 -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 003c868b3f has been a while so safe to assume everyone has default value 2019-09-08 22:17:51 -04:00
rusefi f9bb333453 Delayed A/C compressor switch #922 2019-09-08 21:09:45 -04:00
rusefi 50e0887c96 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi 7c89fe1ab6 A/C NA6 compressor progress 2019-09-08 16:45:02 -04:00
rusefi ecd0fe6ab6 docs 2019-09-07 22:16:56 -04:00
rusefi bffeadf3f0 docs 2019-09-07 21:35:55 -04:00
rusefi 2b64e34313 Reinitialize TLE8888 if it resets #904
nasty "solution"
2019-09-06 20:30:27 -04:00
rusefi 12d9bc50b3 tle8888 reinit command 2019-09-05 10:30:27 -04:00
rusefi 280271ab1e TLE8888: NB2 solution + reset counter 2019-09-05 10:01:59 -04:00
rusefi 0d131f136e MRE NB2 2019-09-03 23:35:49 -04:00
rusefi a7e047489c BUGFIX: ETB idle should care about pedal position, not TPS position 2019-09-03 21:45:42 -04:00
rusefi fe6b5d8c56 Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
rusefi 9bd1e417bb better field name 2019-09-03 19:12:04 -04:00
rusefi c8bd1b68b1 pedal calibration into status message 2019-09-02 22:58:36 -04:00
rusefi b51e32424b refactoring: extracting magic command constant 2019-09-02 22:57:40 -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 15a7c1a2e6 make iTerm limits visible for idle RPM pid #913 2019-09-02 00:24:10 -04:00
rusefi 7c0688969f make iTerm limits visible for idle RPM pid #913 2019-09-02 00:19:06 -04:00
rusEfi d5dfc3e658 NB2 progress, ETB Live Docs progress 2019-09-01 19:37:58 -04:00
rusEfi 645aec27b4 typo 2019-09-01 18:56:57 -04:00
rusEfi 8f10e85d03 mock PPS voltage command in addition to mock PPS position
ETB pane progress
2019-09-01 17:35:43 -04:00
rusEfi 7bf75b43b6 showing 'before' values while changing TPS settings 2019-09-01 16:11:35 -04:00
rusefi 6318f2ac38 Live Data: more Idle & ETB data points! 2019-09-01 15:46:40 -04:00
rusefi 2a8998f548 Live Data progress: using field's context 2019-09-01 15:01:57 -04:00
rusefi 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 8038885ae2 docs & naming consistency 2019-09-01 11:59:39 -04:00
rusefi 9bbfc6de36 typo 2019-09-01 11:39:09 -04:00
rusefi e1a7ae0148 Live Data progress 2019-09-01 00:45:36 -04:00
rusefi 6fc1b1dc88 typo 2019-08-31 23:32:33 -04:00
rusefi e885079de1 unified names for generated headers 2019-08-31 23:12:39 -04:00
rusEfi 3970881a09 ETB progress 2019-08-31 20:17:17 -04:00
rusEfi 9ce7c4d7da NB2 MRE 2019-08-31 18:36:44 -04:00
rusEfi d696412312 reducing dead code 2019-08-31 17:59:18 -04:00
rusefi f533617b29 LiveData progress: isChanking & hasEtbPedalPositionSensor 2019-08-31 17:07:21 -04:00
andreika-git 54a97e799d mightResetPid docs (#912) 2019-08-31 15:38:01 -04:00
rusefi ca3d8098c0 NA6 pnp: automatic idle VS TPS #800 2019-08-30 18:17:10 -04:00
rusefi 4a1b78f9a4 PID errorAmplificationCoef to LiveData 2019-08-30 17:11:12 -04:00
rusefi afdeecb87e progress towards idle unit test 2019-08-29 23:50:20 -04:00
rusefi 02610104d5 progress towards idle unit test 2019-08-29 00:10:47 -04:00
rusefi 6df2afface cranking fuel live data fix #911 2019-08-28 00:29:55 -04:00
rusefi a8f7a8965b cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusefi 7853cc1a7f refactoring towards idle unit test 2019-08-26 00:19:13 -04:00
rusefi de813b5f2c unit tests code coverage #653
one day I will migrate rusEfi to java
2019-08-25 13:42:07 -04:00
rusefi d861b1af90 unit tests code coverage #653
reducing technical debt just a little
2019-08-25 10:19:01 -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 6cf432a057 bugfix: pin names were not shown in engine sniffer 2019-08-18 15:27:10 -04:00
rusEfi 81cd1df0cc refactoring: engine sniffer magic constants 2019-08-18 15:04:02 -04:00
rusEfi e5ef4725b1 MRE NA6 2019-08-18 14:43:38 -04:00
rusefi 5ffa32185f refactoring: extracting common magic constants 2019-08-18 12:14:33 -04:00
rusEfi a8d872800c MRE & Miata 2019-08-17 22:42:22 -04:00
rusefi 15258503aa WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
actually ignoring setting for well known triggers
2019-08-17 22:00:01 -04:00
rusEfi c4d6604551 MRE etb 2019-08-17 17:33:44 -04:00
rusefi 613e9b39e8 poke 2019-08-16 23:37:16 -04:00
rusefi eb35cf3deb TLE8888 should be re-initialized every time we get +12 volts #901
extremely ugly solution but it it works at least with LED blinking test
2019-08-16 23:00:28 -04:00
rusefi fe43256c91 ETB live docs 2019-08-15 21:01:04 -04:00
rusefi 6c45dfbc50 new 4 cylinder firing order! 2019-08-15 19:36:16 -04:00
rusEfi dfc5f86e6e MRE ETB 2019-08-15 01:59:15 -04:00
rusEfi 714af981e4 MRE_MIATA_NB2 2019-08-13 19:15:24 -04:00
rusefi 8bdf4f30ae refactoring: ChibiOS now offers native 'lockAnyContext' pattern 2019-08-11 15:23:15 -04:00
rusefi 4c826b1a24 random typo 2019-08-10 14:40:51 -04:00
rusefi 67fd81b3df poke 2019-08-10 00:54:26 -04:00
rusefi 946374184e WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898 2019-08-08 23:11:56 -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 eef4fbde9b fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 6043c93372 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi 81d41f091d poke 2019-08-08 20:32:00 -04:00
rusefi c518a6c7f6 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:51:15 -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 ca1ca643d0 refactoring: better enum name 2019-08-07 22:20:16 -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 a3dfd5f8c6 NA6 MRE details 2019-08-06 17:59:02 -04:00
rusefi 67637cb1b5 better method name 2019-08-06 17:12:15 -04:00
rusefi 456cc84181 fixing unit tests build 2019-08-05 23:36:18 -04:00
rusEfi 1e64c5a67f MRE test setup 2019-08-05 23:00:35 -04:00
rusefi ef5a1447e9 CI instability: FATAL error: warn stream not initialized for 6039
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusefi ba52eba47a software jump to DFU #809
very very dark magic it is
2019-08-04 00:21:44 -04:00
rusEfi 475377dcfc DFU command & refactoring 2019-08-03 19:58:38 -04:00
rusefi d57779b686 F7 nucleo does not work?
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
Matthew Kennedy 9d3e201193 microRusefi Default Configuration (#895)
* poke

* working MRE

* why was this on?

* comment, cleanup

* default silent trigger error on

* comment

* remove extra

* sensible default
2019-08-01 22:27:23 -04:00
rusefi 2b15ff31b1 dead code 2019-07-29 21:44:33 -04:00
rusefi bf6bbdc190 software jump to DFU #809 2019-07-28 12:33:47 -04:00
rusefi d79f8d2ced Ola 960 made some progress towards software jump to DFU #809 2019-07-27 19:51:54 -04:00
rusEfi efb5e0377a MRE is getting closer! 2019-07-25 21:39:39 -04:00
rusefi ddec08b139 software jump to DFU #809
dreams about DFU
2019-07-25 17:59:31 -04:00
rusefi 24e580f4b9 removing least useful engine configurations 2019-07-25 00:03:57 -04:00
rusefi e01d1f1560 fixing build? 2019-07-24 23:41:26 -04:00
rusefi f2e1858a95 fixing build? 2019-07-24 23:16:17 -04:00
rusefi d253d07732 nevermind 2019-07-24 22:37:27 -04:00
rusefi d4c28ecc69 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:33:30 -04:00
rusefi 00ff37947d setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:00:48 -04:00
rusefi ac18459e3f setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
merging methods since always invoked together
2019-07-24 21:24:39 -04:00
rusefi ffdd37021f setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 21:15: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 9795fe1d0c miata NA6 progress 2019-07-21 20:11:12 -04:00
rusefi 733478bd8a live docs for idle state 2019-07-21 18:34:37 -04:00
rusefi 31d24ef5a5 fixing build? 2019-07-21 18:07:24 -04:00
rusefi 360e33cb0f throttle pedal up switch for Miata NA6 2019-07-21 17:06:16 -04:00
rusefi 48fe6c2d5d nicer status codes for future human-readable status set 2019-07-21 14:06:51 -04:00
rusefi cc6257bf5c trigger counters to formula, docs & improvements 2019-07-20 14:56:56 -04:00
Matthew Kennedy a2f2a677b4 Remove warmup afr pid (#879)
* config changes

* actually remove from config

* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi 5b5b56f01b gcc 2019 q3 fails integration testing #886
kind of guessing potential problem
2019-07-14 15:47:08 -04:00
rusefi f52e66c394 gcc 2019 q3 fails integration testing #886
investigation
2019-07-14 15:22:02 -04:00
rusefi 75d111c21c refactoring: sharing command names between firmware and console 2019-07-14 15:21:38 -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 7cacc37fcc FIRMWARE_ID 2019-07-13 14:08:08 -04:00
rusefi f48a24e71f having fun with async - reducing threads 2019-07-13 11:08:17 -04:00
rusefi e05952fa4f having fun with async - reducing threads 2019-07-13 11:06:03 -04:00
rusefi dcf0b3c867 removing a pointless thread 2019-07-13 10:36:31 -04:00
rusefi b0a531b4ec having fun with async - reducing threads 2019-07-13 10:24:23 -04:00
rusefi a235e7bfc1 docs 2019-07-13 10:16:47 -04:00
rusefi 94f970ff13 one dead line 2019-07-13 09:18:09 -04:00
rusefi fd8f70d8c4 Annotations in C++ code to produce formulas in rusEfi console #807 2019-07-13 09:00:03 -04:00
rusefi 705df36b0e better variable names & fixing build 2019-07-13 08:19:00 -04:00
rusefi fbea3cba7d a bit of dead code 2019-07-13 08:03:13 -04:00
rusefi c8e3378ff7 Annotations in C++ code to produce formulas in rusEfi console #807
typo & refactoring: splitting class
2019-07-12 23:15:52 -04:00
rusefi 7c4ff20a1d Annotations in C++ code to produce formulas in rusEfi console #807
wall wetting
2019-07-12 22:51:59 -04:00
rusefi e202ceaa1e Annotations in C++ code to produce formulas in rusEfi console #807
refactoring wall wetting
2019-07-12 22:36: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
rusefi 6ab2832c24 More than one aux pid #866
progress!
2019-07-12 08:31:38 -04:00
rusefi 0d36c508a1 More than one aux pid #866
progress!
2019-07-12 08:00:07 -04:00
rusefi 4633f032ed refactoring - type/macro name/docs 2019-07-12 07:48:28 -04:00
rusefi 2d9e669ad5 nano progress 2019-07-10 02:27:24 -04:00
rusefi 6c7870d1b5 we have some space! 2019-07-10 02:21:47 -04:00
Matthew Kennedy e4a0a0ae91 Fix some maf logic (#880)
* fix maf

* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
rusefi 1570f01f3a More than one aux pid #866
progress!
2019-07-09 16:24:14 -04:00
rusefi f8bc3baa91 refactoring: wider usage of new periodic task 2019-07-09 16:08:49 -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 c15df2f16c Periodic timer controller (#875)
* More than one aux pid #866

* More than one aux pid #866

* More than one aux pid #866

* More than one aux pid #866

* More than one aux pid #866
2019-07-09 08:33:40 -04:00
andreika-git 56fb8531a4 More portability (GPIO_F/G + auto_generated_enums) (#876)
* GPIO ports F and G are not everywhere

* auto_generated_enums path flexibility
2019-07-09 05:29:03 -04:00
rusefi f906098718 refactoring 2019-07-08 18:02:21 -04:00
rusefi 9d004635e4 More than one aux pid #866
renaming this class since we will probably have two different implementations for two different cases
2019-07-08 03:35:41 -04:00
rusefi e2a5e11616 More than one aux pid #866
refactoring
2019-07-07 19:59:48 -04:00
rusefi 10c06ab73c EFI_TOOTH_LOGGER 2019-07-07 15:22:46 -04:00
rusefi 6208f7579d reviving F4 compilation 2019-07-06 21:02:48 -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 2c515f13a9 user is unable to start with zero fuel - at least showing a warning
https://rusefi.com/forum/viewtopic.php?p=33761#p33760
2019-07-06 20:45:47 -04:00
rusefi 52a0ce8c72 refactoring: consistency & removing unused parameter 2019-07-06 20:24:47 -04:00
rusefi 5bdb7f7155 minor refactoring 2019-07-06 20:16:14 -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 bad507558a Refactoring: OS access should be explicit #867 2019-07-04 03:25:35 -04:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi c21e4c2efa Refactoring: OS access should be explicit #867 2019-07-03 21:01:48 -04:00
Matthew Kennedy 97fd982374 fix (#865) 2019-07-03 03:18:04 -04:00
rusefi b193970adf NB2 magic clarification 2019-07-01 12:48:08 -04:00
rusefi 2164661274 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit 96270758c9.
2019-06-30 14:28:47 -04:00
rusefi 2120e4827a Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-30 13:24:55 -04:00
rusefi b856256549 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-30 09:38:51 -04:00
rusEfi ed32a9c7b2 reducing code duplication & reboot to rusEfi console 2019-06-28 23:33:48 -04:00
rusEfi e8888e4821 better state validation 2019-06-27 22:23:18 -04:00
rusefi d0e4a0984f Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-27 06:47:13 -04:00
Matthew Kennedy 5054da67b7 Add ETB status gauges, fix gauge menus (#863)
* testing

* fix offsets

* consolidate ts config

* cleanup

* typo

* unwind some

* fix etb idle range setting

* unwind
2019-06-26 19:24:32 -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
rusefi fb44386cf3 fixing build 2019-06-23 09:46:14 -04:00
rusefi c6bcb85a45 fresh ini 2019-06-23 09:25:04 -04:00
Matthew Kennedy 1505e722eb Add "Reset ECU" button (#857)
* add reset button

* fix signed/unsigned bug

* goodbye degree symbols
2019-06-23 09:18:54 -04:00
rusefi d8a64f1cce fixing build 2019-06-19 23:32:09 -04:00
rusefi f2a034b5aa Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-19 22:34:11 -04:00
rusefi 35d3cc0ac4 docs/type safety 2019-06-19 21:24:09 -04:00
rusefi ed4b2cc17e Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-19 00:05:23 -04:00
rusefi dd43f62706 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-18 23:23:30 -04:00
rusefi 96270758c9 "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi 0b843819eb TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi 54d922db6a nothing happens here 2019-06-17 20:45:46 -04:00
rusefi e6b0e0625a Utility class which writes same line both to stdout and file 2019-06-17 20:21:32 -04:00
rusefi d90c6ee1a3 Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi 5a0d2413f5 removing dead text protocol support 2019-06-16 17:13:11 -04:00
rusefi a86a2b0b53 ETB: TPS should be f(RPM, pedal) - target table fix #835
oooooops
2019-06-16 09:08:01 -04:00
rusefi b8b62d3cf1 The Big Refactoring of 2019: folder structure #723 2019-06-15 22:11:43 -04:00
rusefi f859079022 ETB: TPS should be f(RPM, pedal) - target table fix #835 2019-06-15 14:33:41 -04:00
rusefi 69a3b45b3d ETB: TPS should be f(RPM, pedal) - target table #835 2019-06-15 14:11:38 -04:00
rusefi 8ea5d687aa idle using ETB #783 2019-06-15 13:33:14 -04:00
rusefi bd80315737 bumping configuration version in light of #773 2019-06-14 13:04:04 -04:00
rusefi e0e00d5634 typo 2019-06-14 00:57:24 -04:00
rusefi f3855a931b fresh stuff 2019-06-13 14:56:13 -04:00
Matthew Kennedy 89f59db75f Fix tunerstudio ratio vs. percent (#838)
* fix ratio vs pct

* fix idle cranking clt position

* fix defaults

* fix typo

* fix baro corr gauge

* baro default

* fix degree symbols

* fix testFuelMap

* fix testPlainCrankingWithoutAdvancedFeatures

* test testFasterEngineSpinningUp
2019-06-13 09:05:22 -04:00
rusefi 7faf861960 typo 2019-06-11 22:01:07 -04:00
rusefi e4231b0819 refactoring: extracting constant 2019-06-11 21:44:16 -04:00
rusefi cda681e280 bias resistor clarification 2019-06-11 20:32:27 -04:00
rusefi 48796a6763 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 23:57:35 -04:00
rusefi 2639214285 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 23:38:44 -04:00
rusefi 58be63f5a9 https://github.com/rusefi/hw_microRusEfi/issues/57 2019-06-10 17:33:05 -04:00
rusefi acbdac20ff input has sizes hard-coded #836 2019-06-10 15:47:29 -04:00
rusefi 81a68f59b7 input has sizes hard-coded #836 2019-06-10 15:45:18 -04:00
rusefi 9110d0f167 input has sizes hard-coded #836 2019-06-10 15:11:53 -04:00
rusefi fb7f72eab8 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 13:07:42 -04:00