Commit Graph

658 Commits

Author SHA1 Message Date
rusEfi bd93d9e204 date 2020-03-07 15:55:08 -05:00
rusefi f93ac0751d better invalid configuration handling 2020-03-05 21:16:45 -05:00
Matthew Kennedy 397907a06f
Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
rusEfi c35f4aa2e3 more mc33816 2020-02-25 22:38:08 -05:00
rusefi 40145ab09c minor progress 2020-02-22 13:04:19 -05:00
rusEfi 84995652df reviving FRANKENSO_QA_ENGINE 2020-02-18 17:53:56 -05:00
rusefi e9a3b218c4 miata vvt trigger decoding is broken #1145 2020-02-14 13:02:27 -05:00
rusEfi 8c1536dd0e FATAL error running MRE blinking test #1137
still not the fix?
2020-02-11 17:49:39 -05:00
rusEfi 51cfc6bcf1 tle8888 start-up clean-up 2020-02-09 20:41:25 -05:00
Matthew Kennedy 98e6e4b0eb Fix master (#1134)
* Revert "something went very wrong."

This reverts commit 53179dfd22.

* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131)""

This reverts commit 0bf32a7291.

* Revert "partial Revert of "Stricter compile options (#1132)""

This reverts commit a17cc28382.

* temp prometheus fix

* fix bootloader

* fix batch files
2020-02-08 16:34:29 -05:00
rusefi 53179dfd22 something went very wrong.
first we have functional defects
that we do not write test to cover newly intdroduced defects
then attempts to fix defects do not compile
2020-02-08 08:15:46 -05:00
960 4b4e683957
Boost pr (#1114)
* boost control

* cleanup

* Delete rusefi_config.txt

* Add files via upload

* Delete rusefi_config.txt

* Add files via upload

* Update rusefi.input

* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
rusefi b6e0bc7ed1 date & VVT test progress 2020-01-31 01:23:01 -05:00
rusefi 154b679491 refactoring: de-coupling trigger decoder and engine 2020-01-26 03:48:25 -05:00
rusefi af8383ae3a trigger refactoring 2020-01-25 11:22:25 -05:00
rusefi 06cdb7cde6 refactoring 2020-01-22 01:22:44 -05:00
rusefi 2e0a30859c date 2020-01-19 03:49:06 -05:00
rusefi 2785b39c0e date 2020-01-13 02:03:42 -05:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
rusefi cc466ad3ef de-coupling things a bit 2019-12-24 00:26:23 -05:00
rusefi cb9fc19f92 that's not a worth a file 2019-12-24 00:03:53 -05:00
rusefi c38b4545eb refactoring 2019-12-23 23:32:43 -05:00
rusefi 3494f6ff9f adding simplicity 2019-12-23 23:25:08 -05:00
rusefi 8ffbe768cd simplicity? 2019-12-23 22:50:04 -05:00
rusefi a81655216b adding simplicity 2019-12-23 22:40:23 -05:00
rusefi 1576a9f731 adding simplicity 2019-12-23 22:30:58 -05:00
rusefi 253f68cb61 date & fresh integration 2019-12-22 08:24:47 -05:00
Matthew Kennedy 9645130527 Shrink output channels, now with passing CI (#1077)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch

* rev signature

* correct map offset

* handle unsigned properly

* RPM is unsigned

* vss isn't scaled

* extract magic

* required generated for build

* de-scale rpm

* field type cases
2019-12-22 08:12:45 -05:00
rusefi 86a3feb13f Revert "fresh integration & changing protocol versions & versions"
This reverts commit f6c3f120
2019-12-21 15:02:37 -05:00
rusefi f6c3f12091 fresh integration & changing protocol versions & versions 2019-12-21 12:35:47 -05:00
Matthew Kennedy ae55eaad67 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -05:00
rusefi 26574555a2 great news about #1055 2019-12-13 23:07:56 -05:00
rusefi 8ae774864c great news about #1055 2019-12-13 21:50:14 -05:00
rusefi e9e7a66cf8 etbActualCount logic to handle the scenario where only one ETB is present 2019-12-13 12:50:34 -05:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi 97b1c1ff33 straightening enum reuse 2019-12-10 21:18:35 -05:00
rusEfi 1cc71ef8ec dual-ETB progress 2019-12-10 00:07:46 -05:00
rusefi 23c0d8646f Making UART/TTL pins configurable 2019-12-07 21:22:09 -05:00
rusefi 813b6aa6ce The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 6555e4b305 "sensor chart" for aux fast analog input 2019-12-02 20:31:49 -05:00
rusefi 3ed889486e making things nicer with dual ETB settings 2019-11-30 17:38:33 -05:00
rusEfi e2074388ff dual ETB seems to work! 2019-11-29 19:06:50 -05:00
rusefi 07f71c8dfa steps towards dual ETB 2019-11-28 15:24:30 -05:00
rusefi 067aa0aeee steps towards dual ETB 2019-11-27 22:07:36 -05:00
rusefi 366805a1ab MapAveragingCallback schedules all cylinders at once #974 2019-11-24 23:20:24 -05:00
rusefi 8edf6c8d38 bug: aux valve actions can overlap 2019-11-23 10:34:43 -05:00
rusefi c606bb27ac aux overlap debugging 2019-11-22 18:50:46 -05:00
rusEfi f9ccaf5f01 steps towards dual ETB 2019-11-21 00:49:38 -05:00
rusefi d3da33517f making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
Matthew Kennedy 93d24dfc0b Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi fc41aaf655 v12 2019-11-17 22:32:27 -05:00
rusefi 6456374eb8 v12 2019-11-16 16:00:50 -05:00
rusefi b8007d8cd5 poke 2019-11-14 10:23:11 -05:00
rusefi 3dbecfc2f0 todo 2019-11-13 22:02:13 -05:00
rusefi 4b1c1e72ab time to panic and revert more 2019-11-12 21:42:44 -05:00
rusefi e6abba09a9 refactoring: time to unify digital pin API
trying to fix build
2019-11-12 19:04:33 -05:00
rusefi 410391598e 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
andreika-git b996190707 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 79e049a5f8 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 487acd62de Missing dwell altogether in some corner cases #796
only additional live data here
2019-11-05 23:36:33 -05:00
rusefi d4574a3cab evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 22:40:33 -05:00
rusefi e7a2a77dd5 happy November 2019-11-03 23:38:00 -05: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 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 627f73502b steps towards #975 2019-10-18 19:45: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
Matthew Kennedy d6e065f99e Merge remote-tracking branch 'upstream/master' into perf-tracing 2019-10-14 23:45:39 -07: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 7bb8bb7f14 preparing for #974
code comments & refactoring
2019-10-14 09:09:08 -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
rusEfi dfef5748b9 pin conflict in MRE test config 2019-10-10 13:32:07 -04:00
rusefi 4574aaccce I got carried away, but DEAD CODE?! 2019-10-08 03:14:21 -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 d381bce748 date 2019-10-06 00:39:50 -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 8e3912e6b1 firing order 1-2-7-8-4-5-6-3 2019-09-28 10:25:57 -04:00
rusEfi 44b2c2f89e new command 'etb_freq X' 2019-09-27 23:37:40 -04:00
rusefi 4f33dff0a1 ETB target is using integer values fix #945 2019-09-22 18:15:00 -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 f600bbc6d7 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -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 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 3ac801f9c5 configurable SD card logging speed 2019-09-20 20:18:22 -04:00
rusefi ecae02ff27 thank you @andreika! 2019-09-20 08:44:20 -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 08c751bd9c NA8 2019-09-15 10:04:24 -04:00
rusefi cffe318d1b pedal ADC should be faster #931 2019-09-13 19:55:20 -04:00
rusefi a6fbc5036a Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi d90f0481b0 one step back :) instant RPM does not look right 2019-09-10 21:35:10 -04:00
rusefi 917676b2da simulator crashes on any TS setting change fix #924 2019-09-09 20:49:16 -04:00
rusefi e4566ba6aa TLE8888: NB2 solution + reset counter 2019-09-05 10:01:59 -04:00
rusefi f32b29f318 Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
rusefi be1b32abf0 make iTerm limits visible for idle RPM pid #913 2019-09-02 00:19:06 -04:00
rusEfi daec071b6b mock PPS voltage command in addition to mock PPS position
ETB pane progress
2019-09-01 17:35:43 -04:00
rusefi ebcb0cdf4c Live Data: more Idle & ETB data points! 2019-09-01 15:46:40 -04:00
rusEfi 47bbd6ebe4 ETB progress 2019-08-31 20:17:17 -04:00
rusefi ad2714c2b8 PID errorAmplificationCoef to LiveData 2019-08-30 17:11:12 -04:00
rusefi 375d64417d progress towards idle unit test 2019-08-29 00:10:47 -04:00
rusefi b090be14b0 cranking fuel live data fix #911 2019-08-28 00:29:55 -04:00
rusefi 2804b31e7e cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusEfi 1c0d38abef new feature: check engine light to blink on trigger synchronization 2019-08-18 15:53:38 -04:00
rusEfi 59daae8f5c MRE & Miata 2019-08-17 22:42:22 -04:00
rusefi 0821e46606 poke 2019-08-16 23:37:16 -04:00
rusefi efeb6eeadc ETB live docs 2019-08-15 21:01:04 -04:00
rusefi 9d32f2c40a refactoring: ChibiOS now offers native 'lockAnyContext' pattern 2019-08-11 15:23:15 -04:00
rusefi 7768134a46 poke 2019-08-10 00:54:26 -04:00
rusefi f0c318aafd WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898 2019-08-08 23:11:56 -04:00
rusEfi d5451a7b4f NA6 & trigger 2019-08-06 22:17:18 -04:00
rusEfi 070ebd65c6 MRE test setup 2019-08-05 23:00:35 -04:00
rusefi 21c61bfaec software jump to DFU #809
very very dark magic it is
2019-08-04 00:21:44 -04:00
rusEfi d6daeaa77f DFU command & refactoring 2019-08-03 19:58:38 -04:00
rusefi 91f9a50b3f F7 nucleo does not work?
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
rusefi 2c99bf035d software jump to DFU #809 2019-07-28 12:33:47 -04:00
rusefi 0306255013 CBR600 trigger progress 2019-07-23 19:22:40 -04:00
rusefi 39630855fb live docs for idle state 2019-07-21 18:34:37 -04:00
rusefi e5b953db84 trigger counters to formula, docs & improvements 2019-07-20 14:56:56 -04:00
Matthew Kennedy 21d1b25c5e Remove warmup afr pid (#879)
* config changes

* actually remove from config

* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi 8a393dc819 having fun with async - reducing threads 2019-07-13 11:08:17 -04:00
rusefi 8b0929a9ac having fun with async - reducing threads 2019-07-13 11:06:03 -04:00
rusefi 636970c0e5 removing a pointless thread 2019-07-13 10:36:31 -04:00
rusefi 2b73149899 having fun with async - reducing threads 2019-07-13 10:24:23 -04:00
rusefi 6bdb8c50bf Annotations in C++ code to produce formulas in rusEfi console #807
typo & refactoring: splitting class
2019-07-12 23:15:52 -04:00
rusefi e5adb164e2 Annotations in C++ code to produce formulas in rusEfi console #807
refactoring wall wetting
2019-07-12 22:36:54 -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 452033389d we have some space! 2019-07-10 02:21:47 -04:00
rusefi 4ef2a72930 refactoring: wider usage of new periodic task 2019-07-09 16:08:49 -04:00
rusefi 2f68badc47
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
rusefi 788e69aadc More than one aux pid #866
refactoring
2019-07-07 19:59:48 -04:00
rusefi 1e84a50146 reviving F4 compilation 2019-07-06 21:02:48 -04:00
rusefi 1fce0201a5 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 f094572890 refactoring: consistency & removing unused parameter 2019-07-06 20:24:47 -04:00
rusefi cec5efd46a minor refactoring 2019-07-06 20:16:14 -04:00
rusefi cdac02429c refactoring: better file name 2019-07-06 20:15:49 -04:00
rusefi b81c60cf3e Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi b2dece5269 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit f07f96599b.
2019-06-30 14:28:47 -04:00
rusefi 23fe25268a 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 b271e7b900 fresh ini 2019-06-23 09:25:04 -04:00
rusefi f07f96599b "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi 717af8a681 TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi 0bf1653575 removing dead text protocol support 2019-06-16 17:13:11 -04:00
rusefi e1c0557f4d idle using ETB #783 2019-06-15 13:33:14 -04:00
rusefi e07b119a7f bumping configuration version in light of #773 2019-06-14 13:04:04 -04:00
rusefi 735aee7280 we need TLE8888 driver #714 2019-06-08 15:25:28 -04:00
rusefi 0fb89c4f7b better status code 2019-06-07 19:14:55 -04:00
rusefi 7dff7a08c9 reviving tle8888 configuration 2019-06-05 22:32:30 -04:00
rusefi 1c36b89141 nicer pin names for messages while same short names for engine sniffer 2019-05-15 04:26:41 -04:00
rusefi b11924952a more PROD code into unit test 2019-05-12 20:31:28 -04:00
rusefi faba7ef136 reducing code duplication with unit tests 2019-05-12 20:24:35 -04:00
rusefi 812c61903a BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi 8c00f9ebe8 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -04:00
rusefi 22ec5da4bc Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778 2019-05-07 21:39:11 -04:00
rusefi d7fd0ce6c1 refactoring: better method name 2019-05-07 19:32:08 -04:00
rusefi d647772b98 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
metric progress
2019-05-07 19:16:01 -04:00
rusefi d09bcad3e7 dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 153380c9f3 MC33816 integraion #784
progress
2019-05-03 21:54:38 -04:00
rusefi f534fd0e67 console usability: engine sniffer jitter fix #780 2019-05-02 18:42:59 -04:00
rusefi edb4e37505 docs 2019-05-02 17:52:48 -04:00
rusefi 64a7cad1a3 FSIO to allow smart output pins 2019-05-01 22:26:07 -04:00
rusEfi a555aaba4e ETB tiny progress 2019-04-30 19:22:12 -04:00
rusefi 254af7695e PID - fix dTime usages fix #776 2019-04-26 00:45:53 -04:00
rusefi f04732830f PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi d3576e3e44 progress 2019-04-23 23:19:12 -04:00
rusefi 97c4b84545 USB and TLE8888 not working for F4 or F767 #764
this RAM would be needed to run three smart SPI threads
2019-04-20 17:35:24 -04:00
rusefi 5ad1044d19 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:09:43 -04:00
rusefi f8afa29a0f we need TLE8888 driver #714 2019-04-14 08:20:25 -04:00
rusefi fb0bbc075c steps towards smarter gpio 2019-04-13 12:02:34 -04:00
rusefi 541c445a2d defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi 379c912b0c ETB using tle7209 #746 2019-04-11 23:21:16 -04:00
rusefi 7a765f29b9 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:00:17 -04:00
rusefi 57ac71a814 FATAL error loading TS project
fix #736
2019-04-09 22:15:55 -04:00
dron0gus 572d04a799 Some more include fixes for linux (#738)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi f3d748917f rusEfi settings editor is broken for one byte enums fix #709 2019-04-08 11:57:16 -04:00
rusefi 64c70c3e2d rusEfi settings editor is broken for one byte enums #709 2019-04-08 11:19:07 -04:00
rusefi f56b9adcd8 release notes 2019-04-07 12:27:59 -04:00
rusefi e0c9493dd9 The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi 1db1b7a277 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725 2019-04-01 11:16:19 -04:00
rusefi be9651cb95 The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi 372eb51f37 The Big Refactoring of 2019: folder structure #723 2019-03-31 17:14:53 -04:00
rusefi ebe58122c6 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
rusefi bd2b992918 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi fc590524c2 we need TLE8888 driver #714 2019-03-25 20:30:36 -04:00
rusefi d9bed5809e overall usability progress 2019-03-12 14:35:49 -04:00
rusEfi 9a11d26cc3 better Electronic Throttle body control #493 2019-03-09 23:31:47 -05:00
rusefi 635bbcc960 ETB_BENCH_ENGINE 2019-02-27 08:55:56 -05:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi 565ac60218 fix #688 2019-02-23 08:52:12 -05:00
rusefi 9547c44ff1
688 brainpins (#694)
* GPIOF, GPIOG and GPIOH ports are not available #688
2019-02-22 22:10:41 -05:00
rusefi 9325cd6d23 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi edb79a0dc7 flexibility 2019-02-06 23:30:53 -05:00
rusefi d18972c6d8 Migrate to Chibios 18 stable fix #631 2019-02-04 20:41:56 -05:00
rusefi 509aa74fd3 today is.. 2019-02-03 23:11:48 -05:00
rusefi 905db38c17 #657 2019-02-01 21:24:07 -05:00
rusefi fa28197ff6 mini board still works! 2019-01-31 22:51:10 -05:00