Commit Graph

5915 Commits

Author SHA1 Message Date
rusefi 4411efbb72 firing order tool integration 2019-11-24 23:49:05 -05:00
rusefi 366805a1ab MapAveragingCallback schedules all cylinders at once #974 2019-11-24 23:20:24 -05:00
rusefi e7559db170 Sporadic error: FATAL error: handleCycleStart #1030
more details
2019-11-24 21:59:29 -05:00
rusefi cfcfc851f5 Sporadic error: FATAL error: handleCycleStart #1030
more details
2019-11-24 21:45:32 -05:00
rusefi 04f6913d56 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 730df561df pausing aux work for now 2019-11-24 12:45:38 -05:00
rusefi 6f50cae286 improving API? 2019-11-24 00:15:44 -05:00
rusefi 1cb2f92142 more correct variable names 2019-11-23 23:49:39 -05:00
rusefi 8b34fbee38 docs 2019-11-23 23:42:00 -05:00
rusefi 7ee657d238 aux valves unit test 2019-11-23 22:55:21 -05:00
Matthew Kennedy 2460a309ae Make sure #798 is good and dead (#1028)
* Revert "CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798"

This reverts commit ee674dc979.

* Revert "CI instability: FATAL error: warn stream not initialized for 6039 #798"

This reverts commit 3bf29b6963.

* fix correctly

* use correct function
2019-11-23 21:25:29 -05:00
rusefi af60a46229 making progres on angle-based scheduling 2019-11-23 20:36:40 -05:00
rusefi 1bb3f2698c making progres on angle-based scheduling 2019-11-23 19:47:53 -05:00
rusefi 7b7b46a2a2 refactoring 2019-11-23 18:38:16 -05:00
rusefi 4305b4ce2f not needed since included in common_headers.h 2019-11-23 18:16:41 -05:00
rusefi f0c4817e1b 'triggerEventAngle' not really needed 2019-11-23 17:44:44 -05:00
rusefi 3bf29b6963 CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-11-23 17:07:13 -05:00
rusefi aa4967383a explicit list field to simplify code navigation 2019-11-23 17:04:51 -05:00
rusefi ee674dc979 CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798 2019-11-23 16:41:59 -05:00
rusefi 56ff75004b consistency 2019-11-23 15:53:22 -05:00
rusefi e706c999f1 docs 2019-11-23 14:14:17 -05:00
rusefi 91a5bd5ce3 refactoring: extracting constant 2019-11-23 12:52:57 -05:00
rusefi 8edf6c8d38 bug: aux valve actions can overlap 2019-11-23 10:34:43 -05:00
Matthew Kennedy 9ee8616cb0 Use templated array references (#1027)
* update defs

* consumers, use default params

* setArrayValues in tests

* floats

* test fixing
2019-11-22 23:27:24 -05:00
rusEfi 547d9749df v12 and minor ETB 2019-11-22 23:27:03 -05:00
Matthew Kennedy 579219e8cc inject interfaces to ETB, renaming (#1026)
* inject interfaces, renaming

* format

* null check

* that was a dumb typo

* fix indent
2019-11-22 20:53:54 -05:00
rusefi c606bb27ac aux overlap debugging 2019-11-22 18:50:46 -05:00
Matthew Kennedy bb22296f61 DC motor improvements (#1025)
* extract interface, comments, conform names

* fwd declare
2019-11-22 16:30:44 -05:00
Matthew Kennedy 3514eb313e const + fwd declare pid things (#1024) 2019-11-22 15:55:38 -05:00
Matthew Kennedy 1ad5b55dbb s (#1023) 2019-11-21 23:45:16 -05:00
rusefi 9597215ad9 recoviring CI 2019-11-21 17:12:46 -05:00
Matthew Kennedy 928805dcc1 works on f4 (#1021) 2019-11-21 15:45:17 -05:00
rusefi 4b4678074b Perf trace maybe fix - "We were trying to trace before the os was awake" 2019-11-21 15:31:55 -05:00
rusefi 4faca85fdd following the pattern 2019-11-21 13:35:57 -05:00
rusEfi f9ccaf5f01 steps towards dual ETB 2019-11-21 00:49:38 -05:00
rusEfi c6be861de2 v12 2019-11-21 00:19:35 -05:00
rusefi a5db4819ae making more code testable 2019-11-20 08:46:54 -05:00
rusefi a7b7fd1005 making more code testable 2019-11-20 02:18:17 -05:00
rusefi b8ce0daf85 more code into unit tests 2019-11-20 01:42:03 -05:00
rusefi ad7e36c228 refactoring 2019-11-20 01:35:08 -05:00
rusEfi 46240980f4 this is probably needed for F7 2019-11-20 01:15:43 -05:00
rusEfi 23620d1eb2 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-20 01:15:21 -05:00
rusefi efeae62769 Really need to Fix and expand commit gate check 2019-11-19 23:28:34 -05:00
rusefi 9249a1fd95 would this fix CI? 2019-11-19 22:54:36 -05:00
rusEfi b32bcc4a87 v12 progress 2019-11-19 21:56:25 -05:00
rusefi 9632555d47 NOT A GREAT FIX - TODO @andreika any chance you can help here? 2019-11-19 20:56:35 -05:00
rusefi 78e32c0c0a clean-up 2019-11-19 20:56:11 -05:00
rusefi 71fd295d9c making GCC 9 happier 2019-11-19 20:43:12 -05:00
rusefi d3da33517f making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
rusefi 3af49796a5 Merge remote-tracking branch 'remotes/mck1117/perf-tracing'
# Conflicts:
#	firmware/development/development.mk
2019-11-19 20:26:56 -05:00
rusEfi 1991437f77 development into unit tests, makefile cleanup 2019-11-19 20:05:12 -05:00
Matthew Kennedy 93d24dfc0b Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 7dfdfc6378 docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi 1d328c17e8 simulation docs 2019-11-19 09:23:25 -05:00
rusEfi f249a12163 v12 2019-11-19 00:04:44 -05:00
rusefi 67b434e43a v12 2019-11-18 23:45:35 -05:00
rusEfi 36dba6274a ETB docs 2019-11-18 22:25:07 -05:00
rusEfi a55e0e1460 launch control #203 2019-11-18 19:22:29 -05:00
rusefi dc91d70a71 poke 2019-11-18 15:37:58 -05:00
rusefi fc41aaf655 v12 2019-11-17 22:32:27 -05:00
rusefi ebe6a4b981 v12 done right 2019-11-17 09:32:12 -05:00
rusefi 1f1f7e86ae typo 2019-11-17 09:18:43 -05:00
rusefi fb7cba96b6 code formatting 2019-11-17 09:03:20 -05:00
rusefi 6b3b090eea refactoring: reducing complexity? 2019-11-17 09:02:49 -05:00
rusefi 08e3dd835d reducing warnings 2019-11-17 08:44:07 -05:00
andreika-git 9f33df9574 cisnan() warnings fix (#1008)
* Fix cisnan() macro warnings (strict-aliasing)

* Hey, we found a bug thanks to our fix! Let's fix it too!
2019-11-17 08:08:56 -05:00
rusefi 6456374eb8 v12 2019-11-16 16:00:50 -05:00
rusefi 41d638e4ef catch-up for kinetis 2019-11-16 15:05:33 -05:00
rusefi 1a9b68bca6 kinetis into gen_config.bat 2019-11-16 14:44:47 -05:00
rusefi efe4d63084 v12 2019-11-15 23:49:28 -05:00
rusEfi c3b793fc55 prometheus cleanup 2019-11-15 00:01:03 -05:00
rusEfi 81167d9945 #pragma once 2019-11-15 00:00:13 -05:00
rusEfi ae877d3040 M73 2019-11-14 23:59:35 -05:00
rusEfi 3530c68a18 M73 2019-11-14 23:58:04 -05:00
rusEfi 54ba4e5407 #pragma once 2019-11-14 22:50:59 -05:00
rusefi b8007d8cd5 poke 2019-11-14 10:23:11 -05:00
rusefi b533ff68e8 Revert "OK trying partial revert now"
This reverts commit 4a8b8336
2019-11-13 22:56:43 -05:00
rusefi 071b1acb8e refactoring: time to unify digital pin API 2019-11-13 22:50:37 -05:00
rusefi 11838a7558 docs 2019-11-13 22:47:49 -05:00
rusefi 3dbecfc2f0 todo 2019-11-13 22:02:13 -05:00
rusefi 9fd45aea19 micro-optimization: replacing by-referece access with direct static access for real firmware 2019-11-13 21:43:24 -05:00
rusefi d318b46d33 unused code 2019-11-13 20:15:02 -05:00
Matthew Kennedy 7e1cf570b2 fix (#1006) 2019-11-13 18:35:21 -05:00
Matthew Kennedy 8969efaffe fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi e33798c214 looks like this part of refactoring is good? 2019-11-12 23:38:02 -05:00
rusefi c9b994ba0d Revert "restoring #1003"
This reverts commit 08940cc6
2019-11-12 23:18:48 -05:00
rusefi c23cb5693a re-applying change 2019-11-12 22:56:56 -05:00
rusefi 08940cc6c0 restoring #1003 2019-11-12 22:17:29 -05:00
rusefi 4b1c1e72ab time to panic and revert more 2019-11-12 21:42:44 -05:00
rusefi 4a8b8336c4 OK trying partial revert now 2019-11-12 21:05:51 -05:00
rusefi e29f993487 I have no idea what's broken 2019-11-12 20:35:07 -05:00
rusefi 8ac4bc40da ops that's not what I mean 2019-11-12 19:58:14 -05:00
rusefi 0af0190468 what's the probability of efi::size breaking build? 2019-11-12 19:40:33 -05:00
rusefi e6abba09a9 refactoring: time to unify digital pin API
trying to fix build
2019-11-12 19:04:33 -05:00
Matthew Kennedy 0570ef4c42 Fix (#1004)
* Revert "fixing build"

This reverts commit 22da8a7dfe.

* undo overzealous ifdef cplusplus
2019-11-12 01:13:13 -05:00
rusefi b6b8c001cd refactoring: time to unify digital pin API 2019-11-12 01:08:45 -05:00
rusefi 6bcf7a438d refactoring: time to unify digital pin API 2019-11-12 01:08:31 -05:00
rusefi 0ae6084301 refactoring: time to unify digital pin API 2019-11-12 00:56:51 -05:00
rusefi 22da8a7dfe fixing build 2019-11-12 00:50:30 -05:00
Matthew Kennedy 9ce18d11fe use static asserts (#1003) 2019-11-12 00:39:38 -05:00
rusefi 6fee1a5f9d refactoring: time to unify digital pin API 2019-11-12 00:25:10 -05:00
rusefi 3c57c3d216 refactoring: time to unify digital pin API 2019-11-11 23:32:09 -05:00
rusefi f082ac48b1 refactoring: time to unify digital pin API 2019-11-11 23:04:27 -05:00
rusefi 15a571fb3e this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi b9f0f2c592 need better higher-level API :( 2019-11-11 22:14:45 -05:00
rusefi bb7cc14d27 fixing unit tests build 2019-11-11 21:45:15 -05:00
rusefi a4a618b6bd different take on #971 2019-11-11 21:26:09 -05:00
rusefi f3b8fba38a different take on #971 2019-11-11 21:25:40 -05:00
DonaldBecker 1a78b994b2 Compile warning clean-ups.
Removed mistakenly-added README~

(cherry picked from commit 84b30c992ac77a1563f7449e45b9fa353612fba9)
2019-11-11 20:35:20 -05:00
rusefi 30f07fa14c evil manual cherry 2019-11-11 20:34:09 -05:00
DonaldBecker 7c3594c95a More compile and warning clean ups.
(cherry picked from commit d1cf758bfeee11180e7000c24415acf8d7bcd430)
2019-11-11 20:32:31 -05:00
DonaldBecker 6fa5a1a3f4 A Unix shell script matching the functionality flash_dfu.bat
(cherry picked from commit fd192ab28fde1dac204b19a6fd446728a3b35647)
2019-11-11 20:25:55 -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
rusefi 669c75d44f 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 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 924c4f4fd3 v12 2019-11-09 18:40:06 -05:00
rusefi 99947b3983 v12 2019-11-08 20:53:51 -05:00
rusefi 43aece817b pinout 2019-11-07 20:47:12 -05:00
rusefi 1ed2711c02 consistency 2019-11-07 15:22:17 -05:00
rusefi 8c06048c36 poke 2019-11-07 12:41:01 -05:00
rusefi 42cd78fbd5 Trying latest gcc 9 #1001 2019-11-07 11:28:49 -05:00
rusefi 252b63646a Trying latest gcc 9 #1001 2019-11-07 11:13:32 -05:00
rusefi d2e24cf2e5 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:33:40 -05:00
rusefi e474ab461a MRE F4 2019-11-06 20:05:44 -05:00
rusefi 962a879a7d evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:01:53 -05:00
rusefi ae0456e5fb fine, taking care of more warnings 2019-11-06 19:53:09 -05:00
rusefi 6f9ed5205d we have MRE F4 now 2019-11-06 18:58:11 -05:00
rusefi 8525c48036 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 18:26:50 -05:00
andreika-git 4e19c96cb6 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 df291f4421 Missing dwell altogether in some corner cases fix #796 2019-11-06 00:31:24 -05:00
rusefi 5106ada9ce 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 487acd62de Missing dwell altogether in some corner cases #796
only additional live data here
2019-11-05 23:36:33 -05:00
rusefi 8f5895321c refactoring 2019-11-05 23:17:44 -05:00
rusefi eb4ceda52b refactoring: removing unused parameter 2019-11-05 22:49:11 -05:00
rusefi d4574a3cab evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 22:40:33 -05:00
rusefi 7015a5c250 generating fresh 2019-11-05 21:05:19 -05:00
rusefi ed3a707e3a improving user documentation 2019-11-05 21:03:39 -05:00
rusefi cc6381fe96 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 20:07:55 -05:00
rusefi 801b2eb70e progress towards #961 2019-11-04 22:52:37 -05:00
rusefi bab1744d1d progress towards #961 2019-11-04 22:44:52 -05:00
rusefi 79fd7fc8ce kind of todo 2019-11-04 22:29:22 -05:00
Matthew Kennedy 449df85f8f move to slow adc (#997) 2019-11-04 17:03:21 -05:00
rusefi 2e3e53c613 custom codes cleanup 2019-11-04 09:20:00 -05:00
rusefi 6913f911e4 poke 2019-11-03 23:55:23 -05:00
rusefi e7a2a77dd5 happy November 2019-11-03 23:38:00 -05:00
rusefi 058e264e0c CI instability: FATAL error: warn stream not initialized fix #798 2019-11-03 22:15:49 -05:00
rusefi 9cbdbb794e pieces of #971 2019-11-03 22:02:52 -05:00
rusefi d1afb9b183 moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 21:29:12 -05:00
rusefi f1055f80ae v12 2019-11-03 21:27:37 -05:00