Commit Graph

711 Commits

Author SHA1 Message Date
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
rusefi b45590c0db Multiple sync pattern for faster cranking #679 2019-02-03 21:19:47 -05:00
rusefi 14289f3686 Migrate to Chibios 18 stable #631
removing unused ChibiOS references
2019-02-03 21:19:26 -05:00
rusefi bc43d29143 refactoring: reducing code duplication 2019-02-03 09:20:36 -05:00
rusefi 4119733a5d refactoring: reducing code duplication 2019-02-03 09:19:17 -05:00
rusefi 4fa48c0ca7 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi 651fb14c51 Multiple sync pattern for faster cranking #679 2019-02-03 00:50:10 -05:00
rusefi e4e47ae833 CJ125 unit-tests coverage #617 2019-02-02 01:06:45 -05:00
rusefi 4796942097 CJ125 unit-tests coverage #617 2019-02-01 23:48:11 -05:00
rusefi 6992480f74 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi cb559a3259 #657 fixing fresh defect 2019-02-01 22:55:35 -05:00
rusefi cf4f458cd9 maybe fixing CI logic? 2019-02-01 22:40:24 -05:00
rusefi 379dd26d69 fresh googletest 2019-01-28 15:49:58 -05:00
rusefi c50b16ba39 #657 2019-01-28 02:59:14 -05:00
rusefi 57c6b75e81 #657 pulling global access down 2019-01-28 00:44:30 -05:00
rusefi 6607b833f7 #657 2019-01-27 23:41:46 -05:00
rusefi e78bdb9005 #657 2019-01-27 23:24:40 -05:00
rusefi abd4b8c4b4 fresh googletest 2019-01-27 21:58:02 -05:00
rusefi ae88cbf7eb 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 8642195e10 state validation progress 2019-01-22 23:15:33 -05:00
rusefi a1da311f34 unit tests framework fix 2019-01-22 23:09:34 -05:00
rusefi 6c58be4213 something is not right here :( 2019-01-21 22:45:37 -05:00
rusefi 6b67ce6e20 testing API improvement (?) 2019-01-21 22:34:17 -05:00
rusefi 03f659d116 refactoring around GET_RPM 2019-01-21 22:32:30 -05:00
rusefi 53e8d10c55 refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi ad64e1b410 refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi 730c21be38 micro test refactoring 2019-01-21 19:15:17 -05:00
rusefi 728e7ffa79 tiny spinning progress 2019-01-21 15:34:39 -05:00
rusefi 141e392a05 refactoring: reducing header tree hell 2019-01-20 23:44:05 -05:00
rusefi 248902894f future fast spinning 60/2 test 2019-01-20 22:21:12 -05:00
rusefi 6244cda6b4 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi 8beae89bcb FSIO testability and test-driven development 2019-01-19 22:09:37 -05:00