Commit Graph

1454 Commits

Author SHA1 Message Date
Matthew Kennedy 6db8978667 Add single flag for omitting PnP configs (#1157)
* switch to single enable flag

* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusefi d755e95768 v12 2020-02-24 00:20:36 -05:00
rusefi f1866f6792 migrate slow ADC to software timer so that TIM8 is also available for input capture #630 2020-02-24 00:12:51 -05:00
rusefi 33ba33d533 MRE technical info 2020-02-24 00:12:26 -05:00
rusefi ebb1980b50 v12 2020-02-23 09:16:11 -05:00
rusefi e2704a4525 minor progress 2020-02-22 13:04:19 -05:00
rusefi 2fb89b4676 explicit cross-referencing 2020-02-21 20:08:16 -05:00
rusefi 94fc0451f9 "so I guess defaults are fine then, maybe add main relay = PB9" 2020-02-21 19:31:36 -05:00
rusefi 833f491f05 M73 2020-02-19 22:34:51 -05:00
rusefi 6d5734c40e proteus 2020-02-19 22:34:38 -05:00
rusEfi e9ac797ac9 reviving FRANKENSO_QA_ENGINE 2020-02-18 17:53:56 -05:00
rusefi 83d7085f40 code style & pleasing LGTM 2020-02-18 08:16:19 -05:00
rusEfi 4c5477f2cd vbatt MRE happiness 2020-02-16 16:59:33 -05:00
rusEfi 6aa9e896a4 proper 'f' syntax 2020-02-12 23:16:46 -05:00
rusEfi 8ef58f8e79 MRE divider 2020-02-12 22:15:36 -05:00
rusEfi ce54ae9497 TLE8888 watchdog #917
window watchdog progress
2020-02-10 13:24:09 -05:00
Matthew Kennedy a08946c2f5 Fix master (#1134)
* Revert "something went very wrong."

This reverts commit e0fb325d5a.

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

This reverts commit 55e8ee5052.

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

This reverts commit b0d7cc9a22.

* temp prometheus fix

* fix bootloader

* fix batch files
2020-02-08 16:34:29 -05:00
rusefi d645ea2d1e more Proteus CI 2020-02-02 08:42:05 -05:00
960 580e725d11 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
Matthew Kennedy a4e9d638b7 more proteus pins (#1118) 2020-02-02 02:38:15 -05:00
rusefi 3d3c4c38f4 looking forward 2020-02-01 17:55:58 -05:00
rusefi f7c8580b11 reducing headers 2020-02-01 17:27:24 -05:00
rusefi d67976364a Matt does this look right? 2020-02-01 14:45:55 -05:00
rusefi 81e7a50174 proteus build into CI 2020-02-01 14:27:41 -05:00
rusefi f834f99245 opening the door to boost controller! 2020-01-31 14:29:52 -05:00
Matthew Kennedy 4a1e17e535 minor proteus default config & mapping fixes (#1113)
* vbatt and can

* correct comment

* fix mapping
2020-01-29 23:32:48 -05:00
rusefi 7fdd10b50c code style 2020-01-14 03:41:11 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
Matthew Kennedy 6703705a33 Pass action_s instead of callback/param (#1084)
* change action

* consumers

* fix test

* didn't mean to add those

* simplify

* fix simulator

* fix sim for real

* oy

* maybe this time the simulator will actually be fixed, for real

* don't rely on undefined behavior
2020-01-07 00:41:18 -05:00
rusEfi 579cf5abb8 docs 2019-12-29 14:58:39 -05:00
rusEfi 59f25e04fd improvements around weird engine types 2019-12-28 23:26:43 -05:00
rusEfi 499a39e88c improvements around weird engine types 2019-12-28 23:22:16 -05:00
rusefi 435928ca81 laughable gdi progress 2019-12-26 22:30:12 -05:00
rusefi 9e4df11063 Frankenso does not use ETB 2019-12-25 15:58:54 -05:00
rusefi 5eae7e50f4 enabling TIM8 ICU 2019-12-25 09:28:51 -05:00
Matthew Kennedy c56bd4cc97 Terrible ADC3 hack for Proteus vbatt support (#1066)
* this is a great idea!

* typo

* simplify

* simplify, cache coherency

* enable adc3 in board file

* copyright

* fix tests, probably
2019-12-17 08:34:56 -05:00
rusefi 1f49803441 fixing build 2019-12-15 23:33:15 -05:00
rusefi d53f037f19 :( sad stuff 2019-12-15 23:21:38 -05:00
rusefi c94532a697 boring test mule stuff 2019-12-15 22:21:49 -05:00
rusefi 880d590aab Revert "Fried coil (?) on incompatible firmware change fix #1051"
This reverts commit b83114d
2019-12-14 17:35:11 -05:00
Matthew Kennedy 4866a78e63 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -05:00
rusefi 32564db46e fixing build is my most favourite time! 2019-12-13 20:51:04 -05:00
rusefi 91fbaf1f98 fixing build is my most favourite time! 2019-12-13 20:06:45 -05:00
rusefi b83114db99 Fried coil (?) on incompatible firmware change fix #1051 2019-12-13 17:23:48 -05:00
Matthew Kennedy 853f33b1cc Make stacks smaller (#1055)
* remove factually incorrect comment

* shrinky stacky

* shuffle comments
2019-12-13 16:47:26 -05:00
Matthew Kennedy 2818142ac3 use correct divider (#1056) 2019-12-12 08:45:10 -05:00
rusefi 9e8d72ff1e only using unified name, not changing any values
reduce the pin output speed on the MCU as these are the major source of ripple on VDD. #397
2019-12-11 19:55:28 -05:00
rusefi f3a3146fc9 some random pin rename & a bit of "reduce the pin output speed on the MCU as these are the major source of ripple on VDD. #397" 2019-12-11 19:53:08 -05:00
rusefi 1cf7eacc43 board.h default state for F4 pins #1053
no default changes here - only using our custom names to highligth default choice
2019-12-11 19:25:46 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy b25f50c6ee Move slow ADC to thread #630 (#1042)
* adc with thread

* enable

* check result

* stacktual embiggenment

* tracing

* let's be type safe

* improve assert

* format, comment

* remove EFI_INTERNAL_SLOW_ADC_PWM fully
2019-12-11 09:28:11 -05:00
Matthew Kennedy 44fc8c466d copyArray helper (#1048)
* add functions

* uses

* use for proteus

* do it for warmup mult

* do it for cranking settings

* cleanup
2019-12-10 18:04:50 -05:00
rusefi 9521a7d6d0 PAL repair 2019-12-05 21:10:29 -05:00
rusefi 0e570b8b83 steps towards fixing PAL inputs 2019-12-05 21:04:24 -05:00
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 561986d3e4 The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -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
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 d27b8fe080 Remove chibios trace flag (#1037)
* remove from scripts

* remove from others
2019-12-02 19:11:07 -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 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 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 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 171ad3f235 v12 2019-11-29 01:35:45 -05:00
rusEfi 6342724f95 v12 2019-11-28 00:40:25 -05:00
rusefi b8a752cf13 fixing master? 2019-11-25 21:15:07 -05:00
rusefi 5292024a81 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 18bb121cbe aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi eaa42d1baa consistency 2019-11-23 15:53:22 -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 285429dafc works on f4 (#1021) 2019-11-21 15:45:17 -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 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 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
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusEfi 670e149b32 v12 2019-11-19 00:04:44 -05:00
rusefi a6e7b1455d v12 2019-11-18 23:45:35 -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 e783f71d53 code formatting 2019-11-17 09:03:20 -05:00
rusefi 1624346c97 v12 2019-11-16 16:00:50 -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 cedb8d5861 M73 2019-11-14 23:58:04 -05:00
rusEfi bf029b9c16 #pragma once 2019-11-14 22:50:59 -05:00
Matthew Kennedy 53424b5f0c fix (#1006) 2019-11-13 18:35:21 -05:00
Matthew Kennedy 2edd673bd6 fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi b226895aff v12 2019-11-09 18:40:06 -05:00
rusefi 568bcc6b21 v12 2019-11-08 20:53:51 -05:00
rusefi d08c7fc3ec pinout 2019-11-07 20:47:12 -05:00
rusefi 80e1bf6dd1 MRE F4 2019-11-06 20:05:44 -05:00
rusefi b171b5ebd4 we have MRE F4 now 2019-11-06 18:58:11 -05:00
rusefi 92d1842bd0 refactoring 2019-11-05 23:17:44 -05:00
rusefi fdbe81121d moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 21:29:12 -05:00
rusefi ad800be601 v12 2019-11-03 21:27:37 -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
rusefi a2f0fedf45 v12 M73 fun begins! 2019-11-01 22:56:58 -04: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
Matthew Kennedy 97d848bb3e profile all the things 2019-10-13 13:14:08 -07: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 c9821588e9 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 b68ed9f8cb docs & refactoring 2019-10-07 21:23:38 -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 52e95a5d68 pid limits / etb limits 2019-09-29 14:56:18 -04:00
rusefi d897b898e7 docs 2019-09-28 18:49:39 -04:00
rusefi ba1d8eb512 idle&ETB progress 2019-09-26 00:02:47 -04:00
rusefi 2ff5656a11 docs 2019-09-24 22:28:33 -04:00
rusefi 80f8facd8a absolute fuel pressure flow calculation #954 2019-09-24 18:39:26 -04:00
rusefi f07915807f docs 2019-09-23 22:56:06 -04:00
rusefi 024980d38f docs 2019-09-23 19:08:15 -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 13783eb094 NB2 progress 2019-09-21 21:36:53 -04:00
rusefi 757f8eb690 NB2 miata on Frankenso with ETB 2019-09-21 01:21:53 -04:00
rusefi d3931fac50 why was RTC disabled? 2019-09-20 18:22:39 -04:00
rusefi d95740467e refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusefi 6c8b2bd126 extracting hunchback stuff to a separate file 2019-09-20 17:46:54 -04:00
Matthew Kennedy ca2e2cdbab move logic out of bat (#941) 2019-09-20 08:40:07 -04:00
rusefi 3e9337f5d9 docs 2019-09-20 00:24:22 -04:00
rusefi d2e8710c80 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
rusEfi a168c5f2eb A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 4030b69594 NA8 2019-09-15 10:04:24 -04:00
rusEfi 47f68eb80f using MRE config for Nucleo 2019-09-14 16:03:04 -04:00
rusEfi d3d17b700f docs 2019-09-12 08:37:44 -04:00
rusefi d62556b415 docs 2019-09-12 07:29:38 -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 50e0887c96 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi 788b3afddc fixing unit tests 2019-09-08 19:29:30 -04:00
rusefi 7c89fe1ab6 A/C NA6 compressor progress 2019-09-08 16:45:02 -04:00
rusefi 87f6ac9ce1 MRE NA6 2019-09-08 11:17:27 -04:00
rusefi 696dbacf5a MRE NB2 2019-09-06 17:38:05 -04:00
rusEfi 1faf48bd53 MRE NB2 2019-09-05 23:14:28 -04:00
rusefi a5894f9c1f MRE NB2 2019-09-04 21:36:34 -04:00
rusEfi daa8fc316c MRE NB2 2019-09-04 20:38:09 -04:00
rusefi b107968cdd MRE NB2 2019-09-04 00:30:20 -04:00
rusefi 0d131f136e MRE NB2 2019-09-03 23:35:49 -04:00
rusefi ba9c96df91 Merge branch 'master' of https://github.com/rusefi/rusefi
# Conflicts:
#	java_console/models/src/com/rusefi/config/generated/Fields.java
2019-09-03 18:54:54 -04:00
rusefi 3fa5399ed7 EFI_CJ125_DIRECTLY_CONNECTED_UR should be a runtime parameter fix #914 2019-09-03 18:44:05 -04:00
rusEfi a09ae0a9dc MRE NB2 2019-09-02 21:55:38 -04:00
rusEfi 303a4eaa0e MRE NB2 2019-09-02 17:16:36 -04:00
rusefi 52462550dd Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-02 12:34:25 -04:00
rusefi b3f0d3eb67 MRE NB2 2019-09-02 12:34:17 -04:00
rusEfi 32d6c1ce68 tiny progress 2019-09-02 11:48:49 -04:00
rusEfi 1d057a8faa MRE NB2 2019-09-02 11:07:34 -04:00
rusEfi d5dfc3e658 NB2 progress, ETB Live Docs progress 2019-09-01 19:37:58 -04:00
rusEfi b180e2223d NB2 settings 2019-08-31 20:17:47 -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 dd087425d5 NA6 2019-08-31 17:07:29 -04:00
rusEfi 406c1b9f5c NA6 2019-08-31 16:25:43 -04:00
rusefi 6f8df1fd70 wow, CI was down for a week 2019-08-25 22:53:57 -04:00
rusefi 15be825727 NA6 2019-08-25 00:31:46 -04:00
rusEfi c7b893677d docs 2019-08-18 20:18:56 -04:00
rusEfi e5ef4725b1 MRE NA6 2019-08-18 14:43:38 -04:00
rusEfi a8d872800c MRE & Miata 2019-08-17 22:42:22 -04:00
rusEfi c4d6604551 MRE etb 2019-08-17 17:33:44 -04:00
rusefi cb488d28ce TLE8888 should be re-initialized every time we get +12 volts fix #901
fuel pump test passed, also longer start-up timeout is needed for reliable start
2019-08-16 23:21:03 -04:00
rusEfi dfc5f86e6e MRE ETB 2019-08-15 01:59:15 -04:00
rusefi 60562d2c30 making LCD great again 2019-08-13 00:03:31 -04:00
rusefi 19058e1d6c making LCD great again 2019-08-12 23:48:58 -04:00
rusefi ae83660230 DEFAULT_ENGINE_TYPE=MRE_BOARD_TEST build script 2019-08-10 17:16:12 -04:00
rusefi 64e9db5683 TS refresh & better MRE test configuration 2019-08-10 16:25:42 -04:00
rusefi b5c47c13ad low side channels on MRE #900
this should NOT work but it works?

2019-08-10_15_19_19_770: EngineState: injection #1 @ ext:TLE8888.OUT22 led1
2019-08-10_15_19_19_771: EngineState: injection #2 @ PE10 led10
2019-08-10_15_19_19_773: EngineState: injection #3 @ PE12 led5
2019-08-10_15_19_19_774: EngineState: injection #4 @ PE14 led4
2019-08-10_15_19_19_775: EngineState: injection #5 @ ext:TLE8888.OUT24 led7
2019-08-10_15_19_19_775: EngineState: injection #6 @ PE11 led6
2019-08-10_15_19_19_777: EngineState: injection #7 @ PE9 led9
2019-08-10_15_19_19_777: EngineState: injection #8 @ PE8 led8
2019-08-10_15_19_19_779: EngineState: injection #9 @ PE13 led3
2019-08-10_15_19_19_780: EngineState: injection #10 @ ext:TLE8888.OUT23
 led2
2019-08-10 15:23:41 -04:00
rusefi a94eebe3ec low side channels on MRE #900
getting closer but still issues
2019-08-10 14:53:57 -04:00
rusefi 4fcecb6c26 low side channels on MRE #900
progress - now all 10 BLINK, but two are blinking together
2019-08-10 13:45:00 -04:00
rusefi 59463a515e MRE hangs up on bench fix #899 2019-08-10 00:53:16 -04:00
rusefi 97bf87eb48 low side channels on MRE #900 2019-08-09 23:45:35 -04:00
rusEfi 6c43b273af MRE test setup 2019-08-09 21:16:27 -04:00
rusEfi b3fc4af163 MRE test 2019-08-09 19:11:15 -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 c470114239 NA6 2019-08-08 00:15:24 -04:00
rusefi 217332bea1 default pinout nightmare 2019-08-07 00:36:54 -04:00
rusefi 5f51a783d2 fixing build? 2019-08-06 22:33:27 -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 70f2d9f922 F7 float drama - that was easy! 2019-08-06 17:53:07 -04:00
rusefi 2642483d09 NA6 MRE 2019-08-06 17:26:16 -04:00
rusefi 67637cb1b5 better method name 2019-08-06 17:12:15 -04:00
rusEfi 1e64c5a67f MRE test setup 2019-08-05 23:00:35 -04:00