Commit Graph

652 Commits

Author SHA1 Message Date
rusefi 539cd8b1c7 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 121ad9b786 fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 7d73c6a8a9 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 3ff8c92d38 poke 2019-08-08 20:32:00 -04:00
rusefi 643cc24931 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:32:31 -04:00
rusEfi bde25114d5 NA6 MRE details 2019-08-06 17:59:02 -04:00
rusefi 8d14561fb9 better method name 2019-08-06 17:12:15 -04:00
rusefi 2a3d067821 fixing unit tests build 2019-08-05 23:36:18 -04:00
rusEfi 070ebd65c6 MRE test setup 2019-08-05 23:00:35 -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
Matthew Kennedy 1ec07af6e2 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 2120aff829 MRE is getting closer! 2019-07-25 21:39:39 -04:00
rusefi 0b1726727f removing least useful engine configurations 2019-07-25 00:03:57 -04:00
rusefi 97934eeace fixing build? 2019-07-24 23:41:26 -04:00
rusefi b2eba467ac fixing build? 2019-07-24 23:16:17 -04:00
rusefi 9fd9bbaf2f nevermind 2019-07-24 22:37:27 -04:00
rusefi 358a50a961 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:33:30 -04:00
rusefi 3ac83dc34e setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:00:48 -04:00
rusefi fc241ce665 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
merging methods since always invoked together
2019-07-24 21:24:39 -04:00
rusefi 6fb2b34120 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 21:15:18 -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 04bc1128df support multiple VVT sensors #885
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
Matthew Kennedy e0db83e027 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
rusefi 83ad64eade Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi a8f456b807
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
Matthew Kennedy e47bc4b952 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 80f38c476a https://github.com/rusefi/hw_microRusEfi/issues/57 2019-06-10 17:33:05 -04:00
rusefi 09a29be80e input has sizes hard-coded #836 2019-06-10 15:45:18 -04:00
rusefi 4737bb3301 MRE 2019-06-07 18:02:28 -04:00
rusefi 79bbbc8f45 MC33816 integraion #784 2019-05-25 17:18:16 -04:00
rusefi 01e481db31 fix #802 2019-05-25 13:36:29 -04:00
rusEfi bd512492cd proper void value 2019-05-04 10:46:48 -04:00
rusefi ac2a81d381 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusefi ff641d81e2 fixing build & refactoring 2019-04-28 23:42:49 -04:00
rusEfi 8138d137fe 'warninigLedPin' typo and minor TS progress 2019-04-28 23:04:52 -04:00
rusefi c096680ce6 tiny progress 2019-04-21 14:21:47 -04:00
rusefi 5b522dc8fd this change is probably breaking stuff, but some stuff is already broken. something is not right in too many places :( 2019-04-21 14:00:19 -04:00
rusefi 919c973853 docs 2019-04-21 13:31:55 -04:00
andreika-git 370b0dd003 Default config refactor (#762)
* Refactor config

* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
rusefi 45588e9f17 Revert "Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656""
This reverts commit 570ce62871.
2019-04-15 21:37:54 -04:00
rusefi 570ce62871 Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656"
This reverts commit 98a75d19
2019-04-15 20:42:22 -04:00
rusefi 98a75d19e7 The Big Refactoring of 2019: configuration version should not be a global variable fix #656 2019-04-15 20:27:19 -04:00
andreika-git ffd44bf0fe More config portability: TLE6240, Trigger_input, UART/Serial (#759)
* Add fields to UART/Serial configs

* trigger_input: can be both HAL_USE_PAL and HAL_USE_COMP

* tle6240 config: local temporary solution

* Fix for custom_engine::setFsio

* EFI_ACTIVE_CONFIGURATION_IN_FLASH
2019-04-15 08:40:12 -04:00
rusefi 541c445a2d defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
dron0gus b7f69a0e08 Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
rusEfi 9c9dc05b10 cleanup #4 2019-04-11 22:15:06 -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 21283f5b8c we need TLE8888 driver #714 2019-04-04 21:34:33 -04:00
rusefi cd7cc596bc cranking base_fuel reform 2019-04-04 08:26:57 -04:00
rusefi 02832ce0c3 The Big Refactoring of 2019: folder structure #723 2019-04-02 23:19:21 -04:00
rusefi 1ab6cace13 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
removing startConsoleInBinaryMode
2019-04-01 11:45:06 -04:00
rusefi ebe58122c6 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
andreika-git 001fbb2526 More portability & bootloader fix (#720)
* fix bootloader

* EFI_FSIO

* EFI_EMULATE_POSITION_SENSORS, EFI_BOARD_TEST, EFI_AUX_PID, EFI_JOYSTICK
2019-03-29 15:46:15 +01:00
andreika-git b80806182f More portability & small fixes (#719)
* Use hw_stm32.mk

* Fix bootloader

* Use more common hw_ports.mk filename instead of hw_stm32.mk

* More CPU compatibility for Makefile

* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE

* Move lockAnyContext()/unlockAnyContext() to rfiutil.c

* USE_FATFS

* EFI_LCD

* Less compilation errors

* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE

* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS

* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()

* merge

* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
andreika-git 984fc12f73 Idle timing PID control & TPS-based VE table (#713)
* Add new config settings for idleTimingPidControl & TPSBasedVeTable

* Add dialogs for idleTimingPidControl settings

* Add dialogs for TPSBasedVeTable settings

* Share the code for getTargetRpmForIdleCorrection() and move it from idle_thread.cpp

* Implement TPSBasedVeTable

* Add PID to advance_map.cpp

* Implement idleTimingPidControl

* Make getAdvanceCorrections() visible to unit-tests

* Unit-tests! Yeah!
2019-03-22 22:55:51 -04:00
rusefi 60a5b2c5ea better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusefi 635bbcc960 ETB_BENCH_ENGINE 2019-02-27 08:55:56 -05:00
rusefi bdbecb8c42 NA6 base tune 2019-02-26 21:50:58 -05:00
rusefi 8715a45610 F7 2019-02-24 09:49:46 -05:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi 9325cd6d23 better (?) variable names 2019-02-10 22:47:49 -05:00
Matthew Kennedy 17691227d5 Fix dwell default, improve TS field names (#689)
* improve message

* clarify cranking dwell settings

* change default

* fix unit test that made assumption
2019-02-07 07:44:07 -05:00
rusefi c736716d1a dwell docs & better command name 2019-02-06 00:05:14 -05:00
rusefi 2db8809198 dwell docs 2019-02-05 23:49:19 -05:00
rusefi ee4ac9b240 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi 8594a29c6a minimal pin configuration & EFI_COMMUNICATION_PIN fix 2019-01-26 11:38:14 -05:00
rusefi 61a5686a74 STM32F407VET6 Mini first steps 2019-01-25 23:42:49 -05:00
rusefi add6517a74 stage 0 configuration 2019-01-19 20:27:14 -05:00
rusefi 8539ba3271 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi 3921d36540 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 21:10:46 -05:00
rusefi dd8e2d9326 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
rusefi 1e4bdbb255 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 17:07:29 -05:00
rusefi fd14010809 Revert "The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657"
This reverts commit 61440c5
2019-01-10 00:56:08 -05:00
rusefi 61440c5e73 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 23:38:59 -05:00
rusefi 5f8d8bd8da The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 21:31:59 -05:00
rusefi 0c6f361181 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00
rusefi 19c410387d making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi d80c1f0b1e Saab CDM knock signal integration #647 2019-01-04 23:47:39 -05:00
rusEfi 9edbf8218a #35 2019-01-04 17:18:43 -05:00
rusefi ba0164e879 #635 2019-01-01 14:14:09 -05:00
rusefi 2585e4cad7 #625 2018-12-25 21:05:06 -05:00
rusefi 7e3a7b5c79 #635 2018-12-24 23:16:33 -05:00
rusefi d632d72ed3 ETB bias curve in TS 2018-12-09 13:50:13 -05:00
rusEfi 3d3122c76c better? field name 2018-11-30 00:17:55 -05:00
rusefi 820adce0d1 #616 idle into simulator 2018-10-30 07:58:50 -04:00
andreika-git bd40691e67 AirFlow-interpolated tCharge Mode (#612)
* Add vars & enums

* updateTChargeK()

* limitRateOfChange()

* Impl. AirFlow-interpolated tCharge mode

* Update tsOutputChannels: tCharge & airFlow

* Set default config params

* Unit-tests

* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusefi a6c24ffce1 Merge branch 'master' of https://github.com/rusefi/rusefi 2018-09-10 22:10:58 -04:00
rusefi 9b1af6ad6d error codes 2018-09-10 22:10:55 -04:00
rusEfi eadf502254 getting ready for NA8 2018-09-06 22:41:05 -04:00
rusEfi 1e54366c97 getting ready for NA8 2018-09-06 22:31:23 -04:00
rusefi 55cbe3079b better default value 2018-08-08 20:56:11 -04:00
rusEfi 75b10d9e54 wider macro usage 2018-07-28 19:16:58 -04:00
rusefi a396c9b587 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
Matthew Kennedy 741116378b Coasting Fuel Cut Fixes (#596)
* config changes

* generated

* new logic for MAP coast cutoff

* typo

* fix unit test

* add short duration injection fix

* add f suffix to constant
2018-06-23 16:32:41 +03:00
andreika-git 16c4f84d8d Coasting Fuel Cut-off - Implementation (basic) (#585)
* Use getRpm() instead of rpmValue - needed for unit-tests

* Impl.

* Defaults

* Unit-tests
2018-03-22 13:37:34 -04:00
rusefi e6d368d6f7 reducing global state in unit tests 2018-03-04 21:32:48 -05:00
rusefi b237ea2423 reducing confusion / better code 2018-03-04 17:53:52 -05:00
rusefi be8d3847f2 #569 2018-02-25 20:51:34 -05:00
rusefi 5385a040fd refactoring 2018-02-03 20:43:31 -05:00
rusefi 5e0f8b221e refactoring 2018-02-03 20:16:14 -05:00
rusefi 86f7a89412 minor bugfix in theoretical case of two consequitive changes 2018-02-03 12:47:37 -05:00
rusefi 436f7aa965 reducing coupling between trigger emulation and FSIO 2018-02-03 11:42:50 -05:00
rusefi 1eea49aaec extracting macro 2018-02-03 10:48:35 -05:00
andreika-git 9424d39ab3 Impl. useSeparateAdvanceForCranking & useAdvanceCorrectionsForCranking (#565) 2018-02-02 08:18:00 -05:00
rusEfi f7b2760550 NA8 2018-01-31 21:30:28 -05:00
rusefi 049848c577 #557 2018-01-28 14:03:58 -05:00
rusefi 3e48813e73 #540 2018-01-23 08:34:18 -05:00
rusefi 371decae53 fix #539 reducing idle stepper reaction time 2018-01-21 12:19:36 -05:00
rusefi 1d31067d19 happy new year 2018-01-20 20:55:31 -05:00
rusefi d05432df12 fix #532 2018-01-07 12:11:49 -05:00
rusEfi 9684549124 better method name 2018-01-07 11:17:49 -05:00
rusefi 30c66f91ea more idle control complexity 2017-12-27 00:26:40 -05:00
rusefi 903bec19ab fixing build 2017-12-25 10:26:17 -05:00
rusefi 20ef13ab17 switching to target RPM curve 2017-12-24 22:41:57 -05:00
rusefi 612904d808 switching to target RPM curve 2017-12-24 22:14:08 -05:00
rusefi 3de93ad64d switching to target RPM curve 2017-12-24 22:05:16 -05:00
andreika-git d7c46fbb21 Bootloader set default pin states (#524)
* Set default pin states needed by Bootloader

* Small Bootloader fix
2017-12-24 13:45:03 -05:00
rusefi f83817e581 fix #514 2017-12-17 15:41:58 -05:00
rusefi e0dca8fe51 FSIO usability 2017-12-17 12:02:35 -05:00
rusEfi 2158eb56d5 code style 2017-12-03 15:31:11 -05:00
rusefi 744456ba3c another board testing approach 2017-12-02 20:59:31 -05:00
rusefi 2974ff66e2 fix #490 2017-11-27 21:49:58 -05:00
rusefi 4ab79c3bdb #490 2017-11-26 01:17:37 -05:00
rusefi 94078fe7b6 better enum name 2017-11-19 17:54:00 -05:00
rusEfi 051f954dd8 #495 todo clean-up 2017-11-19 15:24:36 -05:00
rusefi 7222640454 #495
compacting data structure without changing the size yet
2017-11-19 12:07:07 -05:00
rusefi 314c356159 #490 2017-11-19 11:32:05 -05:00
rusefi 63ac17de19 refactoring - better variable name 2017-11-19 10:23:47 -05:00
Matthew Kennedy c3c38aa9bd Implement oil pressure sensor (#491)
* code changes

* config changes
2017-11-15 14:30:13 -05:00
rusefi 94c92f41dc #442 2017-08-31 07:53:41 -04:00
rusefi f9ee71d87c #473 2017-08-18 16:18:11 -04:00
rusefi d8fca11472 #473 2017-08-17 02:56:25 -04:00
rusefi 37e58f4194 fixing build 2017-08-06 19:47:16 -04:00
rusefi 3f42eddd64 better constant name 2017-08-06 19:43:01 -04:00
rusefi c0750fcf2e refactoring 2017-08-06 19:39:24 -04:00
rusefi c4f571949e startOfCrankingPrimingPulse 2017-07-15 15:36:49 -04:00
andreika-git 1a7e5b20d9 onConfigurationChangeTriggerCallback() (#448)
* onConfigurationChangeTriggerCallback()

* conform isTriggerConfigChanged

* #if EFI_EMULATE_POSITION_SENSORS

* Now it works!

* svnversion
2017-06-26 21:31:10 +03:00
rusefi a5e4895efd refactoring: better name 2017-06-26 09:23:26 +03:00
rusefi ea698a6f09 refactoring: better name 2017-06-26 09:14:31 +03:00
andreika-git 77ba93d464 Fsio progress (#449)
* gen_config.bat

* FSIO: fuelPump & mainRelay progress

* typo
2017-06-25 08:35:46 +03:00
rusefi e125d01040 mapMinBufferLength 2017-06-22 09:29:52 +03:00
rusefi 9a0378c335 #351 2017-06-13 10:40:16 -04:00
rusefi 0893e50949 configurable stepper pulse 2017-06-12 18:31:55 -04:00
rusefi 88be4a0b5e #442 2017-06-12 08:41:32 -04:00
rusefi e7f59e218a reducing code duplication 2017-06-11 15:27:23 -04:00
rusefi 571399b112 reducing code duplication 2017-06-11 15:17:02 -04:00
rusefi 2b314553a5 reducing code duplication 2017-06-11 15:13:03 -04:00