Matthew Kennedy
61c17791b8
joystick, lcd
2023-02-20 21:54:10 -08:00
rusefillc
886ec74442
antilag and anti-lag #2403
...
TurboMarian is the ALS boss
2022-12-21 20:12:00 -05:00
Andrey
e42939560f
sensor_chart into unit tests
2022-11-06 11:28:25 -05:00
rusefillc
07e6d14558
JNI for test coverage #3965
2022-03-15 11:09:54 -04:00
Matthew Kennedy
31c0afc79f
remove mock adc ( #3888 )
...
* remove mock adc
* do these do /anything/?
2022-02-03 20:43:34 -05:00
Matthew Kennedy
57525283ac
Remove FSIO, byeeeeeeeee ( #3865 )
...
* vestigial config
* replace last functionality
* engine/board configs include
* files that didn't need to include this
* remove FSIO implementation
* stragglers
* random little bits
* s
* s
* ConfigDefinition
* jar
* s
2022-02-02 02:03:31 -05:00
Matthew Kennedy
5274cffff3
main relay doesn't use fsio ( #3580 )
...
* fuel pump
* s
* call correct callback
* more dead
* test adjustment
* don't overflow
* don't need separate function
* java
* give it a name
* generated
* generated
* add to generate script
* import *
* this is so cheap we don't need a flag
* main relay
* plumbing
* dead fsio stuff
* test it
* by 100%, we mean 99.98%
2021-11-24 07:47:51 -05:00
Matthew Kennedy
9bd8a19564
oh my god we've had no asserts ( #3595 )
2021-11-22 17:52:03 -05:00
Scott Smith
07d30285fc
Basic framework for high pressure fuel pump control ( #3476 )
...
* Basic framework for high pressure fuel pump control
* Many changes
Move calculations to fast callback
Move main object into Engine
Respond to pin changes without requiring a reboot
* Use EngineModule for HpfpController
Schedule pin off after executing pin on so we are sure it ends, even if the motor stops.
Test scheduling.
Less RAM use by only having one event and reordering fields.
* Make scheduling test actually useful - need non-0 activation angle.
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-11-19 23:06:51 -05:00
Matthew Kennedy
e7956a53f6
fuel pump doesn't use fsio ( #3576 )
...
* fuel pump
* s
* call correct callback
* more dead
* test adjustment
* don't overflow
* don't need separate function
* java
* give it a name
* generated
* generated
* add to generate script
* import *
* this is so cheap we don't need a flag
2021-11-19 22:23:12 -05:00
Matthew Kennedy
e0eff6c66a
unit test vss segfault fix ( #3090 )
...
* enable feature
* dynoview
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-01 15:05:52 -04:00
rusefillc
02e6b4aa7d
Revert "unit test for vehicle_speed.cpp #3081"
...
This reverts commit e656a486
2021-08-01 12:54:44 -04:00
rusefillc
e656a4867e
unit test for vehicle_speed.cpp #3081
2021-08-01 12:20:19 -04:00
Andrey
bd29dedbca
Trigger: warning code on normal engine start up #669
...
making more code unit-testable
2021-06-25 11:50:23 -04:00
Matthew Kennedy
a470c1eec1
lua 5.4 ( #2590 )
...
* thread priority
* build
* makefile prep
* call startup
* lua 5.1
* mk
* 5.3
* mk
* I guess lua does something?
* extract hooks, builds for tests
* a bit of error handling
* guard
* bootloader makefile
* remove lua
* submodule
* submodule update
* builds with submodule
* disabled by default
* h7 chconf
* tweaks
* add a useful hook
* move luaconf
* perf trace lua
* test helpers
* lua unit tests
* include to satiate clang
2021-04-28 22:41:25 -04:00
rusefillc
549839b0de
engine sniffer into unit tests
2021-04-04 22:41:38 -04:00
Matthew Kennedy
7617b115de
Partition configs by board type ( #2106 )
...
* remove old flag
* flags
* reorder switch
* oops
2020-12-22 21:54:40 -05:00
Matthew Kennedy
719e341eeb
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
45205e7da7
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
6b0c533d2c
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
097ca21626
better unit test logging
2020-07-20 13:38:33 -04:00
rusefi
5b75acdaf5
logicdata into unit tests
2020-07-19 22:41:34 -04:00
rusefi
1ae3334980
better unit test logging
2020-07-19 14:26:28 -04:00
rusefi
c1ab5ca585
smart gpio clean-up
2020-04-06 14:13:29 -04:00
rusefi
b40d4d588d
code style
2020-04-01 21:32:21 -04:00
rusefi
42834ba5ec
launch control #203
...
somewhat questionable code
2020-03-23 23:20:54 -04:00
Matthew Kennedy
6db8978667
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
a222ecdfe1
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
95e8f4227b
making F4 and else happier with perf_trace, also maybe missing 'break'?
2019-11-19 20:36:47 -05:00
rusefi
6f8b82e8ed
preparing for #974
...
code comments & refactoring
2019-10-14 18:32:16 -04:00
rusefi
791c1423b0
preparing for #974
...
code comments & refactoring
2019-10-14 09:09:08 -04:00
rusefi
1ff2a320ab
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 16:52:22 -04:00
rusEfi
b46c5b4960
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 07:58:03 -04:00
rusefi
03d71bedeb
reducing complexity
2019-09-20 01:06:15 -04:00
rusefi
ee2b14bdc6
unit tests progress
2019-09-19 21:55:27 -04:00
rusefi
afdeecb87e
progress towards idle unit test
2019-08-29 23:50: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
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
dce2e17f1b
#655 clean-up
2019-01-09 00:25:45 -05:00
rusefi
a1d834130e
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
e3acb434c0
#617
2019-01-03 07:22:21 -05:00
rusefi
e75feb330d
3 hours of my life :(
2018-12-08 17:19:20 -05:00
rusefi
f2165da28e
new configurable option EFI_TEXT_LOGGING
2018-09-16 23:54:14 -04:00
rusefi
d94f34bef8
refactoring
2018-03-04 23:08:32 -05:00
rusefi
72cc52add6
reducing global state in unit tests
2018-03-04 21:32:48 -05:00
rusefi
bafb44d276
refactoring - reducing GPIO complexity
2017-04-21 15:14:37 -04:00
rusefi
e567d7fb22
standard header
2017-03-05 21:59:00 -05:00
rusEfi
390e08b3d6
auto-sync
2017-01-06 11:02:49 -05:00
rusEfi
a251c0abf3
auto-sync
2016-10-31 21:02:36 -04:00
rusEfi
41e7abdd6f
auto-sync
2015-07-10 09:01:56 -04:00