Matthew Kennedy
c0f03fd8fb
cleanup ( #1259 )
2020-04-04 15:59:13 -04:00
Matthew Kennedy
8badc4cca3
remove ETB controlPinMode ( #1260 )
2020-04-04 08:41:45 -04:00
Matthew Kennedy
606a7fff0d
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
9a21262cf8
TPS consumers: idle and ignition and obd2 and lcd ( #1254 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 19:59:08 -04:00
rusefi
856d4618cd
could this work?
2020-04-03 16:14:29 -04:00
rusefi
add38e4f24
extracting magic constant
2020-04-03 16:06:21 -04:00
Matthew Kennedy
cd3dc7f91b
fix ( #1251 )
2020-04-03 07:48:12 -04:00
rusefi
9203f08072
flipped 60/2?
2020-04-03 00:44:54 -04:00
rusefi
fd02a6dc8c
v12
2020-04-03 00:19:04 -04:00
Matthew Kennedy
d16ff88e30
run ETB on new TPS ( #1248 )
...
* run ETB on new TPS
* why did we include all those...?
* init tps for etb test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 21:33:49 -04:00
Matthew Kennedy
54082ac8e1
switch ( #1250 )
2020-04-02 16:26:06 -04:00
shadowm60
baa2547da1
E30 M3 Tach output solution #907 ( #1203 )
...
* Update tachometer.cpp
Initial implementation of E30 M3 Tach output solution #907 , unit_test plus debugging next
* tacho unit tests
First successfull unit test for tachometer
* RAM adjustment so it would link
* refactoring tacho, broken!
* starting to make some progress...still fails after a few seconds
* Rework with SW PWM
* Update after code review
* unit_test update
* First working unit_test
* Update .gitignore
* Update engine_controller.cpp
* Update engine_controller.cpp
* Update tachometer.h
* Update test_tacho.cpp
Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-02 15:20:04 -04:00
Matthew Kennedy
cee565f2b1
Add redundant sensor ( #1249 )
...
* add redundant sensor
* add tests
* add configure, info printing
* tests
* tests
* casing
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:55:21 -04:00
Matthew Kennedy
da7179b6b1
only correct timing in dynamic mode ( #1247 )
...
* only correct in dynamic mode
* redundant check
2020-04-02 08:54:55 -04:00
Matthew Kennedy
7e4f4ca97e
Replace hasPedalPositionSensor ( #1245 )
...
* remove
* add Sensor::hasSensor
* consume in etb
* remove unused state
* don't use it there either
* format
* fix up tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
Matthew Kennedy
6090924f5b
Improve tps error message ( #1244 )
...
* improve error messages
* fix
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:02:44 -04:00
rusefi
48baff1789
partial revert
2020-04-02 00:37:02 -04:00
rusefi
be5b4fb3c6
less ETB in case of critical
2020-04-02 00:32:03 -04:00
rusefi
f3ab4d81f7
start/stop works now
2020-04-01 21:22:54 -04:00
rusefi
5db6414de5
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-04-01 20:26:00 -04:00
rusefi
0f774b1c1c
start/stop works now
2020-04-01 20:25:44 -04:00
Matthew Kennedy
8235d8d765
Fully switch acc pedal to new sensors ( #1212 )
...
* proxy sensor
* header
* idle
* can
* settings
* remove old mocking
* remove old impl
* etb
* oops, gotta actually register it
* fix test
* structured bindings ftw!
* driver intent for stepper
* tear out old
* oops too much
2020-04-01 20:21:03 -04:00
rusefi
4146388d86
progress towards E30 M3 Tach output solution #907 #1203
2020-04-01 19:12:34 -04:00
rusefi
cc35e8a9b0
code style
2020-04-01 19:00:56 -04:00
rusefi
5f62c3535a
date
2020-04-01 00:42:53 -04:00
Matthew Kennedy
90ec387cdb
Sensor-via-CAN ( #1241 )
...
* CAN sensor impl
* subscription hookup
* printing
* init
* inject stamp
* don't init const field
* clarify
* guard for non-CAN builds
* fix merge
* guard with EFI_CANBUS_SLAVE
* headers, guards
* include
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-31 23:21:05 -04:00
Matthew Kennedy
af76ce9e86
Print all rx packets in can debug mode ( #1242 )
...
* print packets in debug mode
* remove extra calls
* fix sign too
2020-03-31 21:18:19 -04:00
rusEfi
3f55b0db59
CAN progress
2020-03-31 20:57:52 -04:00
rusefi
ffd262a7ba
CAN progress
2020-03-31 20:23:40 -04:00
rusefi
f2dafeefe0
CAN progress
2020-03-31 20:08:30 -04:00
rusefi
f559976a19
CAN progress
2020-03-31 16:52:52 -04:00
rusefi
fe604f71b8
CAN progress
2020-03-31 16:49:19 -04:00
rusefi
872f32c994
better message
2020-03-31 16:02:13 -04:00
Matthew Kennedy
44871c162c
Debugging for sensor converter functions ( #1239 )
...
* func print
* resistance func, func chain
* formatting
* resistance func format
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-31 01:07:08 -04:00
rusefi
dc52d039e7
start/stop progress
2020-03-31 01:06:19 -04:00
Matthew Kennedy
cd41449459
Debuggability in the new sensor world ( #1238 )
...
* rename to avoid conflict
* fix efilib
* add sensor printing
* makefile
* that check was already there
* const
* const
* fix tests
* formatting
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-30 18:29:42 -04:00
rusefi
287aa9536f
Reducinc code duplication thank you Matt
2020-03-30 14:12:57 -04:00
rusEfi
a3588f64fa
v12 & dual-TPS
2020-03-30 01:13:02 -04:00
rusefi
21e96141a8
f4-slave
2020-03-29 22:10:13 -04:00
rusefi
8a3e47d9e6
refactoring + MAP broadcast consumption
2020-03-29 21:15:06 -04:00
Matthew Kennedy
67f01ff9c7
Friendlier pin names ( #1233 )
...
* enable TS error readout
* friendlier text for common errors
* improve comment
* friendlier ADC errors
* ign/inj names
* more pin names
2020-03-29 19:07:07 -04:00
Matthew Kennedy
0ac3e06149
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
rusefi
06da8fe3fa
start/stop progress
2020-03-29 17:21:17 -04:00
rusefi
1956de6cea
oooops
2020-03-29 16:56:40 -04:00
rusefi
84e0e1b6e9
critical error usability improvements
2020-03-28 21:28:32 -04:00
rusefi
c6ac5ed888
progress
2020-03-28 20:56:58 -04:00
rusefi
79e5059c5a
critical error usability improvements
2020-03-28 20:14:17 -04:00
rusefi
99af87ccbb
code style
2020-03-28 19:49:36 -04:00
rusefi
0e457ecedb
date
2020-03-26 19:25:14 -04:00
rusefi
612131cbd5
#203
2020-03-26 19:22:14 -04:00
Matthew Kennedy
7645e033eb
un-generate ( #1228 )
2020-03-26 11:52:19 -04:00
Matthew Kennedy
b7033bbde9
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
b7b67a2a7f
Multispark implementation ( #1192 )
...
* multispark prototype
* only multispark if not cut
* typo
* do some reasonableish math
* consume cfg
* todo
* bad merge
* move math out of engine2.cpp
* engine state config
* consume generated
* use new
* hand generate
* doc, debugging
* debug channel names
* don't depend on rpmcalc
* safer, fix math
* tests
* default multispark config
* remove todo
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-26 01:49:36 -04:00
Matthew Kennedy
2e12329199
Default to applyPinState ( #1219 )
...
* make applyPinState default
* consumers
* format
2020-03-25 18:14:09 -04:00
rusefi
e386955741
start/stop progress
2020-03-25 01:41:15 -04:00
rusefi
b9ea8d74ae
start/stop progress
2020-03-25 01:28:37 -04:00
rusefi
736957a875
startStopDialog
2020-03-25 00:58:59 -04:00
rusEfi
44fdb83844
dual ETB progress
2020-03-24 20:22:01 -04:00
Matthew Kennedy
45f5afe871
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
a910ab3da5
launch control #203
2020-03-24 19:55:12 -04:00
rusefi
aa28127211
random code inspired by Ola
2020-03-24 19:50:04 -04:00
rusefi
92a13312dc
random code inspired by Ola
2020-03-24 19:21:20 -04:00
rusefi
3232aeb80c
progress
2020-03-23 23:51:51 -04:00
rusefi
44b2cd1254
date
2020-03-23 23:28:17 -04:00
rusefi
42834ba5ec
launch control #203
...
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi
9e9c4249e2
progress
2020-03-23 23:16:57 -04:00
rusefi
bd4cf816e8
progress
2020-03-23 23:15:44 -04:00
rusefi
a5c9457eb9
progress
2020-03-23 23:06:52 -04:00
rusefi
ff663692c0
code style
2020-03-23 22:31:24 -04:00
rusefi
d770290d0e
launch control #203
2020-03-23 22:30:47 -04:00
rusefi
205fdcee66
launch control #203
2020-03-23 20:44:34 -04:00
rusefi
e58f00692e
start/stop progress
2020-03-23 10:32:41 -04:00
rusefi
4d617aa0fe
random header clean-up
2020-03-23 09:00:57 -04:00
rusefi
7c991fedce
moving a bit of crazy aside
2020-03-23 00:01:59 -04:00
rusefi
d3071ea348
start/stop progress debug mode
2020-03-22 20:43:27 -04:00
Matthew Kennedy
61c4d0fe83
save some ram ( #1211 )
...
* remove dead stuff
* why store those pointers twice?
2020-03-22 19:06:29 -04:00
Matthew Kennedy
8731c0100f
Proxy sensor for extra magic ( #1210 )
...
* proxy sensor
* header
2020-03-22 17:29:01 -04:00
Matthew Kennedy
3840440e97
Accelerator pedal with new sensors ( #1208 )
...
* add pedal sensor
* update status loop
* add bit to ts
* fix math
* divide at config time
* this used a little bit of ram
2020-03-22 17:09:46 -04:00
Matthew Kennedy
fefb5e3b1a
Pedal rx shim ( #1207 )
...
* rx pedal over can
* guard
* guard
* don't cast away qualifiers
2020-03-21 22:35:27 -04:00
rusefi
a6c3b220d6
At least read all TPS inputs
2020-03-20 19:55:36 -04:00
rusefi
b55a892e3a
At least read all TPS inputs
2020-03-20 09:53:45 -04:00
rusEfi
fbbac83010
v12 progress
2020-03-20 00:36:22 -04:00
Matthew Kennedy
fa8036e4b6
fix ( #1202 )
...
* fix test
* shrink memory
2020-03-19 20:02:49 -04:00
Matthew Kennedy
2ae689073a
Grow CAN TX stack ( #1201 )
...
* grow
* check mock first
2020-03-19 19:29:56 -04:00
Matthew Kennedy
4096483aec
custom verbose can format ( #1200 )
...
* config
* ts
* default cfg
* hand generate
* tx struct helper
* add data sending
* wire up
* value_or helper
* add file
* more sensors
* header
* compactify
* add status frame
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 17:58:46 -04:00
Matthew Kennedy
9f5eece62d
split out can tx logic ( #1197 )
...
* move to can folder
* split out can rx
* only print in debug mode
* guard on feature flag
* split out tx
* headers
* headers
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 14:01:07 -04:00
rusefi
37bdc68ff5
"rusefi CAN" config #1198
2020-03-19 09:22:16 -04:00
Matthew Kennedy
f2994d6889
split out can rx logic ( #1196 )
...
* move to can folder
* split out can rx
* only print in debug mode
* guard on feature flag
* headers
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 08:43:37 -04:00
Matthew Kennedy
3ecedc8ccc
move to can folder ( #1195 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 23:20:00 -04:00
Matthew Kennedy
1b4d98a7f0
Add new CanTxMessage class, consume in OBD2 ( #1186 )
...
* relocate
* include path
* simulator makefile
* fix mre while we're at it
* it would help if I fixed it right
* add can_msg
* convert obd2
* guard properly
* better include order
* docs & headers
* inject CAN device
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 22:07:41 -04:00
rusefi
17b498a0f3
progress towards start/stop
2020-03-18 19:41:12 -04:00
rusefi
d9690bed3a
progress towards start/stop
2020-03-18 16:32:03 -04:00
rusefi
b442d16d87
progress towards start/stop
2020-03-18 15:56:17 -04:00
rusEfi
5a21db41a4
v12 & ETB progress
2020-03-18 00:12:31 -04:00
rusEfi
e18fb9419d
RemindMe! add 16 cylinder firing order on April 1st
2020-03-16 17:13:27 -04:00
rusEfi
1430adcc33
docs
2020-03-12 00:20:05 -04:00
rusEfi
b089596641
v12
2020-03-12 00:16:32 -04:00
rusEfi
cb37a6f51d
v12
2020-03-11 20:48:09 -04:00
rusefi
6e90dc6c1f
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-03-10 19:12:53 -04:00
rusefi
bd34f5479a
In case of incompatible firmware and console we have a vague error message fix #1180
2020-03-10 19:12:37 -04:00
Matthew Kennedy
adac5fba78
Control stepper with dual H-bridges ( #1121 )
...
* divorce stepper from hw
* oops
* ptr not ref
* hbridge stepper
* typo
* hook up twin h
* hook up hardware
* use config field
* hook up motor repo
* guard tests
* whoops
* ok fix for real
* ok that's the right thing
* do full stepping
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.stagpad.local>
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
2020-03-10 15:18:29 -04:00
rusefi
2ae15b5bab
hard-coding miata Nb2 VVT Ratio magic
2020-03-09 16:59:19 -04:00
rusefi
7bbe4f791a
date
2020-03-08 09:17:43 -04:00
rusefi
98d402a66f
logicAnalyzerMode was unused, removing for now
2020-03-08 09:14:49 -04:00
Matthew Kennedy
8ceb5c8996
fix icu trigger polarity ( #1177 )
...
* fix polarity
* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi
a0e838467a
date
2020-03-07 15:55:08 -05:00
Matthew Kennedy
3c7ae8ca17
Simplify flash logic ( #1154 )
...
* simplify flash stuff
* put those back for now
* and those
* extra check
* fix
* crc the correct thing
* undo crc changes
* unwind
2020-03-07 10:23:30 -05:00
rusefi
0e8acf6514
CLT stops working when using 2-0 custom trigger wheel #1171
2020-03-06 01:31:04 -05:00
rusefi
0865b7be2e
better invalid configuration handling
2020-03-05 21:16:45 -05:00
Matthew Kennedy
6d8eedf9ca
Split out EtbHardware ( #1168 )
...
* start tear out motor
* fix
* nuke reconfig
* guard for test
* test fixing
* format, condense headers
* fix todos
* undo todo
* format
2020-03-03 17:56:50 -05:00
Matthew Kennedy
eb46d7bd58
warnings ( #1169 )
2020-03-03 08:37:02 -05:00
rusEfi
b866b57d23
we need tpsinfo especially when data is invalid!
2020-02-27 02:21:01 -05:00
rusEfi
040e040b4a
verboseTLE8888
2020-02-27 02:11:20 -05:00
rusefi
1b2b89537c
fixing build
2020-02-27 01:51:21 -05:00
rusEfi
d11121b9a7
giving C code access to CONFIG
2020-02-27 01:32:26 -05:00
Matthew Kennedy
a2a5b40ced
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
rusEfi
c2ab5f4871
more mc33816
2020-02-25 22:38:08 -05:00
rusEfi
45be5f4f16
fresh generated
2020-02-25 22:01:13 -05:00
rusefi
6b3228b9f1
TEST_33816
2020-02-25 21:35:21 -05: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
923daaa3a1
ETB: expand automated testing #115
2020-02-22 23:18:02 -05:00
rusEfi
627fe4ba53
better trigger LiveDocs
2020-02-22 15:39:00 -05:00
rusefi
e2704a4525
minor progress
2020-02-22 13:04:19 -05:00
Matthew Kennedy
bcbac0b47f
minor simplify spark ( #1150 )
...
* simplify
* rename
2020-02-21 19:35:11 -05:00
rusEfi
e9ac797ac9
reviving FRANKENSO_QA_ENGINE
2020-02-18 17:53:56 -05:00
rusefi
f929301d18
my take on useRunningMathForCranking
2020-02-18 10:47:39 -05:00
rusefi
2eec300251
miata vvt trigger decoding is broken #1145
2020-02-14 13:02:27 -05:00
rusefi
f69bbba6a4
Merge remote-tracking branch 'remotes/origin/2019.12.25_release_1.19.12_xmas'
2020-02-14 10:50:50 -05:00
rusefi
fc33789da7
miata vvt trigger decoding is broken #1145
2020-02-14 00:37:36 -05:00
rusEfi
21853eb500
FATAL error running MRE blinking test #1137
...
still not the fix?
2020-02-11 17:49:39 -05:00
rusEfi
ce54ae9497
TLE8888 watchdog #917
...
window watchdog progress
2020-02-10 13:24:09 -05:00
rusefi
bc118ecede
code style
2020-02-10 09:29:11 -05:00
rusEfi
3c874398ff
tle8888 start-up clean-up
2020-02-09 20:41:25 -05:00
Matthew Kennedy
a08946c2f5
Fix master ( #1134 )
...
* Revert "something went very wrong."
This reverts commit e0fb325d5a
.
* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131 )""
This reverts commit 55e8ee5052
.
* Revert "partial Revert of "Stricter compile options (#1132 )""
This reverts commit b0d7cc9a22
.
* temp prometheus fix
* fix bootloader
* fix batch files
2020-02-08 16:34:29 -05:00
rusefi
e0fb325d5a
something went very wrong.
...
first we have functional defects
that we do not write test to cover newly intdroduced defects
then attempts to fix defects do not compile
2020-02-08 08:15:46 -05:00
Matthew Kennedy
fa8553b00d
Stricter compile options ( #1132 )
...
* stricter
* don't warn on that one
* this code was dead
2020-02-08 08:05:40 -03:00
Matthew Kennedy
52f565f874
Sensor reconfiguration while running ( #1131 )
...
* reconfigure sensors
* docs
* doc
2020-02-08 06:22:23 -03:00
Matthew Kennedy
5c4329dbf2
tps header cleanup ( #1130 )
...
* tps header cleanup
* dead code
2020-02-07 23:20:14 -03:00
Matthew Kennedy
e04fc117e6
Consume new tps in status_loop.cpp, settings.cpp ( #1129 )
...
* new tps
* more
* settings.cpp too
* more
* comment
2020-02-07 06:05:15 -03:00
rusefi
910a4d6706
cam/vvt decoder
2020-02-05 01:49:33 -05:00
Matthew Kennedy
3a99dcd6dc
move flash addr in to mpu_util ( #1123 )
...
* move flash addr in to mpu_util
* this _may_ work
* don't use offsetof
* proper header + defines
2020-02-05 08:06:38 +05:30
Matthew Kennedy
b96d8f338e
boost format & cleanup ( #1126 )
2020-02-05 06:47:31 +05:30
Matthew Kennedy
eb472c49b2
Use new sensors for TPS ( #1111 )
...
* tps init
* fix init
* call init
* use correct sensors, scale using constant
* includes
* handle error
2020-02-04 01:54:05 -05:00
rusefi
b47462b4de
Three wire idle air valve #1122
...
ugly but should work to begin with
2020-02-04 01:22:04 -05:00
rusefi
67de6fe6fd
fixing build
2020-02-02 13:18:41 -05:00
ola
b94ba38efc
Some initial work at Launch/ALS
...
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
960
580e725d11
Boost pr ( #1114 )
...
* boost control
* cleanup
* Delete rusefi_config.txt
* Add files via upload
* Delete rusefi_config.txt
* Add files via upload
* Update rusefi.input
* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
rusefi
3d3c4c38f4
looking forward
2020-02-01 17:55:58 -05:00
Matthew Kennedy
f5b90d3f30
Simplify fuel math again ( #1117 )
...
* return the scheduled time from scheduleByAngle
* simplify fueling math
2020-02-01 17:29:55 -05:00
Matthew Kennedy
734963343d
Rescale TPS ( #1112 )
...
* fake adc ticks
* consumers
* fix test 1
* fix tests
2020-02-01 16:41:07 -05:00
rusefi
f834f99245
opening the door to boost controller!
2020-01-31 14:29:52 -05:00
rusefi
6dd509a34b
opening the door to boost controller!
2020-01-31 14:23:15 -05:00
rusefi
f4d36f32fa
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
a124e0b934
date & VVT test progress
2020-01-31 01:23:01 -05:00
rusefi
1735529a6b
refactoring: extracting DEEP_IN_THE_PAST_SECONDS contant
2020-01-31 01:21:56 -05:00
rusefi
5bb778381a
lovely tiny bug which mostly affects NB2 with an impossible one tooth crank trigger wheel
2020-01-30 01:47:34 -05:00
rusefi
1b40819516
micro refactoring
2020-01-30 01:20:41 -05:00
rusefi
4dd9edfcff
reusing constant
2020-01-28 00:27:30 -05:00
rusefi
9bd819a18d
extracting class & codes clean-up
2020-01-28 00:16:33 -05:00
rusefi
38afb582a1
reducing magic constants
2020-01-27 23:45:46 -05:00
rusefi
ae228dff0e
trigger refactoring
2020-01-26 14:20:55 -05:00
rusefi
bc3797d9ef
code style
2020-01-26 13:58:47 -05:00
rusefi
19d318c8ee
trigger refactoring
2020-01-26 13:51:35 -05:00
rusefi
9bd796ab6b
trigger refactoring
2020-01-26 12:02:54 -05:00
rusefi
6548964461
good thing we have CI - fixing build
2020-01-26 09:00:46 -05:00
rusefi
35e60bf607
reducing code duplication
2020-01-26 06:35:51 -05:00
rusefi
98c6198f1d
reducing code duplication
2020-01-26 06:28:33 -05:00
rusefi
23631b5970
trigger refactoring
2020-01-26 06:12:01 -05:00
rusefi
d1a4b39a5a
refactoring: de-coupling trigger decoder and engine
2020-01-26 03:48:25 -05:00
rusefi
dfa8d9ccc9
refactoring trigger
2020-01-26 03:33:45 -05:00
rusefi
59c293b548
trigger refactoring
2020-01-25 11:22:25 -05:00
rusefi
4f5aeea301
trigger refactoring
2020-01-25 02:00:33 -05:00
rusefi
c018e0bc0a
clean-up
2020-01-25 01:42:48 -05:00
rusefi
43eb2ef9d0
refactoring trigger
2020-01-24 13:42:09 -05:00
rusefi
ea82d82426
refactoring trigger
2020-01-23 13:39:50 -05:00
rusefi
c7875876e5
refactoring - de-coupling trigger
2020-01-22 13:25:35 -05:00
rusefi
f6ce9397db
refactoring
2020-01-22 01:22:44 -05:00
rusefi
586eb9e6e3
code style: trying to get used to this syntax
2020-01-22 00:45:09 -05:00
rusefi
a89e20a647
refactoring
2020-01-22 00:40:26 -05:00
rusefi
1a3bfa4b02
code style
2020-01-21 01:47:58 -05:00
rusefi
d91a7a6a8f
code style
2020-01-21 01:40:11 -05:00
Matthew Kennedy
9473e03a6a
Inject timestamps for injection too ( #1108 )
...
* schedule by nt, not us
* inject timestamp
2020-01-20 00:12:18 -05:00
Matthew Kennedy
f8cd2ad3ce
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
Matthew Kennedy
72a8a1c74a
don't use us for pwm calculation ( #1106 )
2020-01-19 07:02:49 -05:00
rusefi
a1e837d763
NT not US not MS
...
thank you Matt
2020-01-19 03:49:35 -05:00
rusefi
5529e7cebf
date
2020-01-19 03:49:06 -05:00
rusefi
8e459e84ff
one step back
2020-01-19 02:58:54 -05:00
rusefi
8165bfc8ed
better constraint validation
2020-01-19 00:28:58 -05:00
Matthew Kennedy
94e30b0b38
Separate stepper control logic from hardware ( #1101 )
...
* divorce stepper from hw
* oops
* ptr not ref
* ptr not ref
* whitespace
* null check
2020-01-15 02:18:15 -05:00
rusefi
6c70f390da
trigger shape constraint validation
2020-01-14 03:54:46 -05:00
rusefi
4e6d6e0625
reducing complexity?
2020-01-13 22:25:51 -05:00
rusefi
695da5486b
reducing complexity
2020-01-13 22:23:46 -05:00
rusefi
a222ecdfe1
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
5f5e4d92b0
header style
2020-01-13 02:30:49 -05:00
rusefi
12600a3b06
date
2020-01-13 02:03:42 -05:00
rusefi
abe1b8c1f3
refactoring: no need to specify parameter manually
2020-01-12 10:43:02 -05:00
dron0gus
406703b1b5
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
rusefi
5fbe44c8b7
refactoring
2020-01-12 05:17:42 -05:00
Matthew Kennedy
8200a3da64
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
Matthew Kennedy
1c96a41aee
how tf did this ever build...? ( #1099 )
2020-01-12 03:25:34 -05:00
Matthew Kennedy
0256b0358e
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
3cf068e5a2
injector logic simplification ( #1095 )
...
* simplify injector scheduling a little
* clearer logic
* comment
2020-01-11 10:26:20 +03:00
rusefi
2ac0041d1e
better method name
2020-01-10 23:45:01 -05:00
rusefi
8f27c8f8ed
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
78eb92bbbf
docs
2020-01-10 23:24:17 -05:00
rusefi
7fe5a665ce
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
67a3796086
better method names
2020-01-10 23:17:58 -05:00
rusefi
f20967664d
better method name
2020-01-10 23:09:38 -05:00
Matthew Kennedy
262e3a4516
Dedupe ( #1094 )
...
* deduplicate
* yeah, the compiler is smart enough
2020-01-11 06:29:42 +03:00
Matthew Kennedy
36211a6738
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
20a6cf130f
better method name
2020-01-10 02:02:22 -05:00
Matthew Kennedy
e2841e689d
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
cb1039fe23
Inject timestamps in to hwHandleShaftSignal ( #1090 )
...
* injection
* injectors
2020-01-09 21:19:11 +03:00
rusefi
63e3e84e08
happy new year
2020-01-08 00:02:40 -05:00
Matthew Kennedy
3d8c4f4179
Strongly typed action constructor ( #1087 )
...
* strong typing
* maybe we needed that one
2020-01-07 18:10:31 -05:00
Matthew Kennedy
6703705a33
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
d218b4e8e6
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
afa5de2655
ETB documentation improvement?
2019-12-30 10:25:52 -05:00
rusEfi
499a39e88c
improvements around weird engine types
2019-12-28 23:22:16 -05:00
rusefi
435928ca81
laughable gdi progress
2019-12-26 22:30:12 -05:00
rusefi
a3d797e217
laughable gdi progress
2019-12-26 21:33:12 -05:00
rusefi
1e1a4722c5
maybe improvement to console trigger messages
2019-12-25 15:05:02 -05:00
rusefi
50d78f648b
de-coupling things a bit
2019-12-24 00:26:23 -05:00
rusefi
daf1a0be21
wow dead stuff?
2019-12-24 00:14:10 -05:00
rusefi
27e8c8f50b
oh this was OOOOLLLLLDDD
2019-12-24 00:10:28 -05:00
rusefi
4605c64a07
that's not a worth a file
2019-12-24 00:03:53 -05:00
rusefi
ae615376ea
refactoring
2019-12-23 23:32:43 -05:00
rusefi
c629b21ab4
adding simplicity
2019-12-23 23:25:08 -05:00
rusefi
67e1f06d36
simplicity?
2019-12-23 22:50:04 -05:00
rusefi
0cede6673f
adding simplicity
2019-12-23 22:40:23 -05:00
rusefi
de480fe05e
adding simplicity
2019-12-23 22:30:58 -05:00
rusefi
d489191ebb
refactoring
2019-12-23 22:12:55 -05:00
rusefi
9ce2a4bb32
refactoring
2019-12-23 21:58:06 -05:00
rusefi
b290b4ae7a
removing legacy perf code
2019-12-23 21:56:16 -05:00
rusefi
0e231dd035
Revert "couple of dead lines"
...
This reverts commit dc20ee1d
2019-12-23 21:55:08 -05:00
rusefi
dc20ee1da1
couple of dead lines
2019-12-23 21:44:38 -05:00
rusefi
9243c0facc
replacing probably unused engineSnifferHisto with new perf_trace
2019-12-23 20:22:17 -05:00
rusefi
95fa4c78c4
removing one dead line
2019-12-23 20:19:13 -05:00
rusefi
34e1d4c3c1
date & fresh integration
2019-12-22 08:24:47 -05:00
Matthew Kennedy
df57b24e3f
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
c392db2798
functional testing should not be that darn slow #1076
...
progress?
2019-12-22 01:03:58 -05:00
rusefi
b08c0209fd
functional testing should not be that darn slow #1076
...
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi
4c30e7b1b9
hopefully useful macro?
2019-12-21 21:18:38 -05:00
rusefi
cf0b13041f
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
3ed388d1ad
refactoring & fixing build
2019-12-21 20:43:11 -05:00
rusefi
28ae4e478e
refactoring only #1076
2019-12-21 20:17:58 -05:00
rusefi
5c679034a7
Revert "fresh integration & changing protocol versions & versions"
...
This reverts commit 8a8ea6c0
2019-12-21 15:02:37 -05:00
rusefi
8a8ea6c096
fresh integration & changing protocol versions & versions
2019-12-21 12:35:47 -05:00
Matthew Kennedy
2b4b119962
Add new sensor function types ( #1065 )
...
* add functions
* add tests
* add chain tests
* float suffix
2019-12-17 09:06:29 -05:00
rusefi
a96ef7fc8e
Merge branch 'master' of https://github.com/rusefi/rusefi
2019-12-17 09:01:22 -05:00