Commit Graph

771 Commits

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