Matthew Kennedy
d3d088676b
Add timeout + raw value access for sensors ( #1098 )
...
* timeout
* inject stamp
* allow getting raw value
* plumb timeout
* fix tests
2020-01-12 03:25:23 -05:00
Matthew Kennedy
dd3ded37f4
injector logic simplification ( #1095 )
...
* simplify injector scheduling a little
* clearer logic
* comment
2020-01-11 10:26:20 +03:00
rusefi
688107ed77
second channels for ETB related stuff
2020-01-11 01:08:41 -05:00
rusefi
67377abdea
better method name
2020-01-10 23:45:01 -05:00
rusefi
03a48455ed
fear he who sees dead code: 'overlappingScheduleOffTime' was never assigned so the whole logic around it is dead
2020-01-10 23:39:30 -05:00
rusefi
b7807cba39
docs
2020-01-10 23:24:17 -05:00
rusefi
b7951e1e70
Merge branch 'master' of https://github.com/rusefi/rusefi
...
# Conflicts:
# firmware/controllers/engine_cycle/main_trigger_callback.cpp
2020-01-10 23:19:30 -05:00
rusefi
645f51a038
better method names
2020-01-10 23:17:58 -05:00
rusefi
b022f431e2
better method name
2020-01-10 23:09:38 -05:00
Matthew Kennedy
68813cda65
Dedupe ( #1094 )
...
* deduplicate
* yeah, the compiler is smart enough
2020-01-11 06:29:42 +03:00
Matthew Kennedy
e25a93415f
Schedule sparks with scheduleByAngle ( #1092 )
...
* injection
* injectors
* add edge timestamp to ShaftPositionListener
* scheduleByAngle require edgeTimestamp
* schedule with nt not us
* fix all schedulers
* schedule spark based on edge timestamp
* aux valves too
* update comments
* schedule dwell with new stamp
* format
2020-01-11 00:01:54 +03:00
rusefi
19df4661ab
better method name
2020-01-10 02:02:22 -05:00
Matthew Kennedy
a6a1335adb
Require tooth reference time for scheduleByAngle ( #1091 )
...
* injection
* injectors
* add edge timestamp to ShaftPositionListener
* scheduleByAngle require edgeTimestamp
* schedule with nt not us
* oops, these were missing from this branch
2020-01-09 23:45:13 +03:00
Matthew Kennedy
851c6041b1
Inject timestamps in to hwHandleShaftSignal ( #1090 )
...
* injection
* injectors
2020-01-09 21:19:11 +03:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
Matthew Kennedy
95a7a9a8e1
Strongly typed action constructor ( #1087 )
...
* strong typing
* maybe we needed that one
2020-01-07 18:10:31 -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
dron0gus
1b42748e60
Spi fixes ( #1083 )
...
* spi: add support for SPI4
* mpu_util: spi: add 8BIT mode definitions for F4, F7 and kineris (?)
2020-01-06 08:44:23 -05:00
rusefi
0075f9492c
ETB documentation improvement?
2019-12-30 10:25:52 -05:00
rusefi
07222f68c0
E30 M3 Tach output solution #907
2019-12-30 01:41:23 -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
9956ee6c15
maybe improvement to console trigger messages
2019-12-25 15:05:02 -05:00
rusefi
cc466ad3ef
de-coupling things a bit
2019-12-24 00:26:23 -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
c38b4545eb
refactoring
2019-12-23 23:32:43 -05:00
rusefi
3494f6ff9f
adding simplicity
2019-12-23 23:25:08 -05:00
rusefi
8ffbe768cd
simplicity?
2019-12-23 22:50:04 -05:00
rusefi
a81655216b
adding simplicity
2019-12-23 22:40:23 -05:00
rusefi
1576a9f731
adding simplicity
2019-12-23 22:30:58 -05:00
rusefi
82f3972417
refactoring
2019-12-23 22:12:55 -05:00
rusefi
cf0b12b203
refactoring
2019-12-23 21:58:06 -05:00
rusefi
537a95a9b4
removing legacy perf code
2019-12-23 21:56:16 -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
84e732846b
replacing probably unused engineSnifferHisto with new perf_trace
2019-12-23 20:22:17 -05:00
rusefi
a338f28396
removing one dead line
2019-12-23 20:19:13 -05:00
rusefi
253f68cb61
date & fresh integration
2019-12-22 08:24:47 -05:00
Matthew Kennedy
9645130527
Shrink output channels, now with passing CI ( #1077 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
* fix output size
* comments
* reorder fields, no sizes yet
* should've been signed
* simplify constructor mess, hook up scaling
* notes
* typo
* if -> switch
* rev signature
* correct map offset
* handle unsigned properly
* RPM is unsigned
* vss isn't scaled
* extract magic
* required generated for build
* de-scale rpm
* field type cases
2019-12-22 08:12:45 -05:00
rusefi
b8733edf11
functional testing should not be that darn slow #1076
...
progress?
2019-12-22 01:03:58 -05:00
rusefi
73a4a92891
functional testing should not be that darn slow #1076
...
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi
609865da0f
hopefully useful macro?
2019-12-21 21:18:38 -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
ce0921cb78
refactoring only #1076
2019-12-21 20:17:58 -05:00
rusefi
b78e1b7a00
refactoring & docs update
2019-12-21 19:59:33 -05:00
rusefi
871f86967f
Revert "DRAFT Shrink output channels, again ( #1074 )"
...
This reverts commit 562ce6cc
2019-12-21 15:02:49 -05:00
rusefi
86a3feb13f
Revert "fresh integration & changing protocol versions & versions"
...
This reverts commit f6c3f120
2019-12-21 15:02:37 -05:00
rusefi
b9338b4047
Revert "reducing magic constants"
...
This reverts commit 032d8240
2019-12-21 15:02:17 -05:00
rusefi
8602379a32
Revert "trying to save build. it's a useful PR overall but :("
...
This reverts commit 9f191f0d
2019-12-21 15:01:22 -05:00
rusefi
9f191f0dd8
trying to save build. it's a useful PR overall but :(
2019-12-21 14:34:50 -05:00
rusefi
032d824064
reducing magic constants
2019-12-21 13:30:47 -05:00
rusefi
f6c3f12091
fresh integration & changing protocol versions & versions
2019-12-21 12:35:47 -05:00
Matthew Kennedy
562ce6ccaf
DRAFT Shrink output channels, again ( #1074 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
* fix output size
* comments
* reorder fields, no sizes yet
* should've been signed
* simplify constructor mess, hook up scaling
* notes
* typo
* if -> switch
2019-12-21 08:55:19 -05:00
rusefi
22f2739764
Revert "Shrink output channels, use scaling ( #1069 )"
...
This reverts commit 89405014
2019-12-19 22:35:06 -05:00
rusefi
d3da010088
Revert "fresh integration"
...
This reverts commit 9363d081
2019-12-19 22:34:58 -05:00
rusefi
320ff0972f
Revert "hmm ( #1073 )"
...
This reverts commit f8c98cad
2019-12-19 22:34:52 -05:00
Matthew Kennedy
f8c98cad07
hmm ( #1073 )
2019-12-19 21:09:59 -05:00
rusefi
9363d081c3
fresh integration
2019-12-19 20:38:48 -05:00
Matthew Kennedy
89405014cf
Shrink output channels, use scaling ( #1069 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
2019-12-19 20:37:42 -05:00
Matthew Kennedy
b9454790c7
Add new sensor function types ( #1065 )
...
* add functions
* add tests
* add chain tests
* float suffix
2019-12-17 09:06:29 -05:00
rusefi
62eb1ee22c
Merge branch 'master' of https://github.com/rusefi/rusefi
2019-12-17 09:01:22 -05:00
rusefi
eac3373645
docs
2019-12-17 08:56:08 -05:00
Matthew Kennedy
eb27bcf3d6
Terrible ADC3 hack for Proteus vbatt support ( #1066 )
...
* this is a great idea!
* typo
* simplify
* simplify, cache coherency
* enable adc3 in board file
* copyright
* fix tests, probably
2019-12-17 08:34:56 -05:00
Matthew Kennedy
08a8fa8d1e
Remove sensor reporting loc ( #1064 )
...
* remove raw rept loc
* remove normal reporting location
* fix up oil pressure
* format
2019-12-16 22:45:46 -05:00
rusefi
addfd692ce
fixing build
2019-12-15 23:33:15 -05:00
rusefi
0d0298ac98
boring test mule stuff
2019-12-15 22:21:49 -05:00
rusefi
1c7de824e2
typo
2019-12-14 18:33:08 -05:00
Matthew Kennedy
db3ae5b03f
DRAFT simplify dequeue logic ( #1050 )
...
* simplify dequeue logic
* unnecessary
* format
* doc
2019-12-14 18:00:39 -05:00
rusefi
3f3cddbf01
Config generation handles padding after packed booleans (bits) wrong
...
fix #1057
2019-12-14 16:11:31 -05:00
rusefi
d5b25902d3
Config generation handles padding after packed booleans (bits) wrong
...
#1057
refactoring
2019-12-14 15:33:30 -05:00
rusefi
a1f6b358ef
Merge branch 'master' of https://github.com/rusefi/rusefi
2019-12-14 09:36:46 -05:00
Matthew Kennedy
ae55eaad67
Re-shrink stacks ( #1060 )
...
* small stacks
* giant servo stack
* reclaim ram
2019-12-14 09:31:13 -05:00
rusefi
521b27ff35
codes clean-up
2019-12-14 00:14:36 -05:00
rusefi
26574555a2
great news about #1055
2019-12-13 23:07:56 -05:00
rusefi
8ae774864c
great news about #1055
2019-12-13 21:50:14 -05:00
rusefi
ff9383eea1
fixing build is my most favourite time!
2019-12-13 20:51:04 -05:00
rusefi
36ec3fd38e
docs
2019-12-13 18:05:08 -05:00
rusefi
9403b2a8fc
fixing build is my most favourite time!
2019-12-13 18:02:24 -05:00
Matthew Kennedy
003c1c17f0
Make stacks smaller ( #1055 )
...
* remove factually incorrect comment
* shrinky stacky
* shuffle comments
2019-12-13 16:47:26 -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
rusefi
97b1c1ff33
straightening enum reuse
2019-12-10 21:18:35 -05:00
Matthew Kennedy
0e674f7eca
ETB Encapsulation & C++ Conventions ( #1049 )
...
* encapsulate etb stuff, c++ conventions
* remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE
* reduce include dependencies
* Revert "reduce include dependencies"
This reverts commit c529bbbf757cd9070f6e00616f84b1229eeb768e.
* Revert "remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE"
This reverts commit ca98b18cd4dae24b993d1263a18daf509dcd54b9.
2019-12-10 19:37:04 -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
1cc71ef8ec
dual-ETB progress
2019-12-10 00:07:46 -05:00
rusefi
62481d7fe8
The Big Refactoring of 2019: folder structure #723
2019-12-08 13:21:35 -05:00
rusefi
cf8c6e7eca
The Big Refactoring of 2019: folder structure #723
2019-12-08 13:09:51 -05:00
rusefi
c5cfd21a70
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
rusefi
0555d2170d
TPS#2 calibration & fixing ETB in TS
2019-12-08 00:37:33 -05:00
rusefi
23c0d8646f
Making UART/TTL pins configurable
2019-12-07 21:22:09 -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
717abd6b67
Refactor Trigger System #635
...
injecting callback via parameters via magic and potentially broken field manipulation
2019-12-06 01:05:19 -05:00
rusefi
28a12d9d04
typo
2019-12-06 00:07:27 -05:00
rusefi
c0450ebd9b
following the pattern
2019-12-04 07:33:56 -05:00
rusefi
5055797f6b
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:15:52 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00