Commit Graph

5856 Commits

Author SHA1 Message Date
rusefi 9145538679 more of the same 2019-12-04 08:12:52 -05:00
rusefi e2d2bd9996 reducing code duplication & including kinetis 2019-12-04 07:50:46 -05:00
rusefi 6fb7a30ab4 following the pattern 2019-12-04 07:33:56 -05:00
rusefi e60515789a The Big Refactoring of 2019: folder structure #723 2019-12-04 01:15:52 -05:00
rusefi 561986d3e4 The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 8ace300b39 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:57:54 -05:00
rusefi ae1d8323bd Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-04 00:37:53 -05:00
andreika-git ae9c619c50 iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis (#1043)
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC

* Impl. IacPidMultTable

* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi f3a058ab26 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:35:05 -05:00
rusefi a09ee15b08 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:22:34 -05:00
rusefi b55f0c06d5 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:04:27 -05:00
rusefi 9907119cd7 docs 2019-12-03 23:55:18 -05:00
rusefi 431a21943b The Big Refactoring of 2019: folder structure #723 2019-12-03 23:52:44 -05:00
rusefi 5a299fcd9c refactoring - updating name according to new reality 2019-12-03 14:39:11 -05:00
rusefi d9f777c669 codes fix, thank you AndreiKA 2019-12-03 09:05:57 -05:00
rusefi 5c40bb4628 #490 2019-12-03 00:29:12 -05:00
rusefi ccd056d331 EngineTestHelper progress 2019-12-03 00:20:47 -05:00
Matthew Kennedy b7011f875a Base configuration for Proteus (#1040)
* cfg

* add enum value

* add ci

* actually build the board config

* this is pretty close

* proteus case
2019-12-02 23:54:40 -05:00
Matthew Kennedy 4861bc24a9 missing override (#1039) 2019-12-02 23:52:35 -05:00
rusefi 07b7b62bca refactoring 2019-12-02 23:08:18 -05:00
rusefi 3b4e5d689f making new scheduling API avalable 2019-12-02 22:28:32 -05:00
rusefi 1287f187c1 lovely write-out-of-bounds in case of invalid configuration bugfix 2019-12-02 20:32:21 -05:00
rusefi d5bfd76922 "sensor chart" for aux fast analog input 2019-12-02 20:31:49 -05:00
rusefi 23a61bed3d actually it's better to give TS access to all bits 2019-12-02 20:26:43 -05:00
rusefi a87c432761 actually it's better to give TS access to all bits 2019-12-02 20:24:10 -05:00
rusefi b415508c70 codes clean-up 2019-12-02 20:16:41 -05:00
Matthew Kennedy 3c9c9e028c Perf trace housekeeping (#1038)
* use default params

* fix that mess

* format
2019-12-02 19:18:00 -05:00
Matthew Kennedy d27b8fe080 Remove chibios trace flag (#1037)
* remove from scripts

* remove from others
2019-12-02 19:11:07 -05:00
rusefi 63d8f050bc auxFastSensor 2019-12-02 17:49:01 -05:00
rusefi 7c8cba6c5d shared GCC settings between projects 2019-12-02 10:26:16 -05:00
rusefi 5ac023d987 misc clean-up 2019-12-02 10:03:50 -05:00
rusefi 7fb375b15f fixing build 2019-12-02 09:59:53 -05:00
rusefi f9c387b42e cj125 unit test progress! 2019-12-02 01:52:54 -05:00
rusefi ccf9acd32c v12 2019-12-01 23:45:45 -05:00
rusefi 5c05b2225c v12 2019-12-01 22:37:26 -05:00
rusefi 91eef6fa3b perf trace progress but things still do not look right 2019-12-01 20:31:18 -05:00
andreika-git 70fcb50a62 5V-compatible adcVcc + trigger_input_comp + Kinetis COMP driver impr. (#1036)
* adcVcc is not only for 3V STM32

* update ini files

* Kinetis: improve COMP driver

* Improve trigger_input_comp.cpp (hysteresis)
2019-12-01 12:08:55 -05:00
rusefi ed9bae63af dual throttle re-init bugfix thank you andreika! 2019-12-01 09:39:34 -05:00
rusefi c893bb9049 v12 2019-11-30 20:24:31 -05:00
rusefi 448beb5471 making things nicer with dual ETB settings 2019-11-30 18:42:51 -05:00
rusefi 34f53bd102 making things nicer with dual ETB settings 2019-11-30 17:38:33 -05:00
rusefi 149c1c09e8 refactoring 2019-11-30 16:49:40 -05:00
rusefi 2738fefa48 that's how we can move all fields one by one from boardConfiguration to engineConfiguration
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
Matthew Kennedy f9986028c6 Harmonize chconf (#1034)
* turn off f4 kernel features we don't use

* make f7 match f4

* make mcuconf look right
2019-11-30 09:32:14 -05:00
rusefi fd5c45ba46 all ETBs to run in same HW mode 2019-11-30 01:00:54 -05:00
rusefi 75b1a9e52c all ETBs to run in same HW mode
taking a step back and going to bed :(
2019-11-30 00:39:00 -05:00
rusefi 02f4e847f4 all ETBs to run in same HW mode 2019-11-30 00:25:33 -05:00
rusefi 349eac34de better state validation, better error codes 2019-11-29 23:41:26 -05:00
rusefi 1e1d2939ed refactoring 2019-11-29 22:09:08 -05:00
rusefi 815589825c extracing constant & more information for HW CI 2019-11-29 21:57:59 -05:00
rusefi 4d6052c9f3 dual ETB seems to work! 2019-11-29 20:15:29 -05:00
rusEfi 13d4ae2169 dual ETB seems to work! 2019-11-29 19:06:50 -05:00
rusefi 73b3150d0f all ETBs to run in same HW mode 2019-11-29 19:02:12 -05:00
rusEfi 980a3d7086 all ETBs to run in same HW mode 2019-11-29 16:51:51 -05:00
rusefi d21ffee979 v12 2019-11-29 14:51:20 -05:00
rusefi d826d5b75f attempting to fix master build 2019-11-29 13:02:11 -05:00
Matthew Kennedy 04861992f2 Build prometheus with makefiles instead of batch scripts (#1020)
* use makefiles instead of batch

* add to ci

* put batch files back, but minimum logic

* default to release

* debug level opt too
2019-11-29 02:39:30 -05:00
rusefi c9b4189ab3 one step backwards :) 2019-11-29 01:39:02 -05:00
rusEfi 171ad3f235 v12 2019-11-29 01:35:45 -05:00
rusefi a9c52e084f steps towards dual ETB 2019-11-29 00:26:17 -05:00
rusefi 88d8768835 steps towards dual ETB 2019-11-29 00:23:15 -05:00
rusefi f1acede97e steps towards dual ETB 2019-11-28 23:51:47 -05:00
rusefi 1c89cdf780 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-28 15:24:41 -05:00
rusefi 002a08316c steps towards dual ETB 2019-11-28 15:24:30 -05:00
rusEfi 6342724f95 v12 2019-11-28 00:40:25 -05:00
rusefi 265727b7db steps towards dual ETB 2019-11-27 22:07:36 -05:00
rusefi b8a752cf13 fixing master? 2019-11-25 21:15:07 -05:00
andreika-git 7220735530 Starter relay + Hardcoded 'FSIO' + simulator fix (#1032)
* Starter Relay: gui + built-in FSIO impl.

* Hardcoded 'FSIO' replacement for RAM-limited boards

* fix simulator
2019-11-25 20:08:01 -05:00
rusefi 28facbee47 starterRelayPinMode 2019-11-25 01:01:00 -05:00
rusefi 3ad8dc1894 starterRelay & debugMapAveraging 2019-11-25 00:59:05 -05:00
rusefi 75ac946559 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-25 00:57:47 -05:00
rusefi 56bcdacb88 PerfTraceTool 2019-11-25 00:57:36 -05:00
andreika-git 984711655e Kinetis: fix ENABLE_PERF_TRACE and trigger_input_comp (#1031)
* Kinetis: fix ENABLE_PERF_TRACE

* Kinetis: fix trigger_input_comp
2019-11-25 00:22:26 -05:00
andreika-git 53eeb79ea9 unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix (#1029)
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH

* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()

* clutchUpPinMode for unregisterPin()

* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL

* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
rusefi 706b4ca5ef firing order tool integration 2019-11-24 23:49:05 -05:00
rusefi 155ff25c22 MapAveragingCallback schedules all cylinders at once #974 2019-11-24 23:20:24 -05:00
rusefi 0a891017ec Sporadic error: FATAL error: handleCycleStart #1030
more details
2019-11-24 21:59:29 -05:00
rusefi 612649e191 Sporadic error: FATAL error: handleCycleStart #1030
more details
2019-11-24 21:45:32 -05:00
rusefi 5292024a81 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 171860be3c pausing aux work for now 2019-11-24 12:45:38 -05:00
rusefi c5e60a7f93 improving API? 2019-11-24 00:15:44 -05:00
rusefi e8051c1807 more correct variable names 2019-11-23 23:49:39 -05:00
rusefi de963e880b docs 2019-11-23 23:42:00 -05:00
rusefi 18bb121cbe aux valves unit test 2019-11-23 22:55:21 -05:00
Matthew Kennedy 34ffe7f6b3 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 45646f23bd.

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

This reverts commit 1f8176ac7e.

* fix correctly

* use correct function
2019-11-23 21:25:29 -05:00
rusefi af3118fd42 making progres on angle-based scheduling 2019-11-23 20:36:40 -05:00
rusefi 304cc6acc3 making progres on angle-based scheduling 2019-11-23 19:47:53 -05:00
rusefi f15986b9aa refactoring 2019-11-23 18:38:16 -05:00
rusefi 44c04755d8 not needed since included in common_headers.h 2019-11-23 18:16:41 -05:00
rusefi 79ada84b56 'triggerEventAngle' not really needed 2019-11-23 17:44:44 -05:00
rusefi 1f8176ac7e CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-11-23 17:07:13 -05:00
rusefi a31057ec17 explicit list field to simplify code navigation 2019-11-23 17:04:51 -05:00
rusefi 45646f23bd CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798 2019-11-23 16:41:59 -05:00
rusefi eaa42d1baa consistency 2019-11-23 15:53:22 -05:00
rusefi 0fd2d49aa8 docs 2019-11-23 14:14:17 -05:00
rusefi ef6b2be840 refactoring: extracting constant 2019-11-23 12:52:57 -05:00
rusefi 6efab3683c bug: aux valve actions can overlap 2019-11-23 10:34:43 -05:00
Matthew Kennedy 0a7535fb1f 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 c141d42a87 v12 and minor ETB 2019-11-22 23:27:03 -05:00
Matthew Kennedy 783ed572a9 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 8dddc62979 aux overlap debugging 2019-11-22 18:50:46 -05:00
Matthew Kennedy 10a6f652d3 DC motor improvements (#1025)
* extract interface, comments, conform names

* fwd declare
2019-11-22 16:30:44 -05:00
Matthew Kennedy f425232901 const + fwd declare pid things (#1024) 2019-11-22 15:55:38 -05:00
Matthew Kennedy e7ea88044e s (#1023) 2019-11-21 23:45:16 -05:00
rusefi b158f0ec34 recoviring CI 2019-11-21 17:12:46 -05:00
Matthew Kennedy 285429dafc works on f4 (#1021) 2019-11-21 15:45:17 -05:00
rusefi 4f247493aa Perf trace maybe fix - "We were trying to trace before the os was awake" 2019-11-21 15:31:55 -05:00
rusefi 96443d079d following the pattern 2019-11-21 13:35:57 -05:00
rusEfi 7e78f077bc steps towards dual ETB 2019-11-21 00:49:38 -05:00
rusEfi 21e76fb59e v12 2019-11-21 00:19:35 -05:00
rusefi fb66dd1e7d making more code testable 2019-11-20 08:46:54 -05:00
rusefi 76a4e37c66 making more code testable 2019-11-20 02:18:17 -05:00
rusefi 127b16d761 more code into unit tests 2019-11-20 01:42:03 -05:00
rusefi 4cebc85cbf refactoring 2019-11-20 01:35:08 -05:00
rusEfi 59bbd09651 this is probably needed for F7 2019-11-20 01:15:43 -05:00
rusEfi a720a4cc6a Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-20 01:15:21 -05:00
rusefi da158b90aa Really need to Fix and expand commit gate check 2019-11-19 23:28:34 -05:00
rusefi b50066a7bd would this fix CI? 2019-11-19 22:54:36 -05:00
rusEfi 453c187ad0 v12 progress 2019-11-19 21:56:25 -05:00
rusefi 0d75d72bee NOT A GREAT FIX - TODO @andreika any chance you can help here? 2019-11-19 20:56:35 -05:00
rusefi b4c544f257 clean-up 2019-11-19 20:56:11 -05:00
rusefi cd5c3b0dc3 making GCC 9 happier 2019-11-19 20:43:12 -05:00
rusefi 95e8f4227b making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
rusefi 4d9b0745f1 Merge remote-tracking branch 'remotes/mck1117/perf-tracing'
# Conflicts:
#	firmware/development/development.mk
2019-11-19 20:26:56 -05:00
rusEfi f68241bc35 development into unit tests, makefile cleanup 2019-11-19 20:05:12 -05:00
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi 67e4a7c8d7 simulation docs 2019-11-19 09:23:25 -05:00
rusEfi 670e149b32 v12 2019-11-19 00:04:44 -05:00
rusefi a6e7b1455d v12 2019-11-18 23:45:35 -05:00
rusEfi 71511441c9 ETB docs 2019-11-18 22:25:07 -05:00
rusEfi ef7c988c0c launch control #203 2019-11-18 19:22:29 -05:00
rusefi c8ea9bcf6a poke 2019-11-18 15:37:58 -05:00
rusefi 7dade5a878 v12 2019-11-17 22:32:27 -05:00
rusefi e4d31bafb7 v12 done right 2019-11-17 09:32:12 -05:00
rusefi 12f65748b3 typo 2019-11-17 09:18:43 -05:00
rusefi e783f71d53 code formatting 2019-11-17 09:03:20 -05:00
rusefi bb7895a828 refactoring: reducing complexity? 2019-11-17 09:02:49 -05:00
rusefi b865698e23 reducing warnings 2019-11-17 08:44:07 -05:00
andreika-git 6b2bdfe150 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 1624346c97 v12 2019-11-16 16:00:50 -05:00
rusefi 07fd84bb91 kinetis into gen_config.bat 2019-11-16 14:44:47 -05:00
rusefi 0aa095a17f v12 2019-11-15 23:49:28 -05:00
rusEfi 80c6b88d2a prometheus cleanup 2019-11-15 00:01:03 -05:00
rusEfi 41bdf469b2 #pragma once 2019-11-15 00:00:13 -05:00
rusEfi cedb8d5861 M73 2019-11-14 23:58:04 -05:00
rusEfi bf029b9c16 #pragma once 2019-11-14 22:50:59 -05:00
rusefi ef9ad935e0 poke 2019-11-14 10:23:11 -05:00
rusefi 9bc6d71238 Revert "OK trying partial revert now"
This reverts commit 2fe49896
2019-11-13 22:56:43 -05:00
rusefi 30c1cb89aa refactoring: time to unify digital pin API 2019-11-13 22:50:37 -05:00