rusefi
c59d8164c6
unit tests progress
2019-09-19 21:41:52 -04:00
rusefi
bda089011c
unit tests progress
2019-09-19 08:05:23 -04:00
rusefi
f48f60bb36
unit tests progress
2019-09-18 21:48:46 -04:00
rusefi
dfc0743e9a
Delayed A/C compressor switch #922
...
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi
2349ea237a
Delayed A/C compressor switch #922
2019-09-11 19:30:36 -04:00
rusefi
162264fe08
progress towards idle unit test
2019-08-29 23:50:20 -04:00
rusefi
2804b31e7e
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusefi
1cc50b1dea
unit tests code coverage #653
2019-08-26 10:45:34 -04:00
rusefi
24b6f08979
unit tests code coverage #653
2019-08-25 23:31:39 -04:00
rusefi
94d0b80c63
unit tests code coverage #653
2019-08-25 21:53:37 -04:00
osboxes.org
1bb14b22c7
gcov
2019-08-25 21:51:22 -04:00
rusefi
fcb4aa453a
gcov progress
2019-08-25 21:34:04 -04:00
osboxes.org
d9e49f3e5a
mint
...
lease enter the commit message for your changes. Lines starting
2019-08-25 21:18:06 -04:00
rusefi
e17b6967c6
unit tests code coverage #653
2019-08-25 21:10:39 -04:00
rusefi
1fbd3dec45
unit_tests to init git modules
2019-08-25 20:15:14 -04:00
rusefi
c3d9330696
unit_tests are failing under 32 bit mingw-w64 fix #905
2019-08-25 17:38:08 -04:00
rusefi
47dba2f576
unit_tests are failing under 32 bit mingw-w64 #905
2019-08-25 17:23:53 -04:00
rusefi
cde33df1a0
Gcov ( #906 )
...
* trying to get gcov working
* unit tests code coverage #653
* unit tests code coverage #653
progress :(
* unit tests code coverage #653
2019-08-25 16:53:13 -04:00
rusefi
ef6c0ead20
unit tests code coverage #653
...
See https://stackoverflow.com/questions/57643813/cannot-get-gcov-to-produce-any-coverage-data
2019-08-25 10:21:36 -04:00
rusefi
9d3805eafc
readme
2019-08-25 02:49:11 -04:00
rusefi
9161703598
reducing unit test noise
2019-08-25 02:01:09 -04:00
rusefi
eedf2dffcb
reducing unit test noise
2019-08-25 01:19:23 -04:00
rusefi
8a4d3f9896
reducing unit test noise
2019-08-25 01:15:18 -04:00
rusefi
415c2caae7
questionable readablity improvement
2019-08-25 00:37:05 -04:00
rusefi
ee41d37c08
code style/type safety/docs/typos
2019-08-10 11:13:41 -04:00
rusefi
f0c318aafd
WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898
2019-08-08 23:11:56 -04:00
rusefi
e0acec2a63
WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
...
fatal error is the best I can come up with quickly
2019-08-08 22:57:22 -04:00
rusefi
539cd8b1c7
current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :(
2019-08-08 22:33:52 -04:00
rusefi
121ad9b786
fixing build & taking a safer route
2019-08-08 22:12:51 -04:00
rusefi
7d73c6a8a9
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi
643cc24931
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
more refactoring
2019-08-08 00:32:31 -04:00
rusefi
f8a3d900dc
migrating to google test
2019-07-25 00:28:04 -04:00
rusefi
4210754280
removing least useful engine configurations
2019-07-25 00:18:39 -04:00
rusefi
358a50a961
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 22:33:30 -04:00
rusefi
0306255013
CBR600 trigger progress
2019-07-23 19:22:40 -04:00
rusefi
aca4081507
FIRMWARE_ID
2019-07-13 14:08:08 -04:00
rusefi
7cc040afe0
better variable names & fixing build
2019-07-13 08:19:00 -04:00
rusefi
04bc1128df
support multiple VVT sensors #885
...
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
Matthew Kennedy
77075fce3d
Fix some maf logic ( #880 )
...
* fix maf
* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
Matthew Kennedy
e0db83e027
Template-ize bin/value length for interpolation ( #878 )
...
* update consumers
* tests
* whitespace
* format
2019-07-09 21:16:36 +03:00
rusefi
c2d3f9729e
reviving unit tests
2019-07-06 21:00:34 -04:00
rusefi
b81c60cf3e
Refactoring: OS access should be explicit #867
2019-07-03 21:48:04 -04:00
rusefi
452455fc99
Missing dwell altogether in some corner cases #796
...
skeleton
2019-07-01 15:04:39 -04:00
rusefi
37a9e66bc1
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-19 22:34:11 -04:00
rusefi
9b1d57adf6
I like static_cast
2019-06-17 10:22:43 -04:00
rusefi
e76706332a
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-15 17:32:11 -04:00
rusefi
47a3577e27
MK clean-up
2019-06-15 16:43:30 -04:00
Matthew Kennedy
e47bc4b952
Fix tunerstudio ratio vs. percent ( #838 )
...
* fix ratio vs pct
* fix idle cranking clt position
* fix defaults
* fix typo
* fix baro corr gauge
* baro default
* fix degree symbols
* fix testFuelMap
* fix testPlainCrankingWithoutAdvancedFeatures
* test testFasterEngineSpinningUp
2019-06-13 09:05:22 -04:00
rusefi
f0bcecea42
fresh googletest
2019-06-02 14:56:32 -04:00
rusefi
3327cf8b4e
progress & fixinig unit tests
2019-06-01 09:11:01 -04:00
rusefi
886a88bad3
fix #799
2019-05-27 16:12:59 -04:00
rusefi
5f642ac254
unit tests should not have global context, including mock values
2019-05-27 15:56:12 -04:00
rusefi
31faecf491
#799 unit test first
2019-05-27 14:55:35 -04:00
rusefi
7b36fc951f
messing with TPS mocking
2019-05-27 14:21:12 -04:00
rusefi
266f8b5176
Multiple sync pattern for faster cranking #679
2019-05-14 19:24:18 -04:00
rusefi
742e532f51
progress
2019-05-12 20:45:02 -04:00
rusefi
b11924952a
more PROD code into unit test
2019-05-12 20:31:28 -04:00
rusefi
faba7ef136
reducing code duplication with unit tests
2019-05-12 20:24:35 -04:00
rusefi
f3349f3163
Multiple sync pattern for faster cranking #679
...
unit test for current status
2019-05-12 19:58:15 -04:00
rusefi
812c61903a
BUG: phase sensor validation attending - detect missing CAM signal fix #659
2019-05-11 00:21:37 -04:00
rusefi
ff1d10dd2e
BUG: phase sensor validation attending - detect missing CAM signal #659
...
preparation
2019-05-10 23:52:55 -04:00
rusefi
1c9a9d35a6
BUG: phase sensor validation attending - detect missing CAM signal #659
2019-05-10 23:20:42 -04:00
rusefi
9d0462897f
Trigger: warning code on normal engine start up #669
2019-05-10 23:12:36 -04:00
rusefi
04afb87610
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
c6198e34ec
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
4e61505620
refactoring unit test
2019-05-10 21:29:17 -04:00
rusefi
5f70acab9f
Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
...
only renaming methods
2019-05-07 17:10:47 -04:00
rusefi
1350a94715
Saab CDM knock signal integration #647
2019-05-05 18:53:34 -04:00
rusefi
70d01ccfe2
adjusting test due to e27f5d36f6
2019-05-04 23:24:19 -04:00
rusefi
ac2a81d381
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
7c3e88c7dc
Try ccache #769
2019-04-20 21:44:00 -04:00
rusefi
4dac92e202
minor fix - same -Wextra twice
2019-04-20 20:32:20 -04:00
rusefi
bc86783b45
TPS/TPS logging delta TPS not consistent with actual logic fix #768
2019-04-20 17:34:23 -04:00
rusefi
5340d9dce2
random cleanup
2019-04-15 19:24:46 -04:00
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