Commit Graph

742 Commits

Author SHA1 Message Date
rusefi e557a30193 messing with TPS mocking 2019-05-27 14:21:12 -04:00
rusefi 53f5229423 Multiple sync pattern for faster cranking #679 2019-05-14 19:24:18 -04:00
rusefi bbcc555ac1 progress 2019-05-12 20:45:02 -04:00
rusefi cbc1aef722 more PROD code into unit test 2019-05-12 20:31:28 -04:00
rusefi deead8f8ff reducing code duplication with unit tests 2019-05-12 20:24:35 -04:00
rusefi 74bbda8f9e Multiple sync pattern for faster cranking #679
unit test for current status
2019-05-12 19:58:15 -04:00
rusefi 8b74476c1b BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi 35964c064c BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi 499fb22a31 BUG: phase sensor validation attending - detect missing CAM signal #659 2019-05-10 23:20:42 -04:00
rusefi a696b5d5c5 Trigger: warning code on normal engine start up #669 2019-05-10 23:12:36 -04:00
rusefi 6f3bc5f150 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 b00af69c81 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 767418b93b refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi af7b39154a Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
only renaming methods
2019-05-07 17:10:47 -04:00
rusefi a6fc10910a Saab CDM knock signal integration #647 2019-05-05 18:53:34 -04:00
rusefi 48aefe67d9 adjusting test due to 8c1c892907 2019-05-04 23:24:19 -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 4627cc9c8f Try ccache #769 2019-04-20 21:44:00 -04:00
rusefi 3306f58ed2 minor fix - same -Wextra twice 2019-04-20 20:32:20 -04:00
rusefi 9f64e1c73e TPS/TPS logging delta TPS not consistent with actual logic fix #768 2019-04-20 17:34:23 -04:00
rusefi d4dcfac535 random cleanup 2019-04-15 19:24:46 -04:00
rusefi 37c2fbf1da cj125 and hip125 and else SPI broken with chibi18 migration fix #757 2019-04-14 18:35:39 -04:00
rusefi c7be178b58 random cleanup 2019-04-14 15:16:44 -04:00
rusefi 24733f586c smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:35:02 -04:00
dron0gus 055b82ea07 unit test compilation fix under linux (#747) 2019-04-12 22:08:52 +02:00
rusefi f554572c54 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:01:45 -04:00
rusefi df62ae6a4b The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi 6531c0c6de reviving unit tests. too bad unit tests are coupled with cranking base fuel values :( 2019-04-04 09:17:12 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi 581d3d0c1b The Big Refactoring of 2019: folder structure #723 2019-03-31 17:14:53 -04:00
rusefi 583d189e3b The Big Refactoring of 2019: folder structure #723 2019-03-31 16:33:16 -04: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
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
andreika-git 887580f7e2 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 a3f33f3f0d 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 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 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
dron0gus 68884cc4ae 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 80fbca6f30 docs 2019-03-04 00:14:55 -05:00
rusefi 0fbc8c7adc #699 2019-02-28 21:17:35 -05:00
rusefi 7796c4e72c #699 2019-02-28 21:09:31 -05:00
rusefi 870c4e9d15 #699
more googletest to unit tests
2019-02-28 20:31:48 -05:00
rusefi 1f2ac36ca4 #699 2019-02-28 19:48:38 -05:00
rusefi 1d9720e5e5 #699 2019-02-28 19:42:15 -05:00
rusEfi 0244ccb010 fix #698 2019-02-27 17:12:52 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi fba7f2075f fresh modules 2019-02-21 06:10:38 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 4462fc8e25 progress 2019-02-09 16:41:48 -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