Matthew Kennedy
f128b33694
General purpose PWM: implementation & tests ( #1366 )
...
* config
* significant digits
* renumber enum, no need for a "none"
* ui
* impl base
* error handle MAP
* init & update
* don't need arg
* don't lie about sensor
* fix test build
* test stub
* initialize
* null check
* fix clamping
* test output
* types & enums
* don't need param
* test getOutput
* fix
* output pin instead of brain pin
* default config
2020-04-26 14:06:28 -04:00
rusefi
63403ab741
better error message
2020-04-12 23:24:46 -04:00
rusefi
fb06813e12
DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS
2020-04-10 13:19:54 -04:00
Matthew Kennedy
bc3f0c6b27
More TPS consumers: VE lookup ( #1256 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
* engine load
* ve lookup
* unused
* oops we needed that
* oops needed that too
* mocking
* test mocks
* oops
* helps to use the right sensor
* and cylinder cleanup
* fuel math
* typo
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-04 08:41:09 -04:00
Matthew Kennedy
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy
53679fab54
Finally rename injector_central to bench_test ( #1229 )
...
* bench test rename
* rename consumers
* good lord what are all of these externs doing
* fix tests
2020-03-26 08:03:55 -04:00
Matthew Kennedy
2c809e4475
Remove old monitoring timestamps ( #1217 )
...
* remove monitoring timestamps
* adv map
* fuel calc
* map avg
* printing
* spark logic
* hip 9011
* new traces
* s
* missed a few
2020-03-24 20:19:19 -04:00
rusefi
165160bb40
random header clean-up
2020-03-23 09:00:57 -04:00
Matthew Kennedy
397907a06f
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
rusefi
241d491625
trigger refactoring
2020-01-26 12:02:54 -05:00
rusefi
51ab9f5b57
reducing code duplication
2020-01-26 06:28:33 -05:00
rusefi
080e7e12db
trigger refactoring
2020-01-26 06:12:01 -05:00
rusefi
154b679491
refactoring: de-coupling trigger decoder and engine
2020-01-26 03:48:25 -05:00
rusefi
db2ab72d12
refactoring trigger
2020-01-26 03:33:45 -05:00
rusefi
0f23faba28
trigger refactoring
2020-01-25 02:00:33 -05:00
rusefi
3056154fe6
refactoring trigger
2020-01-23 13:39:50 -05:00
rusefi
cc1c4c9dcb
refactoring - de-coupling trigger
2020-01-22 13:25:35 -05:00
Matthew Kennedy
ba0c48e0ac
use NT_PER_SECOND instead of convert from microseconds ( #1107 )
...
* add NT_PER_SECOND
* missed a few
* inject tooth logger timestamp
* inject
2020-01-19 22:23:41 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
Matthew Kennedy
5c85d53e16
Pass action_s instead of callback/param ( #1084 )
...
* change action
* consumers
* fix test
* didn't mean to add those
* simplify
* fix simulator
* fix sim for real
* oy
* maybe this time the simulator will actually be fixed, for real
* don't rely on undefined behavior
2020-01-07 00:41:18 -05:00
rusefi
73a4a92891
functional testing should not be that darn slow #1076
...
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi
fde9a449cf
random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS
2019-12-21 21:11:09 -05:00
rusefi
6ca549ca34
refactoring & fixing build
2019-12-21 20:43:11 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
c5cfd21a70
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
rusefi
d6471a84bc
Refactor Trigger System #635
...
injecting callback via parameters instead of nasty "bool isInitializingTrigger" field
2019-12-06 01:57:11 -05:00
andreika-git
1808642af1
Starter relay + Hardcoded 'FSIO' + simulator fix ( #1032 )
...
* Starter Relay: gui + built-in FSIO impl.
* Hardcoded 'FSIO' replacement for RAM-limited boards
* fix simulator
2019-11-25 20:08:01 -05:00
rusefi
af60a46229
making progres on angle-based scheduling
2019-11-23 20:36:40 -05:00
rusefi
7b7b46a2a2
refactoring
2019-11-23 18:38:16 -05:00
Matthew Kennedy
93d24dfc0b
Merge remote-tracking branch 'origin/master' into perf-tracing
2019-11-19 16:28:58 -08:00
rusefi
5f9fdfe9a6
Revert "Revert "Performance improvement: call GetBaseFuel less ( #979 )""
...
This reverts commit 7eb9947fd4
.
2019-10-16 23:02:24 -04:00
rusefi
7eb9947fd4
Revert "Performance improvement: call GetBaseFuel less ( #979 )"
...
This reverts commit 95e51f13
2019-10-16 22:29:19 -04:00
Matthew Kennedy
95e51f1399
Performance improvement: call GetBaseFuel less ( #979 )
...
* Remove extra calls to getInjectionDuration
* increase callback frequency
2019-10-16 22:13:10 -04:00
Matthew Kennedy
d6e065f99e
Merge remote-tracking branch 'upstream/master' into perf-tracing
2019-10-14 23:45:39 -07:00
rusefi
5a4c7b38cd
preparing for #974
...
code comments & refactoring
2019-10-14 16:04:28 -04:00
Matthew Kennedy
763b17fb50
experiment
2019-10-11 17:43:21 -07:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
533087f475
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi
e77b703beb
Reinitialize TLE8888 if it resets #904
...
nasty "solution"
2019-09-06 20:30:27 -04:00
rusefi
2804b31e7e
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusefi
70c74bec0d
WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
...
actually ignoring setting for well known triggers
2019-08-17 22:00:01 -04:00
rusefi
f858b26a50
TLE8888 should be re-initialized every time we get +12 volts #901
...
extremely ugly solution but it it works at least with LED blinking test
2019-08-16 23:00:28 -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
643cc24931
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
more refactoring
2019-08-08 00:32:31 -04:00
rusefi
51110b33ad
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
refactoring to begin with, zero logic change
2019-08-08 00:19:09 -04:00
Matthew Kennedy
21d1b25c5e
Remove warmup afr pid ( #879 )
...
* config changes
* actually remove from config
* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi
85e5a7b1e7
one dead line
2019-07-13 09:18:09 -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
cdac02429c
refactoring: better file name
2019-07-06 20:15:49 -04:00
rusefi
4f939bbe4a
refactoring
2019-06-10 11:17:36 -04:00
Matthew Kennedy
95003e9a7b
const, explicit, and override ( #831 )
...
* const, explicit, and override
* more const
* more const
* missed a spot
2019-06-08 09:51:36 -04:00
rusefi
2ac7d748ac
refactoring
2019-05-27 18:58:43 -04:00
rusefi
d7fd0ce6c1
refactoring: better method name
2019-05-07 19:32:08 -04:00
rusefi
541c445a2d
defined(__DOXYGEN__) ? #748
2019-04-12 22:07:03 -04:00
rusefi
be9651cb95
The Big Refactoring of 2019: folder structure #723
2019-03-31 17:44:34 -04:00
rusefi
bd2b992918
unifying_file_naming
2019-03-29 09:11:13 -04:00
rusefi
a6fe81d07f
docs
2019-03-23 08:55:33 -04:00
rusefi
7c1020b17c
random progress
2019-03-14 13:28:51 -04:00
rusefi
da4fb3a19f
better conditional compilation
2019-01-31 17:55:23 -05:00
rusefi
ed4fed57fb
better conditional compilation
2019-01-31 11:57:15 -05:00
rusefi
1d15885448
C++11 and unique method name
2019-01-22 19:07:36 -05:00
rusefi
53b5c08c0a
refactoring around GET_RPM
2019-01-21 21:48:58 -05:00
rusefi
8b0f885a84
I like C++11 :)
2019-01-19 22:31:55 -05:00
rusefi
5b18f9f360
FSIO testability and test-driven development
2019-01-19 22:09:37 -05:00
rusefi
1b0c46aaa7
better fields location, better initialization logic
2019-01-19 21:10:58 -05:00
rusefi
8539ba3271
The Big Refactoring of 2019: configuration version should not be a global variable #656
2019-01-15 21:51:09 -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
756ad521aa
Trigger: Question: something strange trigger errors #662
...
refactoring towards an improvement
2019-01-14 10:58:38 -05:00
rusefi
5f8d8bd8da
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 21:31:59 -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
5b74163136
refactoring around "stopEngine" logic
2019-01-05 23:33:04 -05:00
rusefi
0c6f361181
refacoting: making code more consistent
2019-01-05 00:57:09 -05:00
rusefi
6264358a61
separating engine from not engine
2019-01-05 00:32:56 -05:00
rusefi
19c410387d
making either Matt or compiler or both happier
2019-01-05 00:11:17 -05:00
rusefi
f0344fd16c
#625 big step - no more engine dependency from TriggerShape
2018-12-25 22:47:29 -05:00
rusefi
72f87ce425
#625
2018-12-25 21:18:14 -05:00
andreika-git
23fea3c0c5
STM32 Nucleo144-F767ZI board: Initial support ( #620 )
...
* More EFI_ #ifdefs for config flexibility
* Even more config flexibility
* New firmware/config/stm32f7ems/* files
* New firmware/config/boards/NUCLEO_F767/* files
* New firmware/hw_layer/stm32f7/* files
* Fix for EFI_USB_SERIAL
* Adding #if defined(STM32F7XX)
* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL
* I2Cv2 config changed in F7
* More versatile CCM defines
* Makefiles
* Double #ifs cleanup
* docs
2018-11-16 07:40:06 -05:00
rusefi
f9fb3d8168
CJ125 unit-tests coverage #617
2018-11-03 09:44:34 -04:00
andreika-git
bd40691e67
AirFlow-interpolated tCharge Mode ( #612 )
...
* Add vars & enums
* updateTChargeK()
* limitRateOfChange()
* Impl. AirFlow-interpolated tCharge mode
* Update tsOutputChannels: tCharge & airFlow
* Set default config params
* Unit-tests
* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusefi
1f90cf153d
refactoring
2018-09-16 22:26:57 -04:00
rusefi
36ba17ac1c
#600
2018-07-29 18:02:37 -04:00
rusefi
2795d19fbc
better method name
2018-07-29 16:30:23 -04:00
rusefi
23696ebab1
docs & constraint
2018-07-24 20:22:16 -04:00
rusefi
e3dfcc4df9
more detailed warning
2018-06-12 05:45:11 -04:00
rusefi
426db4ca2b
refactoring: code style in method name
2018-06-12 05:14:19 -04:00
andreika-git
16c4f84d8d
Coasting Fuel Cut-off - Implementation (basic) ( #585 )
...
* Use getRpm() instead of rpmValue - needed for unit-tests
* Impl.
* Defaults
* Unit-tests
2018-03-22 13:37:34 -04:00
andreika-git
ac0189270e
Impl. faster engine spin-up mode (alpha-version) ( #567 )
...
* Impl. faster engine spin-up mode (alpha-version)
* A comment for RPM_LOW_THRESHOLD
* Faster engine stop detection
* Safety check for instant RPM on spinning-up
* rusefi.xml
* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
rusefi
7197d752cc
refactoring: moving code to a better location
2018-02-06 23:47:19 +03:00
rusefi
64b7a51617
#65
...
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi
1d31067d19
happy new year
2018-01-20 20:55:31 -05:00
rusEfi
110f76d85b
avoiding AFR warning
2018-01-16 12:58:35 -05:00
rusEfi
d9fee11d73
bixing build
2017-12-31 20:13:04 -05:00
andreika-git
513202a0af
Fuel consumption impl. (alpha) ( #526 )
2017-12-31 19:25:59 -05:00
andreika-git
58cff1697e
Impl. useSeparateVeForIdle/useSeparateAdvanceForIdle ( #522 )
2017-12-23 12:24:20 -05:00
rusefi
56b6e33eab
#490
2017-11-26 22:30:37 -05:00
rusefi
b1f66d43ce
fixing build
2017-11-24 19:16:00 -05:00
rusefi
405f06a608
#498
2017-11-20 15:01:48 -05:00
Matthew Kennedy
c3c38aa9bd
Implement oil pressure sensor ( #491 )
...
* code changes
* config changes
2017-11-15 14:30:13 -05:00
rusefi
f839afeb54
better field name
2017-11-06 22:29:39 -05:00
rusefi
f5edeb54bf
refactoring & flexibility for cranking low RPM
2017-11-04 19:35:38 -04:00
andreika-git
d4974a783d
Implement postCrankingFuelCorrection ( #485 )
2017-11-02 18:10:42 -04:00
rusEfi
5a6f42d1fa
minor etb
2017-09-17 22:05:03 -04:00
rusefi
1382185a30
#473
2017-08-17 09:10:22 -04:00
rusefi
37d5f51a3a
TCU
2017-08-03 22:30:47 -04:00
rusefi
e1500ea729
#413
2017-07-26 20:27:08 -04:00
rusefi
5e74c8e0bf
FSIO-based timing correction
2017-07-25 20:37:46 -04:00
rusefi
a3b10a0a04
RPM refactoring done
2017-07-08 07:19:26 -04:00
rusefi
148875881b
RPM refactoring
2017-07-06 12:03:17 -04:00
rusefi
73028851dd
RPM refactoring
2017-07-06 08:49:55 -04:00
andreika-git
6f162db2c7
Fix fsio ( #456 )
...
* tiny fix of Engine::checkShutdown()
* fix fsio
2017-07-01 17:29:56 -04:00
andreika-git
77ba93d464
Fsio progress ( #449 )
...
* gen_config.bat
* FSIO: fuelPump & mainRelay progress
* typo
2017-06-25 08:35:46 +03:00
rusEfi
b9a8bfed2b
PID refactoring
2017-05-29 23:15:07 -04:00
rusefi
52ee60036a
better error handling
2017-05-29 11:31:07 -04:00
rusefi
77715046f4
better location for global fuel correction
2017-05-24 23:48:03 -04:00
rusefi
75dc730b0e
#426
2017-05-24 07:35:44 -04:00
rusefi
58a8dfdb42
better field name
2017-05-21 23:17:08 -04:00
rusefi
2a9f3cdede
better macro name
2017-05-15 23:28:49 -04:00
rusefi
7308a4295f
remove unused
2017-05-15 21:25:32 -04:00
rusefi
5c3fe0e77f
#415
2017-05-15 05:08:17 -04:00
rusefi
84716ce672
#412
2017-05-11 08:32:08 -04:00
rusefi
e610a76ff1
telemetry dreams
2017-05-04 17:03:23 -04:00
rusefi
24d5d7c862
better field name
2017-05-02 18:15:19 -04:00
rusefi
065b92f4b6
telemetry dreams
2017-05-01 22:33:20 -04:00
rusefi
e876fd2115
better startup handling
2017-04-19 07:58:22 -04:00
rusefi
8c6253f198
better constraint validation & refacoting
2017-04-12 23:25:58 -04:00
rusefi
d3a5f9b98f
better constraint validation
2017-04-12 18:38:18 -04:00
rusefi
a9fca33dea
refactoring - extracting sensors storage class
2017-03-07 02:24:57 -05:00
rusefi
8eb162cbab
#348 refactoring
2017-03-07 02:01:17 -05:00
rusefi
42b709f4ef
#348 refactoring
2017-03-07 01:54:34 -05:00
rusefi
f7023fca23
usability: better error handling
2017-02-24 19:20:33 -05:00
rusEfi
e77666ef2e
auto-sync
2017-02-18 15:01:47 -05:00
rusEfi
ea0b748e44
auto-sync
2017-02-12 21:04:18 -05:00
rusEfi
2b73087f01
auto-sync
2017-02-09 22:02:07 -05:00
rusEfi
8782c80749
auto-sync
2017-02-09 12:03:46 -05:00
rusEfi
c6664edea7
auto-sync
2017-01-23 00:06:44 -05:00
rusEfi
ef496916f9
auto-sync
2017-01-22 17:03:31 -05:00
rusEfi
54873240ce
auto-sync
2017-01-05 21:12:06 -05:00
rusEfi
55e89f0f31
auto-sync
2017-01-03 06:05:22 -05:00
rusEfi
c869c21ba8
auto-sync
2016-12-18 12:03:48 -05:00
rusEfi
6d6f02036d
auto-sync
2016-12-18 10:02:38 -05:00
rusEfi
dd72915fba
auto-sync
2016-12-06 23:03:39 -05:00
rusEfi
e8cf062755
auto-sync
2016-12-05 22:01:54 -05:00
rusEfi
5b265a67ef
auto-sync
2016-12-01 22:02:50 -05:00
rusEfi
e291bbd846
auto-sync
2016-11-30 23:02:42 -05:00
rusEfi
dd7b864492
auto-sync
2016-11-30 22:06:43 -05:00
rusEfi
070cdef25c
auto-sync
2016-11-29 23:01:55 -05:00
rusEfi
7f1858a57f
auto-sync
2016-11-29 20:02:41 -05:00
rusEfi
2e626bcf9f
auto-sync
2016-11-28 15:01:54 -05:00
rusEfi
3313d2577b
auto-sync
2016-11-04 22:02:42 -04:00
rusEfi
775950e919
auto-sync
2016-11-03 23:02:58 -04:00
rusEfi
dbb8de8b55
auto-sync
2016-10-11 21:03:00 -04:00
rusEfi
065c8529c1
auto-sync
2016-10-10 16:02:39 -04:00
rusEfi
8a83839ca9
auto-sync
2016-10-10 15:02:10 -04:00
rusEfi
e984e7a0c4
auto-sync
2016-10-10 14:02:17 -04:00
rusEfi
53ebcf4c17
auto-sync
2016-09-21 23:03:22 -04:00
rusEfi
b61361ffa2
auto-sync
2016-09-15 20:03:32 -04:00
rusEfi
2befa9b9cc
auto-sync
2016-09-15 09:02:04 -04:00
rusEfi
71c69f3ac3
auto-sync
2016-09-01 00:02:04 -04:00
rusEfi
0e833c4e35
auto-sync
2016-08-30 22:02:21 -04:00
rusEfi
2fc291fb93
auto-sync
2016-08-30 21:02:38 -04:00
rusEfi
ae3daee330
auto-sync
2016-08-28 16:02:34 -04:00
rusEfi
d61835fa46
auto-sync
2016-08-26 18:02:39 -04:00
rusEfi
5e42bdb39f
auto-sync
2016-08-06 01:04:28 -04:00
rusEfi
4324659896
auto-sync
2016-07-14 23:02:55 -04:00
rusEfi
b81b53c00a
auto-sync
2016-07-13 22:02:35 -04:00
rusEfi
a74f74f0c4
auto-sync
2016-07-13 19:03:06 -04:00
rusEfi
ed2cde6869
auto-sync
2016-07-01 21:01:48 -04:00
rusEfi
fed54e5ebe
auto-sync
2016-06-26 20:03:27 -04:00
rusEfi
ab7fe5cefa
auto-sync
2016-06-09 11:02:31 -04:00
rusEfi
85ab91e540
auto-sync
2016-03-11 15:01:58 -05:00
rusEfi
fc9862973c
auto-sync
2016-02-15 18:02:03 -05:00
rusEfi
30df52c8d5
auto-sync
2016-02-10 19:01:47 -05:00
rusEfi
8a89f2723e
auto-sync
2016-02-10 17:01:44 -05:00
rusEfi
a8e40b1531
auto-sync
2016-02-09 00:01:43 -05:00
rusEfi
f6223df68f
auto-sync
2016-02-07 22:04:14 -05:00
rusEfi
d5936a16b8
auto-sync
2016-02-07 16:01:55 -05:00
rusEfi
eeec275bc6
auto-sync
2016-02-06 17:01:38 -05:00
rusEfi
9dd88a1dc1
auto-sync
2016-02-06 12:02:24 -05:00
rusEfi
77f7ad454e
auto-sync
2016-01-30 22:03:36 -05:00
rusEfi
0374941139
auto-sync
2016-01-26 23:01:44 -05:00
rusEfi
d0650ba0e0
auto-sync
2016-01-25 12:01:30 -05:00
rusEfi
b178ee956f
auto-sync
2016-01-25 03:02:33 -05:00
rusEfi
a3ed8d4d8f
auto-sync
2016-01-25 02:03:01 -05:00
rusEfi
f49f8a9bc4
auto-sync
2016-01-23 20:01:39 -05:00
rusEfi
8e082ebe7f
auto-sync
2016-01-23 18:01:40 -05:00
rusEfi
330655478f
auto-sync
2016-01-18 14:01:39 -05:00
rusEfi
4e74e47d90
auto-sync
2016-01-18 12:03:32 -05:00
rusEfi
ead7e3fe24
auto-sync
2016-01-15 00:01:42 -05:00
rusEfi
a538dde81e
auto-sync
2016-01-11 17:01:33 -05:00
rusEfi
2b6e12bc32
auto-sync
2016-01-01 19:02:59 -05:00
rusEfi
32a707db5f
auto-sync
2016-01-01 17:02:49 -05:00
rusEfi
fbdea87819
auto-sync
2015-12-31 16:02:30 -05:00
rusEfi
6d37d84abe
auto-sync
2015-12-26 12:03:13 -05:00
rusEfi
17bef32768
auto-sync
2015-11-11 10:03:21 -05:00
rusEfi
5fc54f3101
auto-sync
2015-07-11 16:01:31 -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
241498d330
auto-sync
2015-07-06 21:33:28 -04:00