rusefi
96c79012f0
At least read all TPS inputs
2020-03-20 19:55:36 -04:00
rusefi
ef28f394a9
At least read all TPS inputs
2020-03-20 09:53:45 -04:00
rusEfi
984445d545
v12 progress
2020-03-20 00:36:22 -04:00
Matthew Kennedy
d5600995e2
fix ( #1202 )
...
* fix test
* shrink memory
2020-03-19 20:02:49 -04:00
Matthew Kennedy
e76f567608
Grow CAN TX stack ( #1201 )
...
* grow
* check mock first
2020-03-19 19:29:56 -04:00
Matthew Kennedy
7b44f618e7
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
30cdeb0d7f
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
a4b5570223
"rusefi CAN" config #1198
2020-03-19 09:22:16 -04:00
Matthew Kennedy
aeee5a1391
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
a96bf18604
move to can folder ( #1195 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 23:20:00 -04:00
Matthew Kennedy
194bf2e0bf
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
0b7a929587
progress towards start/stop
2020-03-18 19:41:12 -04:00
rusefi
1012df4511
progress towards start/stop
2020-03-18 16:32:03 -04:00
rusefi
482967b8db
progress towards start/stop
2020-03-18 15:56:17 -04:00
rusEfi
d558b1372e
v12 & ETB progress
2020-03-18 00:12:31 -04:00
rusefi
5a6d10c21f
hiding SPI from MRE users
2020-03-17 15:50:42 -04:00
rusefi
2dfc039eb9
docs
2020-03-17 13:40:14 -04:00
rusefi
2a0977a1f9
Merge remote-tracking branch 'origin/master'
2020-03-17 10:21:01 -04:00
rusefi
a371b32073
cj125 usability
2020-03-17 10:20:29 -04:00
rusEfi
49d5c6497f
RemindMe! add 16 cylinder firing order on April 1st
2020-03-16 17:13:27 -04:00
rusefi
93e77c9ccf
fresh config
2020-03-14 09:18:25 -04:00
rusEfi
ecf1e602b0
docs
2020-03-12 00:20:05 -04:00
rusEfi
d047340725
v12
2020-03-12 00:16:32 -04:00
rusEfi
620088cdc1
v12
2020-03-11 20:48:09 -04:00
rusefi
70c2f6990f
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-03-10 19:12:53 -04:00
rusefi
ff7438162b
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
c19f3e4caa
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
ca8a3b1e1f
more of the same
2020-03-09 19:29:10 -04:00
rusEfi
f62364fe39
stepper in TS should be output not any
2020-03-09 19:15:13 -04:00
rusefi
16930da2d3
hard-coding miata Nb2 VVT Ratio magic
2020-03-09 16:59:19 -04:00
rusefi
7144d8f843
date
2020-03-08 09:17:43 -04:00
rusefi
1892cfe6b7
logicAnalyzerMode was unused, removing for now
2020-03-08 09:14:49 -04:00
Matthew Kennedy
9f26e6d894
fix icu trigger polarity ( #1177 )
...
* fix polarity
* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi
bd93d9e204
date
2020-03-07 15:55:08 -05:00
Matthew Kennedy
e32be1799d
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
a33d479683
CLT stops working when using 2-0 custom trigger wheel #1171
2020-03-06 01:31:04 -05:00
rusefi
f93ac0751d
better invalid configuration handling
2020-03-05 21:16:45 -05:00
Matthew Kennedy
40b0783205
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
986b80671b
warnings ( #1169 )
2020-03-03 08:37:02 -05:00
rusefi
3bf4219ad6
useHbridges
2020-03-02 19:49:47 -05:00
rusefi
2db8157e44
better setting name and help?
2020-03-01 22:32:09 -05:00
rusefi
c553877d3d
hiding "Analog divider" from MRE
2020-03-01 09:21:39 -05:00
rusEfi
95160967dd
throttle2Position progress
2020-02-27 03:21:42 -05:00
rusEfi
1acbac9896
we need tpsinfo especially when data is invalid!
2020-02-27 02:21:01 -05:00
rusEfi
8c38bd5ad1
verboseTLE8888
2020-02-27 02:11:20 -05:00
rusefi
877d140ffc
fixing build
2020-02-27 01:51:21 -05:00
rusEfi
89e6a33545
giving C code access to CONFIG
2020-02-27 01:32:26 -05:00
rusEfi
3312dd8112
verboseTLE8888
2020-02-27 01:11:44 -05: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
c35f4aa2e3
more mc33816
2020-02-25 22:38:08 -05:00
rusEfi
1ce1f43a49
fresh generated
2020-02-25 22:01:13 -05:00
rusefi
ce2ec3d544
TEST_33816
2020-02-25 21:35:21 -05:00
Matthew Kennedy
8647abd22b
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
04a4e2bca3
ETB: expand automated testing #115
2020-02-22 23:18:02 -05:00
rusEfi
299dd7e836
better trigger LiveDocs
2020-02-22 15:39:00 -05:00
rusefi
40145ab09c
minor progress
2020-02-22 13:04:19 -05:00
Matthew Kennedy
6038dc203b
minor simplify spark ( #1150 )
...
* simplify
* rename
2020-02-21 19:35:11 -05:00
rusEfi
84995652df
reviving FRANKENSO_QA_ENGINE
2020-02-18 17:53:56 -05:00
rusefi
ec5ec558c2
my take on useRunningMathForCranking
2020-02-18 10:47:39 -05:00
rusefi
d5faa3b517
making migration seamless on useRunningMathForCranking
2020-02-16 16:13:15 -05:00
rusefi
c4e1e1e928
dreams about useFixedMsForCranking
2020-02-15 19:17:42 -05:00
rusefi
e9a3b218c4
miata vvt trigger decoding is broken #1145
2020-02-14 13:02:27 -05:00
rusefi
ed2b7578a5
Merge remote-tracking branch 'remotes/origin/2019.12.25_release_1.19.12_xmas'
2020-02-14 10:50:50 -05:00
rusefi
75d9417131
miata vvt trigger decoding is broken #1145
2020-02-14 00:37:36 -05:00
rusEfi
8c1536dd0e
FATAL error running MRE blinking test #1137
...
still not the fix?
2020-02-11 17:49:39 -05:00
rusEfi
59eb424ba0
TLE8888 watchdog #917
...
window watchdog progress
2020-02-10 13:24:09 -05:00
rusefi
cb8612a15c
code style
2020-02-10 09:29:11 -05:00
rusEfi
51cfc6bcf1
tle8888 start-up clean-up
2020-02-09 20:41:25 -05:00
Matthew Kennedy
98e6e4b0eb
Fix master ( #1134 )
...
* Revert "something went very wrong."
This reverts commit 53179dfd22
.
* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131 )""
This reverts commit 0bf32a7291
.
* Revert "partial Revert of "Stricter compile options (#1132 )""
This reverts commit a17cc28382
.
* temp prometheus fix
* fix bootloader
* fix batch files
2020-02-08 16:34:29 -05:00
rusefi
53179dfd22
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
8c118f2fbe
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
a00c1a5be9
Sensor reconfiguration while running ( #1131 )
...
* reconfigure sensors
* docs
* doc
2020-02-08 06:22:23 -03:00
Matthew Kennedy
4d1d2672ce
tps header cleanup ( #1130 )
...
* tps header cleanup
* dead code
2020-02-07 23:20:14 -03:00
Matthew Kennedy
f7282966d2
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
0d1f45422e
cam/vvt decoder
2020-02-05 01:49:33 -05:00
Matthew Kennedy
52c710bb62
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
20465107ed
boost format & cleanup ( #1126 )
2020-02-05 06:47:31 +05:30
Matthew Kennedy
6ebc49ce8b
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
6888b09c53
Three wire idle air valve #1122
...
ugly but should work to begin with
2020-02-04 01:22:04 -05:00
rusefi
c4c28431f2
Three wire idle air valve #1122
...
ugly but should work to begin with
2020-02-04 01:06:20 -05:00
rusefi
c2e02cc235
fixing build
2020-02-02 13:18:41 -05:00
rusefi
0ea8407097
launch dreams
2020-02-02 12:23:55 -05:00
ola
d49e253bff
Some initial work at Launch/ALS
...
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
960
4b4e683957
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
6022838656
looking forward
2020-02-01 17:55:58 -05:00
Matthew Kennedy
7682192c2b
Simplify fuel math again ( #1117 )
...
* return the scheduled time from scheduleByAngle
* simplify fueling math
2020-02-01 17:29:55 -05:00
Matthew Kennedy
c7dce2e38b
Rescale TPS ( #1112 )
...
* fake adc ticks
* consumers
* fix test 1
* fix tests
2020-02-01 16:41:07 -05:00
rusefi
7c714e5727
opening the door to boost controller!
2020-01-31 14:29:52 -05:00
rusefi
c2f0a30397
opening the door to boost controller!
2020-01-31 14:23:15 -05:00
rusefi
f6e7e8871a
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
b6e0bc7ed1
date & VVT test progress
2020-01-31 01:23:01 -05:00
rusefi
d48a57d599
refactoring: extracting DEEP_IN_THE_PAST_SECONDS contant
2020-01-31 01:21:56 -05:00
rusefi
b6fe6555e0
lovely tiny bug which mostly affects NB2 with an impossible one tooth crank trigger wheel
2020-01-30 01:47:34 -05:00
rusefi
cf087218c9
micro refactoring
2020-01-30 01:20:41 -05:00
rusefi
688a85a25d
reusing constant
2020-01-28 00:27:30 -05:00
rusefi
d9b96fe509
extracting class & codes clean-up
2020-01-28 00:16:33 -05:00
rusefi
b637757e57
reducing magic constants
2020-01-27 23:45:46 -05:00
rusefi
282cd8e1ac
trigger refactoring
2020-01-26 14:20:55 -05:00
rusefi
6e128a341b
code style
2020-01-26 13:58:47 -05:00
rusefi
a53d9c587a
trigger refactoring
2020-01-26 13:51:35 -05:00
rusefi
241d491625
trigger refactoring
2020-01-26 12:02:54 -05:00
rusefi
67bda5f088
good thing we have CI - fixing build
2020-01-26 09:00:46 -05:00
rusefi
03d2aae681
reducing code duplication
2020-01-26 06:35:51 -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
af8383ae3a
trigger refactoring
2020-01-25 11:22:25 -05:00
rusefi
0f23faba28
trigger refactoring
2020-01-25 02:00:33 -05:00
rusefi
31a92f1e9d
clean-up
2020-01-25 01:42:48 -05:00
rusefi
aabc50e7a9
refactoring trigger
2020-01-24 13:42:09 -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
rusefi
06cdb7cde6
refactoring
2020-01-22 01:22:44 -05:00
rusefi
8a88c90f3b
code style: trying to get used to this syntax
2020-01-22 00:45:09 -05:00
rusefi
9d0c5540d8
refactoring
2020-01-22 00:40:26 -05:00
rusefi
0c3f73c2b4
code style
2020-01-21 01:47:58 -05:00
rusefi
83b1ca00a4
code style
2020-01-21 01:40:11 -05:00
Matthew Kennedy
103e51dd85
Inject timestamps for injection too ( #1108 )
...
* schedule by nt, not us
* inject timestamp
2020-01-20 00:12:18 -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
Matthew Kennedy
09dc2f2390
don't use us for pwm calculation ( #1106 )
2020-01-19 07:02:49 -05:00
rusefi
7da4196f9c
NT not US not MS
...
thank you Matt
2020-01-19 03:49:35 -05:00
rusefi
2e0a30859c
date
2020-01-19 03:49:06 -05:00
rusefi
85a0490796
one step back
2020-01-19 02:58:54 -05:00
rusefi
2ae53d1681
better constraint validation
2020-01-19 00:28:58 -05:00
Matthew Kennedy
fa5b5b76fb
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
53433c88a7
trigger shape constraint validation
2020-01-14 03:54:46 -05:00
rusefi
27c44f08f4
reducing complexity?
2020-01-13 22:25:51 -05:00
rusefi
4cc206a393
reducing complexity
2020-01-13 22:23:46 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
713ccf76bb
header style
2020-01-13 02:30:49 -05:00
rusefi
2785b39c0e
date
2020-01-13 02:03:42 -05:00
rusefi
0bab01369a
refactoring: no need to specify parameter manually
2020-01-12 10:43:02 -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
rusefi
113fc4be36
refactoring
2020-01-12 05:17:42 -05:00
rusefi
f74cf3bfbe
refactoring
2020-01-12 05:12:09 -05:00
rusefi
1fe6899781
fresh
2020-01-12 03:45:33 -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
Matthew Kennedy
e4c4e90981
how tf did this ever build...? ( #1099 )
2020-01-12 03:25:34 -05:00
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