Commit Graph

1146 Commits

Author SHA1 Message Date
rusefi 46ee5a34e8 unit tests progress 2019-09-19 21:55:27 -04:00
rusefi c59d8164c6 unit tests progress 2019-09-19 21:41:52 -04:00
rusefi bda089011c unit tests progress 2019-09-19 08:05:23 -04:00
rusefi f48f60bb36 unit tests progress 2019-09-18 21:48:46 -04:00
rusefi dfc0743e9a Delayed A/C compressor switch #922
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi 2349ea237a Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
rusefi 162264fe08 progress towards idle unit test 2019-08-29 23:50:20 -04:00
rusefi 2804b31e7e cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusefi 1cc50b1dea unit tests code coverage #653 2019-08-26 10:45:34 -04:00
rusefi 24b6f08979 unit tests code coverage #653 2019-08-25 23:31:39 -04:00
rusefi 94d0b80c63 unit tests code coverage #653 2019-08-25 21:53:37 -04:00
osboxes.org 1bb14b22c7 gcov 2019-08-25 21:51:22 -04:00
rusefi fcb4aa453a gcov progress 2019-08-25 21:34:04 -04:00
osboxes.org d9e49f3e5a mint
lease enter the commit message for your changes. Lines starting
2019-08-25 21:18:06 -04:00
rusefi e17b6967c6 unit tests code coverage #653 2019-08-25 21:10:39 -04:00
rusefi 1fbd3dec45 unit_tests to init git modules 2019-08-25 20:15:14 -04:00
rusefi c3d9330696 unit_tests are failing under 32 bit mingw-w64 fix #905 2019-08-25 17:38:08 -04:00
rusefi 47dba2f576 unit_tests are failing under 32 bit mingw-w64 #905 2019-08-25 17:23:53 -04:00
rusefi cde33df1a0
Gcov (#906)
* trying to get gcov working

* unit tests code coverage #653

* unit tests code coverage #653
progress :(

* unit tests code coverage #653
2019-08-25 16:53:13 -04:00
rusefi ef6c0ead20 unit tests code coverage #653
See https://stackoverflow.com/questions/57643813/cannot-get-gcov-to-produce-any-coverage-data
2019-08-25 10:21:36 -04:00
rusefi 9d3805eafc readme 2019-08-25 02:49:11 -04:00
rusefi 9161703598 reducing unit test noise 2019-08-25 02:01:09 -04:00
rusefi eedf2dffcb reducing unit test noise 2019-08-25 01:19:23 -04:00
rusefi 8a4d3f9896 reducing unit test noise 2019-08-25 01:15:18 -04:00
rusefi 415c2caae7 questionable readablity improvement 2019-08-25 00:37:05 -04:00
rusefi ee41d37c08 code style/type safety/docs/typos 2019-08-10 11:13:41 -04:00
rusefi f0c318aafd WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898 2019-08-08 23:11:56 -04:00
rusefi e0acec2a63 WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
fatal error is the best I can come up with quickly
2019-08-08 22:57:22 -04:00
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 643cc24931 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:32:31 -04:00
rusefi f8a3d900dc migrating to google test 2019-07-25 00:28:04 -04:00
rusefi 4210754280 removing least useful engine configurations 2019-07-25 00:18:39 -04:00
rusefi 358a50a961 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:33:30 -04:00
rusefi 0306255013 CBR600 trigger progress 2019-07-23 19:22:40 -04:00
rusefi aca4081507 FIRMWARE_ID 2019-07-13 14:08:08 -04:00
rusefi 7cc040afe0 better variable names & fixing build 2019-07-13 08:19:00 -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 77075fce3d Fix some maf logic (#880)
* fix maf

* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03: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 c2d3f9729e reviving unit tests 2019-07-06 21:00:34 -04:00
rusefi b81c60cf3e Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi 452455fc99 Missing dwell altogether in some corner cases #796
skeleton
2019-07-01 15:04:39 -04:00
rusefi 37a9e66bc1 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-19 22:34:11 -04:00
rusefi 9b1d57adf6 I like static_cast 2019-06-17 10:22:43 -04:00
rusefi e76706332a Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-15 17:32:11 -04:00
rusefi 47a3577e27 MK clean-up 2019-06-15 16:43:30 -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 f0bcecea42 fresh googletest 2019-06-02 14:56:32 -04:00
rusefi 3327cf8b4e progress & fixinig unit tests 2019-06-01 09:11:01 -04:00
rusefi 886a88bad3 fix #799 2019-05-27 16:12:59 -04:00
rusefi 5f642ac254 unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi 31faecf491 #799 unit test first 2019-05-27 14:55:35 -04:00
rusefi 7b36fc951f messing with TPS mocking 2019-05-27 14:21:12 -04:00
rusefi 266f8b5176 Multiple sync pattern for faster cranking #679 2019-05-14 19:24:18 -04:00
rusefi 742e532f51 progress 2019-05-12 20:45:02 -04:00
rusefi b11924952a more PROD code into unit test 2019-05-12 20:31:28 -04:00
rusefi faba7ef136 reducing code duplication with unit tests 2019-05-12 20:24:35 -04:00
rusefi f3349f3163 Multiple sync pattern for faster cranking #679
unit test for current status
2019-05-12 19:58:15 -04:00
rusefi 812c61903a BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi ff1d10dd2e BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi 1c9a9d35a6 BUG: phase sensor validation attending - detect missing CAM signal #659 2019-05-10 23:20:42 -04:00
rusefi 9d0462897f Trigger: warning code on normal engine start up #669 2019-05-10 23:12:36 -04:00
rusefi 04afb87610 Trigger: warning code on normal engine start up #669
avoiding CUSTOM_OBD_SKIPPED_FUEL fot triggers without synchronizaiton
2019-05-10 22:55:08 -04:00
rusefi c6198e34ec BUG: phase sensor validation attending - detect missing CAM signal #659
refactoring and unit test first phase
2019-05-10 21:56:33 -04:00
rusefi 4e61505620 refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi 5f70acab9f Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
only renaming methods
2019-05-07 17:10:47 -04:00
rusefi 1350a94715 Saab CDM knock signal integration #647 2019-05-05 18:53:34 -04:00
rusefi 70d01ccfe2 adjusting test due to e27f5d36f6 2019-05-04 23:24:19 -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 7c3e88c7dc Try ccache #769 2019-04-20 21:44:00 -04:00
rusefi 4dac92e202 minor fix - same -Wextra twice 2019-04-20 20:32:20 -04:00
rusefi bc86783b45 TPS/TPS logging delta TPS not consistent with actual logic fix #768 2019-04-20 17:34:23 -04:00
rusefi 5340d9dce2 random cleanup 2019-04-15 19:24:46 -04:00
rusefi e236a65525 cj125 and hip125 and else SPI broken with chibi18 migration fix #757 2019-04-14 18:35:39 -04:00
rusefi d61c61d95c random cleanup 2019-04-14 15:16:44 -04:00
rusefi ae711e3a52 smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:35:02 -04:00
dron0gus a122451301 unit test compilation fix under linux (#747) 2019-04-12 22:08:52 +02:00
rusefi 5316d7ad6a The Big Refactoring of 2019: folder structure #723 2019-04-09 23:01:45 -04:00
rusefi e0c9493dd9 The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi be926cb792 reviving unit tests. too bad unit tests are coupled with cranking base fuel values :( 2019-04-04 09:17:12 -04:00
rusefi be9651cb95 The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi 372eb51f37 The Big Refactoring of 2019: folder structure #723 2019-03-31 17:14:53 -04:00
rusefi 56d026b8e2 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:33:16 -04: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
rusefi bd2b992918 unifying_file_naming 2019-03-29 09:11:13 -04:00
andreika-git 4b5ed3e0e1 Tps-accel. fractional mode (#715)
* Add new config settings for tps_accel_fractional_mode

* Add new variables for the fractional algo

* Add resetFractionValues() method

* Call onEngineCycleTps() and fix onEngineCycle()

* Implement the fractional algo

* More debug outputs for tps-enrich

* Nice & juicy unit-test!
2019-03-28 22:47:20 -04:00
andreika-git c34d7cac48 More compatibility for ADC_inputs, etc. (#716)
* Move STM32-specific ADC pinouts to ports/stm32/stm32_common.cpp

* Move STM32-specific files to ports/*

* setAdcChannelOverrides()

* Add #ifdefs for adc_inputs (PWM_FREQ_*, PWM_PERIOD_*, ADC_*_DEVICE)

* addChannel(), removeChannel()

* fix tle6240 compilation

* Add stm32_common.cpp to Makefile

* More ports/stm32/* paths

* More ports/stm32/* paths

* More flexible GPIO ports

* Add #ifdef for GPTDEVICE

* EFI_BOARD_TEST and EFI_JOYSTICK

* EFI_TLE8888

* Fix HIP9011_logic compilation

* ADC_CHANNEL_SENSOR

* Move ioportid_t PORTS[] to ports/*

* Fix simulator
2019-03-28 22:46:10 -04: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 653a735eab refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
dron0gus 70ebc06517 gpiochips API, core and unit test (#703)
* Add external gpiochips driver API and core

* gpiochips: add unit test
2019-03-12 10:12:37 -04:00
rusefi d0fce6bd07 docs 2019-03-04 00:14:55 -05:00
rusefi e7e729c7cf #699 2019-02-28 21:17:35 -05:00
rusefi cf8ddde1ce #699 2019-02-28 21:09:31 -05:00
rusefi ec6bde7c26 #699
more googletest to unit tests
2019-02-28 20:31:48 -05:00
rusefi d1753b4860 #699 2019-02-28 19:48:38 -05:00
rusefi 5813168e30 #699 2019-02-28 19:42:15 -05:00
rusEfi 830e733053 fix #698 2019-02-27 17:12:52 -05:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi 39663a60d2 fresh modules 2019-02-21 06:10:38 -05:00
rusefi 9325cd6d23 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi ce235a9c29 progress 2019-02-09 16:41:48 -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 d2677290af Multiple sync pattern for faster cranking #679 2019-02-03 21:19:47 -05:00
rusefi eb96dafa42 Migrate to Chibios 18 stable #631
removing unused ChibiOS references
2019-02-03 21:19:26 -05:00
rusefi ff0fee71eb refactoring: reducing code duplication 2019-02-03 09:20:36 -05:00
rusefi 541d63fe89 refactoring: reducing code duplication 2019-02-03 09:19:17 -05:00
rusefi 3127b6fd24 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi 2a0d5e4749 Multiple sync pattern for faster cranking #679 2019-02-03 00:50:10 -05:00
rusefi e9a1341782 CJ125 unit-tests coverage #617 2019-02-02 01:06:45 -05:00
rusefi 2b852ea48e CJ125 unit-tests coverage #617 2019-02-01 23:48:11 -05:00
rusefi 3b5a07c9d6 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi c2f48b1a56 #657 fixing fresh defect 2019-02-01 22:55:35 -05:00
rusefi 7ff2ff31a0 maybe fixing CI logic? 2019-02-01 22:40:24 -05:00
rusefi a498987d6e fresh googletest 2019-01-28 15:49:58 -05:00
rusefi de2eb04519 #657 2019-01-28 02:59:14 -05:00
rusefi 9a3441f11b #657 pulling global access down 2019-01-28 00:44:30 -05:00
rusefi af518d7978 #657 2019-01-27 23:41:46 -05:00
rusefi db63471651 #657 2019-01-27 23:24:40 -05:00
rusefi dd67a2a27f fresh googletest 2019-01-27 21:58:02 -05:00
rusefi 14199080b1
Trigger rabbit hole (#682)
fix #681

* this did not work right

* progress: spinning is detected sooner now

* and now things are much better?

* and now reducing RAM usage
2019-01-24 21:12:55 -05:00
rusefi f7a2cc9e63 state validation progress 2019-01-22 23:15:33 -05:00
rusefi 34e97c5d8e unit tests framework fix 2019-01-22 23:09:34 -05:00
rusefi 6f0c0fcf68 something is not right here :( 2019-01-21 22:45:37 -05:00
rusefi 358af4ff89 testing API improvement (?) 2019-01-21 22:34:17 -05:00
rusefi d15399bba4 refactoring around GET_RPM 2019-01-21 22:32:30 -05:00
rusefi 53b5c08c0a refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi 7a20bda66f refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi 1b8217392c micro test refactoring 2019-01-21 19:15:17 -05:00
rusefi 7e909205b6 tiny spinning progress 2019-01-21 15:34:39 -05:00
rusefi db80801191 refactoring: reducing header tree hell 2019-01-20 23:44:05 -05:00
rusefi 3697fc6052 future fast spinning 60/2 test 2019-01-20 22:21:12 -05:00
rusefi 28bde6f084 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi 5b18f9f360 FSIO testability and test-driven development 2019-01-19 22:09:37 -05:00
rusefi 082e7d268d tests: reducing code duplication 2019-01-19 20:42:29 -05:00
rusefi ba3ebfb477 tests: moving away from global timeNowUs 2019-01-19 20:34:28 -05:00
rusefi beb84cfff9 #538 2019-01-19 20:29:10 -05:00
rusefi 78f4a68d3a #674 fix? 2019-01-19 19:45:35 -05:00
rusefi d299d02240 #35 progress 2019-01-19 11:28:37 -05:00
rusefi 8b66bdc86b #35 unit tests 2019-01-19 09:40:39 -05:00
rusefi c6f19d77be #35 unit tests 2019-01-19 09:14:48 -05:00
rusefi 82131d590c microprogress 2019-01-17 22:59:17 -05:00
rusefi e4234bc004 trying ideas about testability 2019-01-17 00:24:41 -05:00
rusefi c852686f00 fixing typo 2019-01-16 23:36:38 -05:00
rusefi a8b3c8f8d2 refactoring: better location for shared methods 2019-01-15 21:36:13 -05:00
rusefi de2a196dbc migrating to googletest 2019-01-14 23:40:13 -05:00
rusefi f18349cd68 migrating to googletest 2019-01-14 19:02:36 -05:00
rusefi 481fa81071 migrating to googletest 2019-01-14 18:56:32 -05:00
rusefi 38ed23c43f migrating to googletest 2019-01-14 18:38:20 -05:00
rusefi 473f67e907 migrating to googletest 2019-01-14 18:22:31 -05:00
rusefi 9d1fc30857 migrating to googletest 2019-01-14 18:20:20 -05:00
rusefi 6c62f2e25f migrating to googletest 2019-01-14 18:00:59 -05:00
rusefi 05181cd837 migrating to googletest 2019-01-14 17:44:03 -05:00
rusefi 4c9de98100 migrating to googletest 2019-01-14 15:48:47 -05:00
rusefi 4b95e5f124 migrating to googletest 2019-01-14 15:45:35 -05:00
rusefi cc300145b3 migrating to googletest 2019-01-14 15:37:05 -05:00
rusefi 73aa22573e migrating to googletest 2019-01-14 15:31:56 -05:00
rusefi eec142390a docs 2019-01-14 12:59:57 -05:00
rusefi 01095219ba docs 2019-01-14 11:36:46 -05:00
andreika-git 775775e4fd fix! (#673) 2019-01-14 11:33:58 -05:00
rusefi 7ad94ccdc1 Trigger: Question: something strange trigger errors #662
second attempt for CUSTOM_ERR_6696 implementation
2019-01-14 11:30:41 -05:00
rusefi 1d1f1225f9 Trigger: Question: something strange trigger errors #662
undoing unplanned change
2019-01-14 08:59:50 -05:00
rusefi 4b72599e2f Trigger: Question: something strange trigger errors #662
hopefully CUSTOM_ERR_START_STACK fix
2019-01-14 08:57:08 -05:00
rusefi 2bbc5feef4 minor improvement 2019-01-14 00:21:08 -05:00
rusefi c459020fdd minor clean-up 2019-01-13 23:05:03 -05:00
rusefi 5a0079cc6b BUG: phase sensor validation attending #659
future test would live here
2019-01-13 22:52:22 -05:00
rusefi 7d14bb6d57 migrating to googletest 2019-01-13 22:34:36 -05:00
rusefi 1f410ad7cc migrating to googletest 2019-01-13 22:15:21 -05:00
rusefi 2e1d552396 MAF2MAP convestion #538 2019-01-13 01:53:58 -05:00
rusefi f70f9a0559 docs & unit test refactoring 2019-01-12 22:24:29 -05:00
rusefi 85a4307d04 Question: something strange trigger errors #662
unit test progress
2019-01-12 21:36:50 -05:00
rusefi a24566abc5 ooooops I forgot about Jenkins settings! 2019-01-12 21:15:05 -05:00
rusefi d69e796c37 Question: something strange trigger errors #662
unit test progress
2019-01-12 15:51:40 -05:00
rusefi 3ca1c5360f Question: something strange trigger errors #662
reducing warnings in unit tests
2019-01-12 15:32:40 -05:00
rusefi 7f9b3d05b6 different precision with different bitness in compiler? 2019-01-12 15:03:41 -05:00
rusefi fdd9dff136 windows unit tests are now 64 bit 2019-01-12 14:31:55 -05:00
rusefi 9ab1fa069f cyclic_buffer.contains method 2019-01-12 14:01:13 -05:00
rusefi b7917800c8 making warning codes more unit testable 2019-01-12 08:34:38 -05:00
rusefi 5301037f61 new unit test 2019-01-11 19:08:15 -05:00
rusefi d47afe0524 better field name 2019-01-11 01:18:35 -05:00
rusefi 255f85e707 tests refactoring 2019-01-11 01:09:16 -05:00
rusefi f81c1a046e minor tests improvement 2019-01-11 00:47:03 -05:00
rusefi cee7726960 random test refactoring 2019-01-10 23:39:41 -05:00
rusefi 817eb74732 random test refactoring 2019-01-10 23:39:14 -05:00
rusefi 704e7112f4 random test refactoring 2019-01-10 23:33:50 -05:00
rusefi e7ee023d2d reducing global variables in tests 2019-01-10 23:24:36 -05:00
rusefi 1defa2551e reducing global variables in tests 2019-01-10 23:15:24 -05:00
rusefi 7453e5ce5f reducing global variables in tests 2019-01-10 23:09:56 -05:00
rusefi b43237b44b reducing global variables in tests 2019-01-10 22:43:31 -05:00
rusefi 34cfdfd718 reducing global variables in tests 2019-01-10 21:50:13 -05:00
rusefi a32e8a3530 reducing global variables in tests 2019-01-10 21:26:02 -05:00
rusefi 8a2494a646 reducing global variables in tests 2019-01-10 21:19:46 -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 cbd2d69731 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 57993ff1b4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -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 fd9506b4e1 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 20:06:41 -05:00
rusefi 02ac3d14c7 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 20:00:21 -05:00
rusefi bb2132e2c9 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 19:57:12 -05:00
rusefi 38b5ae5b66 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 19:52:01 -05:00
rusefi b3ee5ec945 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 16:42:34 -05:00
rusefi da3d230798 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 16:30:14 -05:00
rusefi 5e896ce279 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 10:36:35 -05:00
rusefi def54ae1ea The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 10:17:35 -05:00
rusefi 68d172a8f1 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:37:16 -05:00
rusefi 970d120a41 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
rusefi 5ffcc396eb The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 07:57:43 -05:00
rusefi 2f01f8759c The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 00:53:54 -05:00
rusefi ba1e1f3275 #655 clean-up 2019-01-09 00:25:45 -05:00
rusefi 5b5f4e124b good enough fix #652 2019-01-08 23:07:00 -05:00
rusefi 70a4d25e0b minor fix 2019-01-08 23:02:04 -05:00
rusefi f68cb90e6c gtest 2019-01-08 22:10:54 -05:00
rusefi 53709e1ef4 docs 2019-01-08 21:40:21 -05:00
rusefi 60e747481f #35 first unit test with a mock! 2019-01-08 01:20:18 -05:00
rusefi 778c1968e7 #35 refactoring towards making class testable 2019-01-08 00:28:53 -05:00
rusefi 21c2695c93 #35 refactoring towards making class testable 2019-01-07 23:55:56 -05:00
rusefi c51af79731 #35 2019-01-07 23:23:50 -05:00
Matthew Kennedy 45d4243636 Improve wall wetting AE to use time constant (#650)
* impruv

* c++17

* add tests, docs
2019-01-06 20:45:51 -05:00
rusefi 1d117c4c34 #652 2019-01-06 20:33:56 -05:00
Matthew Kennedy ae1b19d35f fix (#651) 2019-01-06 19:54:10 -05:00
rusefi 405588e32b new test style 2019-01-06 07:37:29 -05:00
rusefi 970855df56 new test style 2019-01-06 07:37:12 -05:00
rusefi 90baa5ab73 FSIO to stop engine if things are REALLY bad - user-configurable and disabled by default obviously 2019-01-05 23:48:37 -05:00
rusefi aced64810f better folder structure 2019-01-05 21:49:47 -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 fc8755fd5a #35 2019-01-04 19:20:32 -05:00
rusefi d7fefe5979 #35 progress 2019-01-04 09:24:23 -05:00
rusefi b767b4a251 #35 trying new kind of parameter magic 2019-01-04 00:51:32 -05:00
rusefi 9f39c11c75 #34 2019-01-04 00:30:15 -05:00
rusefi 9bf7e90a9e enabling parallel compilation from Eclipse 2019-01-04 00:18:08 -05:00
rusefi e6ac26bf2b better conditional compilation 2019-01-04 00:16:08 -05:00
rusefi 2b8f586276 googletest 2019-01-03 20:14:23 -05:00
rusefi bcea8f519c googletest 2019-01-03 18:37:12 -05:00
rusefi 16acc5bb1d consistency 2019-01-03 18:29:38 -05:00
rusefi 19c3f7370f #617 unit test skeleton 2019-01-03 07:57:34 -05:00
rusefi 02f7380921 #617 2019-01-03 07:22:21 -05:00
rusefi f0344fd16c #625 big step - no more engine dependency from TriggerShape 2018-12-25 22:47:29 -05:00
rusefi 2585e4cad7 #625 2018-12-25 21:05:06 -05:00
rusefi 22734e8f39 #635 2018-12-25 20:09:35 -05:00
rusefi c6c53a02fd #625 progress 2018-12-25 19:13:28 -05:00
rusefi d93ae81f12 bugfix 2018-12-25 18:44:46 -05:00
rusefi 4f416453b1 nicer test messages 2018-12-25 17:26:36 -05:00
rusefi ca17cf994a #635 2018-12-25 10:35:22 -05:00
rusefi a4efd47ba1 #635 better names 2018-12-25 10:13:00 -05:00
rusefi 3a7f719d5c #635 2018-12-24 23:23:45 -05:00
rusefi fe85582767 refactoring 2018-12-24 22:17:13 -05:00
rusefi ab4d6b824c does this help? 2018-12-23 19:31:19 -05:00
rusefi a5b1bf6b8d usability 2018-12-23 01:54:14 -05:00
rusefi 627e0abc91 removing unneeded files 2018-12-15 22:30:49 -05:00
rusefi 3eeaddf4a3 progress 2018-12-08 23:12:37 -05:00
rusefi 2bb110e5e1 fix #129 2018-12-08 23:02:51 -05:00
rusefi 41bcceae40 #129 huge step forward 2018-12-08 22:57:00 -05:00
rusefi 9601578b84 #129 unit test to preserve current state 2018-12-08 22:04:55 -05:00
rusefi fb8f9410f2 #129 current state of PWM 2018-12-08 19:15:24 -05:00
rusefi 82f6bc4151 field rename 2018-12-08 18:35:05 -05:00
rusefi 2235063a13 reducing clutter 2018-12-08 18:11:28 -05:00
rusefi a63c22fddf #129 preparation 2018-12-08 17:30:17 -05:00
rusefi af5a4c50f5 3 hours of my life :( 2018-12-08 17:19:20 -05:00
rusefi d81185ac28 bringing std types together 2018-12-08 15:51:45 -05:00
rusefi 372ba45bed -pedantic 2018-12-08 15:08:40 -05:00
rusefi e7758ae9c1 #628 unit test 2018-12-08 15:08:02 -05:00
rusefi aade11d993 unit tests improvement 2018-12-08 15:03:37 -05:00
rusefi 24b9e0366f docs 2018-12-08 14:32:45 -05:00
rusefi 68bf209f2c docs 2018-12-08 14:17:39 -05:00
rusefi d35f3e763d Merge branch 'master' of https://github.com/rusefi/rusefi 2018-12-08 11:11:21 -05:00
rusefi 58843b5f6c docs 2018-12-08 11:08:41 -05:00
andreika-git b996d848ab Try a virtual 'delay line' imitation for testing (#626) 2018-12-07 20:18:11 -05:00
rusefi 4167cb5d12 unit test refactoring 2018-12-01 11:36:05 -05:00
rusEfi b8e7bac586 unit test for atoff() 2018-11-25 22:20:57 -05:00
rusEfi 1fb9f8d022 how about this? 2018-11-25 22:14:42 -05:00
rusefi 8156e8f752 PID auto tune unit test 2018-11-22 23:42:30 -05:00
rusefi 64a592e507 PID auto tune unit test 2018-11-22 23:06:06 -05:00
rusefi a417be192f PID auto tune unit test 2018-11-22 22:14:32 -05:00
rusefi dcdbd433ab PID auto tune unit test 2018-11-22 18:43:41 -05:00
rusefi 2fa2213227 more docs related to trigger process 2018-11-22 10:25:02 -05:00
rusefi 20c70904a3 migrating to a much nicer pid auto tune lib 2018-11-20 23:19:16 -05:00
rusefi 9ddc017b90 ops 2018-11-18 23:40:39 -05:00
rusefi eba4d7009d code style 2018-11-18 22:38:31 -05:00
rusefi 3ba837fa97 CJ125 unit-tests coverage #617 2018-11-03 13:34:55 -04:00
rusefi d5ddb0bc9d #619 2018-10-30 05:32:13 -04:00
rusefi d5370d03b8 why does this work?! 2018-10-28 17:15:12 -04:00
rusefi ae61b62e51 refactoring: reducing code duplication 2018-10-28 15:07:42 -04:00
rusefi 1c203a948d fix #615 2018-10-25 18:17:47 -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 e08b0fb0e1 test coverage 2018-09-24 23:54:16 -04:00
rusefi 330c82172b new configurable option EFI_TEXT_LOGGING 2018-09-16 23:54:14 -04:00
rusefi cf5e05e7b9 refactoring 2018-09-16 23:10:06 -04:00
rusefi 98c7ad808c refactoring 2018-09-16 22:39:46 -04:00
rusefi 7caf762609 refactoring 2018-09-16 22:00:14 -04:00
rusefi 0244509d79 refactoring 2018-09-16 20:12:25 -04:00
rusefi 4832d893ba error codes 2018-09-10 22:23:16 -04:00
rusefi 95117bcfdc separating data structure from global state 2018-08-31 22:19:19 -04:00
rusefi 52ab8424e7 #604 fix 2018-08-19 11:27:59 -04:00
rusefi ff09188ecc #604 confirming current behaviour 2018-08-19 10:53:25 -04:00
rusefi e009de3376 part of EOL hell 2018-08-08 20:12:58 -04:00
rusefi ff4c027c4f refactoring 2018-07-29 10:27:23 -04:00
rusefi 6bb916d42f refactoring 2018-07-29 10:10:10 -04:00
rusefi dd4f7b8eac refactoring 2018-07-28 20:08:48 -04:00
rusefi 9532077418 refactoring 2018-07-28 20:06:55 -04:00
rusefi 0c1411e271 refactoring 2018-07-28 20:02:01 -04:00
rusefi cdb235cd82 refactoring 2018-07-28 19:51:41 -04:00
rusEfi 745f7ae5cf refactoring 2018-07-28 19:39:00 -04:00
rusEfi 5f4dc1c206 refactoring 2018-07-28 19:37:10 -04:00
rusEfi cf1d5e2f3e refactoring 2018-07-28 19:35:50 -04:00
rusEfi b2b10537c6 helper method 2018-07-28 19:29:13 -04:00
rusEfi 92140f9c8e wider macro usage 2018-07-28 19:21:34 -04:00
rusefi 010099aa0d refactoring 2018-07-28 15:31:01 -04:00
rusefi 3b8ea5311b refactoring 2018-07-28 15:24:07 -04:00
rusefi fc01ae25ef refactoring 2018-07-28 14:33:32 -04:00
rusefi f6b7ce3e91 docs 2018-07-28 14:33:05 -04:00
rusefi ab97f5df07 happy new year 2018-07-28 12:42:37 -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
rusefi 56ec05e37d refactoring - better method name and removing a bit of dead code 2018-04-30 02:22:54 -04:00
andreika-git 58b7fbb96e Noiseless trigger decoder (#592)
* fix typo

* better formatting & tiny fix

* add syncRatioAvg

* add useNoiselessTriggerDecoder setting

* resetAccumSignalData

* isUsefulSignal

* Impl. Noise Filtering for Trigger Decoder

* Unit-tests
2018-04-26 02:11:51 -04: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
andreika-git ac0189270e Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi b590d28e7a #563 fix
#571 unit test coverage
2018-03-05 08:25:20 -05:00
rusefi 06f64484fb #571 I am not getting it 2018-03-04 23:53:48 -05:00
rusefi a0725457f4 progress 2018-03-04 23:42:30 -05:00
rusefi 0b3585047e wat? 2018-03-04 23:36:06 -05:00
rusefi 6f8719a6a6 #571 2018-03-04 23:32:25 -05:00
rusefi 5309d606cd refactoring 2018-03-04 23:08:32 -05:00
rusefi f801345ec7 refactoring 2018-03-04 22:00:32 -05:00
rusefi e6d368d6f7 reducing global state in unit tests 2018-03-04 21:32:48 -05:00
rusefi defb52a6e0 did not mean to change this line 2018-03-04 21:23:44 -05:00
rusefi b42dfaeabc better state reset 2018-03-04 21:10:00 -05:00
rusefi 133b1689bb better state validation 2018-03-04 21:02:35 -05:00
rusefi c26cd3b5cf more details 2018-03-04 20:53:19 -05:00
rusefi 4e361d10e4 progress 2018-03-04 20:15:05 -05:00
rusefi aaa7313f67 unit test reset fix 2018-03-04 20:14:47 -05:00
rusefi 793c4b4e61 #571 2018-03-04 18:12:52 -05:00
rusefi f861d0aabe refactoring unit tests 2018-03-04 16:39:33 -05:00
rusefi f7b3e16d8f refactoring unit tests 2018-03-04 16:38:01 -05:00
rusefi cc889cf315 docs 2018-03-04 16:34:23 -05:00
rusefi 8349897644 refactoring unit tests 2018-03-04 16:30:03 -05:00
rusefi b72e7952cd #571 skeleton 2018-03-04 16:13:23 -05:00
rusefi 22405647ed refactoring unit tests 2018-03-04 15:57:15 -05:00
rusefi c049eea877 fix #570 2018-03-01 06:01:15 -05:00
rusefi 5db803a2bd trigger image progress 2018-02-28 23:31:58 -05:00
rusefi 4c95a14085 docs & names 2018-02-06 01:24:45 +03:00
rusefi d9acdd6a70 better method names 2018-01-28 11:27:33 -05:00
rusefi f0c1c4e628 proper submodule folder name 2018-01-23 23:00:10 -05:00
rusefi 7da05adee0 #463 fixing unit_tests 2018-01-23 21:56:26 -05:00
rusefi 575a608d55 #538 2018-01-21 16:11:39 -05:00
rusefi e78b4f25a1 #538 2018-01-21 00:12:50 -05:00
rusefi 66d5fb896e #538 2018-01-20 23:50:31 -05:00
rusefi 5e5fa70f4f happy new year 2018-01-20 20:42:19 -05:00
rusefi 4a75904a53 happy new year nissan 2018-01-01 23:04:31 -05:00
rusefi 11a53b6fa9 fixing unit test 2017-12-10 15:05:24 -05:00
rusefi 4ab79c3bdb #490 2017-11-26 01:17:37 -05:00
rusefi 9bd52debc0 mock TPS refactoring 2017-11-16 10:29:40 -05:00
rusefi 8851049c0d #487 2017-11-06 22:46:18 -05:00
rusefi 96c401f098 unit test 2017-11-06 22:37:27 -05:00
rusefi 27fb199e66 unit test 2017-11-06 22:33:06 -05:00
rusefi f839afeb54 better field name 2017-11-06 22:29:39 -05:00
rusefi 276df6e481 refactoring: better method name 2017-11-06 21:48:25 -05:00
rusefi d0aa93f5f0 todo 2017-10-08 18:18:07 -04:00
rusefi 32bae64925 progress 2017-09-17 19:34:50 -04:00
rusefi 64162b2719 PID auto tune 2017-09-14 22:07:26 -04:00
rusefi 27136cafe7 PID auto tune 2017-09-14 21:49:26 -04:00
rusefi 20605d8204 PID auto tune 2017-09-14 21:00:28 -04:00
rusefi 4e59049bd1 PID auto tune 2017-09-14 07:58:58 -04:00
rusefi 7a348a23c3 progress 2017-07-07 19:37:13 -04:00
rusefi da707a73ee fixing build 2017-07-06 11:07:30 -04:00
rusefi abbb15978c cranking_rpm unit test 2017-06-26 08:49:11 +03:00
rusefi 758c7461bd better method name 2017-06-11 15:12:41 -04:00
rusefi 9b238e0116 fixing build 2017-06-11 14:49:23 -04:00
rusefi d66bd27f96 refactoring 2017-06-04 15:25:37 -04:00
rusefi 4284c47e0c #435 2017-06-02 22:28:12 -04:00
rusefi 3a340f7ab9 #435 2017-06-02 21:51:38 -04:00
rusEfi 2cc3946169 fixing unit tests 2017-05-29 23:09:52 -04:00
rusefi 52ee60036a better error handling 2017-05-29 11:31:07 -04:00
rusefi 1d24cffbc4 better class name 2017-05-24 07:57:58 -04:00
rusefi b1d17c7da0 removing dead code #4 2017-05-16 20:18:28 -04:00
rusefi 74a359077c better macro name 2017-05-15 23:33:22 -04:00
rusefi 2a9f3cdede better macro name 2017-05-15 23:28:49 -04:00
rusefi d819252dd7 removing unused parameter 2017-05-15 09:35:06 -04:00
rusefi b2d1f3e446 monitorReuse idea is dead 2017-05-15 09:21:40 -04:00
rusefi 21ec952df9 'monitorReuse' idea is dead 2017-05-15 09:09:28 -04:00
rusefi a5c7511e06 2003 unit test 2017-05-12 22:43:49 -04:00
rusefi 098e66b6bb getting back to original scale 2017-05-07 19:06:50 -04:00
rusEfi 3229924e5e docs 2017-04-21 19:05:02 -04:00
rusefi 070475f1ff refactoring - reducing GPIO complexity 2017-04-21 15:14:37 -04:00
rusefi e1a8dcf4a0 refactoring - reducing GPIO complexity 2017-04-21 13:35:06 -04:00
rusefi dd0e8a07a3 ignore file 2017-04-16 12:59:04 -04:00
rusefi 8c6253f198 better constraint validation & refacoting 2017-04-12 23:25:58 -04:00
rusefi 4547dfe3ac better corner case logging, also refactoring 2017-04-12 19:58:29 -04:00
rusefi a328d2e4bf no, it looks fine 2017-04-11 14:47:17 -04:00
rusefi ace9a28a1b do we have a major defect? 2017-04-11 14:34:30 -04:00
rusefi ddb3d4ef19 simple Makefile project for unit_tests 2017-04-10 14:20:11 -04:00
rusefi d6ec061cce removing dead files 2017-04-07 13:50:55 -04:00
rusefi 6d3a943127 removing dead files 2017-04-07 13:40:07 -04:00
rusefi 14270bd0db removing dead file 2017-04-07 13:38:03 -04:00
rusefi 97059c948a fixing CI 2017-04-07 13:30:50 -04:00