Commit Graph

630 Commits

Author SHA1 Message Date
Matthew Kennedy 0b52f5b542 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
rusefi e309e223aa Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi d90c6ee1a3 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 89f59db75f 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 58be63f5a9 https://github.com/rusefi/hw_microRusEfi/issues/57 2019-06-10 17:33:05 -04:00
rusefi 81a68f59b7 input has sizes hard-coded #836 2019-06-10 15:45:18 -04:00
rusefi 135ff2d50d MRE 2019-06-07 18:02:28 -04:00
rusefi dac10d23b0 MC33816 integraion #784 2019-05-25 17:18:16 -04:00
rusefi 32601867fe fix #802 2019-05-25 13:36:29 -04:00
rusEfi 40d5b047b2 proper void value 2019-05-04 10:46:48 -04:00
rusefi 85b790edcf 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 f6c5f8764a fixing build & refactoring 2019-04-28 23:42:49 -04:00
rusEfi 1c013228dc 'warninigLedPin' typo and minor TS progress 2019-04-28 23:04:52 -04:00
rusefi f4bb936243 tiny progress 2019-04-21 14:21:47 -04:00
rusefi 23e591a253 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 2de51a7e2f docs 2019-04-21 13:31:55 -04:00
andreika-git b5f87ae584 Default config refactor (#762)
* Refactor config

* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
rusefi 96bcd0f3a7 Revert "Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656""
This reverts commit bba5f7f9e3.
2019-04-15 21:37:54 -04:00
rusefi bba5f7f9e3 Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656"
This reverts commit 05f6aabe
2019-04-15 20:42:22 -04:00
rusefi 05f6aabe32 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 ca255a90c2 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 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
dron0gus 0212cf644c Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
rusEfi c130b249ba cleanup #4 2019-04-11 22:15:06 -04:00
dron0gus 12e07bc3ab 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 acf1216ab0 rusEfi settings editor is broken for one byte enums fix #709 2019-04-08 11:57:16 -04:00
rusefi d5fd0f0f86 we need TLE8888 driver #714 2019-04-04 21:34:33 -04:00
rusefi 6fc05ee07c cranking base_fuel reform 2019-04-04 08:26:57 -04:00
rusefi 0121a7bc5b The Big Refactoring of 2019: folder structure #723 2019-04-02 23:19:21 -04:00
rusefi bceec323c2 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 c29e6d99c4 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
andreika-git c7b1bb1ff1 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 a79175f6ef 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 b7a9cc13bb 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 9e46bbf519 better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusefi 78c87195c8 ETB_BENCH_ENGINE 2019-02-27 08:55:56 -05:00
rusefi 742bc38665 NA6 base tune 2019-02-26 21:50:58 -05:00
rusefi 55729a1aa6 F7 2019-02-24 09:49:46 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
Matthew Kennedy a0c130b81c 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 4e95a6c002 dwell docs & better command name 2019-02-06 00:05:14 -05:00
rusefi 1e12cbefd5 dwell docs 2019-02-05 23:49:19 -05:00
rusefi aba0f44df5 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi b1d8bf0dbf minimal pin configuration & EFI_COMMUNICATION_PIN fix 2019-01-26 11:38:14 -05:00
rusefi 0fbc62ec5c STM32F407VET6 Mini first steps 2019-01-25 23:42:49 -05:00
rusefi 69d65ce044 stage 0 configuration 2019-01-19 20:27:14 -05:00
rusefi d4443164e8 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi d959e58578 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 21:10:46 -05:00
rusefi c1509dd0b7 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
rusefi 6682a7def2 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 17:07:29 -05:00
rusefi b9f28b43aa Revert "The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657"
This reverts commit 4e5cbe3
2019-01-10 00:56:08 -05:00
rusefi 4e5cbe3764 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 23:38:59 -05:00
rusefi 7151749c4a The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 21:31:59 -05:00
rusefi daeaa925f2 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00
rusefi 9afe619652 making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi dc5fe620ee Saab CDM knock signal integration #647 2019-01-04 23:47:39 -05:00
rusEfi c3380c4ef3 #35 2019-01-04 17:18:43 -05:00
rusefi 968fdd2913 #635 2019-01-01 14:14:09 -05:00
rusefi e6a139b044 #625 2018-12-25 21:05:06 -05:00
rusefi c66b6faf54 #635 2018-12-24 23:16:33 -05:00
rusefi 415f410baf ETB bias curve in TS 2018-12-09 13:50:13 -05:00
rusEfi d93f3ecd89 better? field name 2018-11-30 00:17:55 -05:00
rusefi b9f588e6f9 #616 idle into simulator 2018-10-30 07:58:50 -04:00
andreika-git 3001f2837d 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 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi 102a503235 Merge branch 'master' of https://github.com/rusefi/rusefi 2018-09-10 22:10:58 -04:00
rusefi 92df53aec9 error codes 2018-09-10 22:10:55 -04:00
rusEfi 7f8ac4dd96 getting ready for NA8 2018-09-06 22:41:05 -04:00
rusEfi 95601bcd2d getting ready for NA8 2018-09-06 22:31:23 -04:00
rusefi 90c94f2746 better default value 2018-08-08 20:56:11 -04:00
rusEfi 55d6e252c8 wider macro usage 2018-07-28 19:16:58 -04:00
rusefi 43da335306 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
Matthew Kennedy c36991a5ed 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 5ba5e680d6 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 72cc52add6 reducing global state in unit tests 2018-03-04 21:32:48 -05:00
rusefi 6d1dfd6995 reducing confusion / better code 2018-03-04 17:53:52 -05:00
rusefi 675df4bdaa #569 2018-02-25 20:51:34 -05:00
rusefi 034156851c refactoring 2018-02-03 20:43:31 -05:00
rusefi 6dd941bfa6 refactoring 2018-02-03 20:16:14 -05:00
rusefi 3840f0bbde minor bugfix in theoretical case of two consequitive changes 2018-02-03 12:47:37 -05:00
rusefi a8ed61c277 reducing coupling between trigger emulation and FSIO 2018-02-03 11:42:50 -05:00
rusefi 349aca993d extracting macro 2018-02-03 10:48:35 -05:00
andreika-git 7c88a97edc Impl. useSeparateAdvanceForCranking & useAdvanceCorrectionsForCranking (#565) 2018-02-02 08:18:00 -05:00
rusEfi ef9c5a6288 NA8 2018-01-31 21:30:28 -05:00
rusefi 7b3434caca #557 2018-01-28 14:03:58 -05:00
rusefi c17455dc0d #540 2018-01-23 08:34:18 -05:00
rusefi 53394cd506 fix #539 reducing idle stepper reaction time 2018-01-21 12:19:36 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi 7b5302d897 fix #532 2018-01-07 12:11:49 -05:00
rusEfi 87f47b4a0e better method name 2018-01-07 11:17:49 -05:00
rusefi 6da8c3444a more idle control complexity 2017-12-27 00:26:40 -05:00
rusefi 612baa70d5 fixing build 2017-12-25 10:26:17 -05:00
rusefi 644eeb864a switching to target RPM curve 2017-12-24 22:41:57 -05:00
rusefi 7e6d593aea switching to target RPM curve 2017-12-24 22:14:08 -05:00
rusefi fb6cb5b2cf switching to target RPM curve 2017-12-24 22:05:16 -05:00
andreika-git e9c8a2a6a8 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 f8014b2a1a fix #514 2017-12-17 15:41:58 -05:00
rusefi 2230a232c6 FSIO usability 2017-12-17 12:02:35 -05:00
rusEfi ba9d3c06a6 code style 2017-12-03 15:31:11 -05:00
rusefi b9e845db0c another board testing approach 2017-12-02 20:59:31 -05:00
rusefi b1db389be2 fix #490 2017-11-27 21:49:58 -05:00
rusefi eadad9d916 #490 2017-11-26 01:17:37 -05:00
rusefi 05ba9966e7 better enum name 2017-11-19 17:54:00 -05:00
rusEfi 2bc7dc9eff #495 todo clean-up 2017-11-19 15:24:36 -05:00
rusefi 72df70cb48 #495
compacting data structure without changing the size yet
2017-11-19 12:07:07 -05:00
rusefi a6ed13cb60 #490 2017-11-19 11:32:05 -05:00
rusefi 6d86f14d4a refactoring - better variable name 2017-11-19 10:23:47 -05:00
Matthew Kennedy 8a5036f9bf Implement oil pressure sensor (#491)
* code changes

* config changes
2017-11-15 14:30:13 -05:00
rusefi 5a51e0e1bb #442 2017-08-31 07:53:41 -04:00
rusefi 5faad39810 #473 2017-08-18 16:18:11 -04:00
rusefi 52544462ec #473 2017-08-17 02:56:25 -04:00
rusefi 7b0814276e fixing build 2017-08-06 19:47:16 -04:00
rusefi 4444b7444f better constant name 2017-08-06 19:43:01 -04:00
rusefi 29b9af9a6e refactoring 2017-08-06 19:39:24 -04:00
rusefi 59cb74193a startOfCrankingPrimingPulse 2017-07-15 15:36:49 -04:00
andreika-git 810509440d onConfigurationChangeTriggerCallback() (#448)
* onConfigurationChangeTriggerCallback()

* conform isTriggerConfigChanged

* #if EFI_EMULATE_POSITION_SENSORS

* Now it works!

* svnversion
2017-06-26 21:31:10 +03:00
rusefi 74e5a3cc90 refactoring: better name 2017-06-26 09:23:26 +03:00
rusefi bcceaeaf9b refactoring: better name 2017-06-26 09:14:31 +03:00
andreika-git d3895fd4c1 Fsio progress (#449)
* gen_config.bat

* FSIO: fuelPump & mainRelay progress

* typo
2017-06-25 08:35:46 +03:00
rusefi bd026d534f mapMinBufferLength 2017-06-22 09:29:52 +03:00
rusefi c6c8212ad1 #351 2017-06-13 10:40:16 -04:00
rusefi 5e9ed07904 configurable stepper pulse 2017-06-12 18:31:55 -04:00
rusefi 0c4fc55e7a #442 2017-06-12 08:41:32 -04:00
rusefi 87d213f9b2 reducing code duplication 2017-06-11 15:27:23 -04:00
rusefi 6a4d69acc8 reducing code duplication 2017-06-11 15:17:02 -04:00
rusefi 53d1b39a1c reducing code duplication 2017-06-11 15:13:03 -04:00
rusefi 9273a5c8d7 better method name 2017-06-11 15:06:05 -04:00
rusefi be44198033 default TPS2TPS map 2017-06-11 00:54:37 -04:00
rusefi 543d9c06f5 #4 2017-06-04 20:13:37 -04:00
Andrei e24b8736c9 Separate Serial & sdCard configs for bootloader use 2017-05-30 20:50:33 +03:00
rusefi 3fb5167f7a PID storage refactoring - minor incompatible storage change 2017-05-28 22:32:32 -04:00
rusefi 53a6ebf7cc ETB 2017-05-28 14:22:43 -04:00
rusefi 99d82d9e4e #4 idle min/max 2017-05-28 13:44:26 -04:00
rusefi 7c7cd41471 ETB online settings 2017-05-27 23:01:41 -04:00
rusefi 55a6cbce5d #4 2017-05-16 22:13:40 -04:00
rusefi f8e592f454 better macro name 2017-05-15 23:28:49 -04:00
rusefi 0796baf64c #415 2017-05-15 04:53:04 -04:00
rusefi c9550a9cd1 more idle air by default 2017-05-11 22:58:06 -04:00
rusefi 560ab5d5c4 fixing unit tests 2017-05-11 19:15:47 -04:00
rusefi e969fcc129 andreika canNbcType feedback 2017-05-11 19:07:15 -04:00
rusefi 89bfc75ce7 refactoring: splitting long method 2017-05-11 19:03:31 -04:00
rusefi 9656861338 refactoring: splitting long method 2017-05-11 18:58:13 -04:00
rusefi 43ccd529de getting back to original scale 2017-05-07 19:06:50 -04:00
rusefi 50489c2b4a better cranking defaults 2017-05-07 18:37:44 -04:00
rusefi c82d863cae miata defaults progress 2017-05-07 10:30:05 -04:00
rusefi d62cd26336 Merge branch 'master' of https://github.com/rusefi/rusefi 2017-05-06 16:12:24 -04:00
rusefi ec17015342 prometheus 2017-05-06 16:11:45 -04:00
Andrei 3958c25501 STM32F407xx-define (and small clean-up) pull request 2017-05-01 22:09:35 +03:00