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
2ae53d1681
better constraint validation
2020-01-19 00:28:58 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
dron0gus
618d6f5a5e
Gpio diagnostic ( #1100 )
...
* enums: add brain_pin_diag_e enum for pin diagnostic
* gpio core: add pin diagnostic call
* gpio: mc33810: add diagnostic support
* gpio: mc33972: add diagnostic support
* gpio: tle6240: add diagnostic
* pin_repository: output diagnostic data for gpio chips
* enums: kinetis: add brain_pin_diag_e enum for pin diagnostic
2020-01-12 10:20:10 -05:00
Matthew Kennedy
ecd240d6f2
AEM X-Series CAN Wideband Support ( #1096 )
...
* aem xseries
* parens to avoid operator precedence issues
* put in cfg
* disable that too
* fix sim/unit
* enough generated for ci
* this will guard correctly
2020-01-12 03:44:37 -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
6e881d53b7
improvements around weird engine types
2019-12-28 23:22:16 -05:00
rusefi
b83816b9ef
laughable gdi progress
2019-12-26 22:30:12 -05:00
rusefi
6f2cc0ef9b
wow dead stuff?
2019-12-24 00:14:10 -05:00
rusefi
7cac985b8b
oh this was OOOOLLLLLDDD
2019-12-24 00:10:28 -05:00
rusefi
cb9fc19f92
that's not a worth a file
2019-12-24 00:03:53 -05:00
rusefi
a81655216b
adding simplicity
2019-12-23 22:40:23 -05:00
rusefi
cf0b12b203
refactoring
2019-12-23 21:58:06 -05:00
rusefi
0a7ec2cf59
Revert "couple of dead lines"
...
This reverts commit 831dbde5
2019-12-23 21:55:08 -05:00
rusefi
831dbde538
couple of dead lines
2019-12-23 21:44:38 -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
0d0298ac98
boring test mule stuff
2019-12-15 22:21:49 -05:00
rusefi
d5b25902d3
Config generation handles padding after packed booleans (bits) wrong
...
#1057
refactoring
2019-12-14 15:33:30 -05:00
rusefi
521b27ff35
codes clean-up
2019-12-14 00:14:36 -05:00
rusefi
9403b2a8fc
fixing build is my most favourite time!
2019-12-13 18:02:24 -05:00
rusefi
236d952335
progress towards ETB controller mocking
2019-12-13 13:52:34 -05:00
rusefi
e9e7a66cf8
etbActualCount logic to handle the scenario where only one ETB is present
2019-12-13 12:50:34 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
Matthew Kennedy
00840d99ec
copyArray helper ( #1048 )
...
* add functions
* uses
* use for proteus
* do it for warmup mult
* do it for cranking settings
* cleanup
2019-12-10 18:04:50 -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
rusefi
de36f76882
The Big Refactoring of 2019: folder structure #723
2019-12-03 23:52:44 -05:00
rusefi
500315b042
refactoring - updating name according to new reality
2019-12-03 14:39:11 -05:00
rusefi
c4027a29f0
codes fix, thank you AndreiKA
2019-12-03 09:05:57 -05:00
rusefi
eb305f0265
#490
2019-12-03 00:29:12 -05:00
Matthew Kennedy
9fdf74bc18
Base configuration for Proteus ( #1040 )
...
* cfg
* add enum value
* add ci
* actually build the board config
* this is pretty close
* proteus case
2019-12-02 23:54:40 -05:00
rusefi
1c96d9541e
refactoring
2019-12-02 23:08:18 -05:00
rusefi
12a828b391
codes clean-up
2019-12-02 20:16:41 -05:00
rusefi
2eab39d3ff
auxFastSensor
2019-12-02 17:49:01 -05:00
rusefi
0583fd0b6c
misc clean-up
2019-12-02 10:03:50 -05:00
rusefi
b04166d173
that's how we can move all fields one by one from boardConfiguration to engineConfiguration
...
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
rusefi
a78dc22bf1
better state validation, better error codes
2019-11-29 23:41:26 -05:00
rusefi
1ab40aec35
one step backwards :)
2019-11-29 01:39:02 -05:00
rusefi
316d7ab63b
steps towards dual ETB
2019-11-29 00:26:17 -05:00
rusefi
784610c5c3
steps towards dual ETB
2019-11-29 00:23:15 -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
andreika-git
9a0b66791b
unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix ( #1029 )
...
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH
* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()
* clutchUpPinMode for unregisterPin()
* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL
* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
rusefi
4411efbb72
firing order tool integration
2019-11-24 23:49:05 -05:00
rusefi
cfcfc851f5
Sporadic error: FATAL error: handleCycleStart #1030
...
more details
2019-11-24 21:45:32 -05:00
rusefi
1cb2f92142
more correct variable names
2019-11-23 23:49:39 -05:00
rusefi
8b34fbee38
docs
2019-11-23 23:42:00 -05:00
rusefi
7ee657d238
aux valves unit test
2019-11-23 22:55:21 -05:00
rusefi
af60a46229
making progres on angle-based scheduling
2019-11-23 20:36:40 -05:00
rusefi
1bb3f2698c
making progres on angle-based scheduling
2019-11-23 19:47:53 -05:00
rusefi
7b7b46a2a2
refactoring
2019-11-23 18:38:16 -05:00
rusefi
aa4967383a
explicit list field to simplify code navigation
2019-11-23 17:04:51 -05:00
rusefi
56ff75004b
consistency
2019-11-23 15:53:22 -05:00
rusefi
e706c999f1
docs
2019-11-23 14:14:17 -05:00
Matthew Kennedy
9ee8616cb0
Use templated array references ( #1027 )
...
* update defs
* consumers, use default params
* setArrayValues in tests
* floats
* test fixing
2019-11-22 23:27:24 -05:00
rusefi
ad7e36c228
refactoring
2019-11-20 01:35:08 -05:00
Matthew Kennedy
93d24dfc0b
Merge remote-tracking branch 'origin/master' into perf-tracing
2019-11-19 16:28:58 -08:00
rusefi
7dfdfc6378
docs & code formatting
2019-11-19 18:17:03 -05:00
rusefi
67b434e43a
v12
2019-11-18 23:45:35 -05:00
rusEfi
c3b793fc55
prometheus cleanup
2019-11-15 00:01:03 -05:00
rusEfi
81167d9945
#pragma once
2019-11-15 00:00:13 -05:00
rusEfi
3530c68a18
M73
2019-11-14 23:58:04 -05:00
rusefi
d318b46d33
unused code
2019-11-13 20:15:02 -05:00
rusefi
4b1c1e72ab
time to panic and revert more
2019-11-12 21:42:44 -05:00
Matthew Kennedy
9ce18d11fe
use static asserts ( #1003 )
2019-11-12 00:39:38 -05:00
rusefi
15a571fb3e
this is not great :(
...
#639
#971
2019-11-11 22:19:35 -05:00
rusefi
410391598e
Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) fix #996
2019-11-10 23:54:08 -05:00
rusefi
8525c48036
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-06 18:26:50 -05:00
rusefi
487acd62de
Missing dwell altogether in some corner cases #796
...
only additional live data here
2019-11-05 23:36:33 -05:00
rusefi
8f5895321c
refactoring
2019-11-05 23:17:44 -05:00
rusefi
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
801b2eb70e
progress towards #961
2019-11-04 22:52:37 -05:00
rusefi
bab1744d1d
progress towards #961
2019-11-04 22:44:52 -05:00
rusefi
2e3e53c613
custom codes cleanup
2019-11-04 09:20:00 -05:00
rusefi
d1afb9b183
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 21:29:12 -05:00
rusefi
22453f8392
nicer enum name
2019-11-03 21:19:13 -05:00
rusefi
a2bee7f46b
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 19:36:56 -05:00
rusefi
06b7524c1d
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 17:25:34 -05:00
rusefi
9c94dd503e
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 17:17:43 -05:00
andreika-git
ee5ee1942c
Kinetis & TLE8888 compatibility & fixes... ( #991 )
...
* TLE8888: More compatibility & postTunerStudioState
* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix
* Kinetis: jump_to_bootloader() impl.
* Kinetis: UART baudrate safety check
* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusefi
4d095d4844
60/2 VW trigger has running issue on 19/10/19 snapshot fix #986
2019-10-30 20:51:20 -04:00
rusefi
7a3369795f
smarter IAC PID
2019-10-30 09:27:12 -04:00
rusefi
0a8a0d0b81
docs
2019-10-26 21:53:22 -04:00
rusefi
88348ebd09
refactoring: reducing code duplication
2019-10-21 23:47:40 -04:00
Matthew Kennedy
10a6d6eb8b
fix wwae ( #980 )
2019-10-17 00:06:54 -04: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
rusefi
344136eea9
preparing for #973
2019-10-16 22:10:38 -04:00
Matthew Kennedy
d6e065f99e
Merge remote-tracking branch 'upstream/master' into perf-tracing
2019-10-14 23:45:39 -07:00
rusefi
d0596388e6
preparing for #961
...
better code style
2019-10-15 02:06:15 -04:00
rusefi
5a4c7b38cd
preparing for #974
...
code comments & refactoring
2019-10-14 16:04:28 -04:00
Matthew Kennedy
f52bdecb80
profile all the things
2019-10-13 13:14:08 -07:00
rusefi
5cb90d0e1b
preparation for #961
...
more unified access to pre-calculated value
2019-10-13 09:59:06 -04:00
Matthew Kennedy
763b17fb50
experiment
2019-10-11 17:43:21 -07:00
rusefi
62577c47da
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
rusefi
71e904e421
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:16:21 -04:00
rusefi
9a26b2eca2
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:37:37 -04:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
4574aaccce
I got carried away, but DEAD CODE?!
2019-10-08 03:14:21 -04:00
rusefi
2acdbf308b
something is over-complicated here? looks like two classes should become one?
2019-10-08 02:56:19 -04:00
rusefi
a65c8c9295
something is over-complicated here? looks like two classes should become one?
2019-10-08 02:35:21 -04:00
rusefi
fbbf8995e4
wow, dead field
2019-10-08 02:17:32 -04:00
rusefi
2b59940161
really not clear what is the best place for these classes
2019-10-08 02:13:52 -04:00
rusefi
4e26bd2fd2
refactoring
2019-10-08 02:01:41 -04:00
rusefi
cd1e87ff41
docs & refactoring
2019-10-08 01:49:42 -04:00
rusefi
ade7ad158a
typo & better field name
2019-10-08 01:36:03 -04:00
rusefi
42dc9e3662
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
53231f7b49
refactoring: smarter C++ initialization
2019-10-08 00:27:49 -04:00
Matthew Kennedy
faa2a481ea
Simplify thermistor config ( #962 )
...
* simplify thermistor config
* fix test
2019-10-02 21:00:10 -04:00
rusefi
c935903162
do not let "Use fixed baro corr from MAP" kill VE fix #960
2019-09-29 09:58:29 -04:00
rusefi
8e3912e6b1
firing order 1-2-7-8-4-5-6-3
2019-09-28 10:25:57 -04:00
rusEfi
89ed15838f
ETB is sticky around zero and does not want to close all the way #943
2019-09-22 23:28:11 -04:00
rusefi
e99955fce5
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 17:43:00 -04:00
rusefi
7d65f1931e
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -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
03b6a6ec58
Merge branch 'master' of https://github.com/rusefi/rusefi
2019-09-22 08:45:03 -04:00
rusefi
1b604359a9
ETB target is using integer values #945
...
refactoring
2019-09-22 08:44:51 -04:00
rusEfi
d5ef749761
s/NULL/nullptr/
2019-09-22 08:22:35 -04:00
rusEfi
f843968636
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -04:00
Matthew Kennedy
f629ec038b
add sensor framework, tests ( #929 )
...
* add framework, tests
* move oil pressure to new way
* add init logic
* brackets on the same line
* spaces -> tabs
* spaces -> tabs for tests
* bracket on same line
* hook up sensor mocking
* add nan check
* fix nan check
* I wrote an essay
* casing
* only init if we have a sensor to init
* style, actually call init
* format
* fix casing
* typo
* implement linear sensor
* wire up producer
* smarter limiting
* setup comments
* add reporting
* doxyfile
* oops
* add adc subscription
* clarity
* fix logic
* multiply voltage
* test styling
* test guards
* remove dependencies
* linear sensor test
* remove unused
* fix merge
* format, implicit convert op
* explicit
* format tests
* fix merge
2019-09-21 14:33:38 -04:00
rusefi
2ce6e900a3
fixing bug from yesterday
2019-09-21 11:09:03 -04:00
rusefi
3ac801f9c5
configurable SD card logging speed
2019-09-20 20:18:22 -04:00
rusefi
36fad3a21e
unit tests progress
2019-09-20 00:25:43 -04:00
rusefi
78b9e5a438
refactoring
2019-09-20 00:17:00 -04:00
rusefi
154092bbf5
unit tests progress
2019-09-19 22:56:54 -04:00
rusefi
bda089011c
unit tests progress
2019-09-19 08:05:23 -04:00
Matthew Kennedy
cce6646cdf
kill ( #935 )
2019-09-14 21:20:36 -04:00
rusefi
664777587b
Most important feature: VAG W12 firing order
2019-09-14 14:47:22 -04:00
rusefi
a6fbc5036a
Delayed A/C compressor switch #922
2019-09-11 20:46:50 -04:00
rusefi
d90f0481b0
one step back :) instant RPM does not look right
2019-09-10 21:35:10 -04:00
rusefi
2818c803b5
fatalErrorPin setting is not used #926
2019-09-09 21:34:15 -04:00
rusefi
e79287f537
Delayed A/C compressor switch #922
2019-09-08 21:05:03 -04:00
rusefi
e77b703beb
Reinitialize TLE8888 if it resets #904
...
nasty "solution"
2019-09-06 20:30:27 -04:00
rusEfi
8126b700de
NB2 progress, ETB Live Docs progress
2019-09-01 19:37:58 -04:00
rusefi
1ffaa8eea2
Live Data progress
2019-09-01 13:56:46 -04:00
rusefi
4858124edb
unified names for generated headers
2019-08-31 23:12:39 -04:00
rusEfi
3851b37be6
NB2 MRE
2019-08-31 18:36:44 -04:00
rusefi
4ddb0aeace
LiveData progress: isChanking & hasEtbPedalPositionSensor
2019-08-31 17:07:21 -04:00
rusefi
162264fe08
progress towards idle unit test
2019-08-29 23:50:20 -04:00
rusefi
b090be14b0
cranking fuel live data fix #911
2019-08-28 00:29:55 -04:00
rusefi
2804b31e7e
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusEfi
1c0d38abef
new feature: check engine light to blink on trigger synchronization
2019-08-18 15:53:38 -04:00
rusEfi
7a7dbb8c30
refactoring: engine sniffer magic constants
2019-08-18 15:04:02 -04:00
rusefi
db724568db
refactoring: extracting common magic constants
2019-08-18 12:14:33 -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
0102f07d77
new 4 cylinder firing order!
2019-08-15 19:36:16 -04:00