Commit Graph

47 Commits

Author SHA1 Message Date
Matthew Kennedy 55ebe223a7
Partition configs by board type (#2106)
* remove old flag

* flags

* reorder switch

* oops
2020-12-22 21:54:40 -05:00
Matthew Kennedy f2426677db
start fuel pump as soon as trigger events happen (#2038)
* switch pump fsio logic

* value collision

* fuel pump in tests

* mock time since trigger

* test fp

* init pin in test

* fix gpio outputs in tests

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
shadowm60 864bd7fa73
Dyno view proposal (#1999)
* DynoView creation

module implementation and unit_tests

* update acc algo

we only calcualte new acceleration value if speed has changed, not on every callback.

* added acceleration ts_channel

* fixed broken unit tests

* fixed accel sign

* review updates

* Update test_dynoview.cpp

fix unit_tests

* Update engine_controller.cpp

Fix .ram4 unused size

* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
Matthew Kennedy bb8650179c
consolidate EFI_UNIT_TEST and friends (#1940)
* restructure

* guard c++

* idle too

* status_loop.h

* consolidate definitions

* use 1/0 instead, check for existence

* missed a few

* dead define

* defs for bootloader
2020-11-11 20:34:39 -05:00
rusefi d52fb0b168 better unit test logging 2020-07-20 13:38:33 -04:00
rusefi 517761320e logicdata into unit tests 2020-07-19 22:41:34 -04:00
rusefi dd3a080d88 better unit test logging 2020-07-19 14:26:28 -04:00
rusefi d3745c0f9e smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi a47dce4025 code style 2020-04-01 21:32:21 -04:00
rusefi 5dce6e7104 launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
Matthew Kennedy 8647abd22b
Add single flag for omitting PnP configs (#1157)
* switch to single enable flag

* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi d3da33517f making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
rusefi 6629b90a7f preparing for #974
code comments & refactoring
2019-10-14 18:32:16 -04:00
rusefi 7bb8bb7f14 preparing for #974
code comments & refactoring
2019-10-14 09:09:08 -04:00
rusefi bce63b112a ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 16:52:22 -04:00
rusEfi 9b98446846 ETB target is using integer values #945
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusefi 0829d70012 reducing complexity 2019-09-20 01:06:15 -04:00
rusefi 46ee5a34e8 unit tests progress 2019-09-19 21:55:27 -04:00
rusefi 162264fe08 progress towards idle unit test 2019-08-29 23:50: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
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 ba1e1f3275 #655 clean-up 2019-01-09 00:25:45 -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 02f7380921 #617 2019-01-03 07:22:21 -05:00
rusefi af5a4c50f5 3 hours of my life :( 2018-12-08 17:19:20 -05:00
rusefi 330c82172b new configurable option EFI_TEXT_LOGGING 2018-09-16 23:54:14 -04:00
rusefi 5309d606cd refactoring 2018-03-04 23:08:32 -05:00
rusefi e6d368d6f7 reducing global state in unit tests 2018-03-04 21:32:48 -05:00
rusefi 070475f1ff refactoring - reducing GPIO complexity 2017-04-21 15:14:37 -04:00
rusefi 01ffbb9b89 standard header 2017-03-05 21:59:00 -05:00
rusEfi 13e255cb50 auto-sync 2017-01-06 11:02:49 -05:00
rusEfi 08650ccdbc auto-sync 2016-10-31 21:02:36 -04:00
rusEfi 969ebbf142 auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 298341e0d1 auto-sync 2015-07-10 08:57:59 -04:00
rusEfi 6f7687ac1d auto-sync 2014-12-31 18:03:30 -06:00
rusEfi 665cf3d575 auto-sync 2014-12-29 20:04:24 -06:00
rusEfi 35a88fddbf auto-sync 2014-12-24 12:05:36 -06:00
rusEfi e9a334af67 auto-sync 2014-12-24 00:03:26 -06:00
rusEfi 2ce4e928b4 auto-sync 2014-11-11 11:03:20 -06:00
rusEfi af6f838ea7 auto-sync 2014-09-13 21:02:41 -05:00
rusefi fdde061d6e auto-sync 2014-08-29 10:52:33 -04:00
rusefi d99a8b501e auto-sync 2014-08-29 10:44:55 -04:00
rusefi 88a5e44abf manual sync 2014-07-09 21:15:49 -04:00
Andrey B 3fcd366ef8 manual sync 2014-04-30 11:05:25 -05:00
rusefi 89850a25f0 newer version 2014-04-22 20:15:29 -05:00
rusefi 70cfbbe538 initial 2014-04-22 17:15:49 -05:00