Commit Graph

752 Commits

Author SHA1 Message Date
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