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
rusefi
7927f7c035
better variable name & docs
2020-01-19 00:16:19 -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
Matthew Kennedy
049567f3e9
fix signed ignition timing ( #1102 )
2020-01-14 22:57:29 -05:00
rusefi
6c70f390da
trigger shape constraint validation
2020-01-14 03:54:46 -05:00
rusefi
7fdd10b50c
code style
2020-01-14 03:41:11 -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
rusefi
18e874ba7b
refactoring
2020-01-12 05:12:09 -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
dron0gus
1b19aa1c57
hw: gpio: use unsigned int as pin number inside gpiochip drives ( #1097 )
...
Not brain_pin_e. Drivers like to see pin number within current
chip.
2020-01-11 10:29:41 -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
335d8d2fc1
second channels for ETB related stuff
2020-01-11 01:08:41 -05: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
Matthew Kennedy
4c523b7bba
stepper as thread task ( #1089 )
2020-01-09 09:03:23 +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
9d796ea782
remove concept of TS pages ( #1075 )
...
* remove pages
* unify validation
* these need to be unsigned or we can still overrun
2020-01-07 07:56:45 -05:00
dron0gus
ddc071f611
Gpio fixes ( #1086 )
...
* drivers: gpio: add MC33810 driver (skeleton)
* pin_repository: debug: do not show absent chips
2020-01-07 07:55:50 -05:00
dron0gus
489e0df3c9
triggers: fix coexistence of ICU and EXTI trigger drivers ( #1085 )
2020-01-07 03:42:08 -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
e312f25497
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-01-03 21:41:51 -05:00
rusefi
1c4ed283f8
typo
2020-01-03 21:41:11 -05:00
dron0gus
0eabad2c6f
icu trigger: do not crash on incorrect brainPin ( #1082 )
...
* icu trigger: do not crash on incorrect brainPin
* Update trigger_input_icu.cpp
2020-01-03 09:13:55 -05:00
dron0gus
b6ef8ae14d
scripts: add gen_config, gen_config_board and gen_enum_to_string for Linux ( #1081 )
2020-01-02 18:58:28 -05:00
rusefi
afa5de2655
ETB documentation improvement?
2019-12-30 10:25:52 -05:00
rusefi
6570f3112c
E30 M3 Tach output solution #907
2019-12-30 01:41:23 -05:00
rusEfi
579cf5abb8
docs
2019-12-29 14:58:39 -05:00
rusEfi
59f25e04fd
improvements around weird engine types
2019-12-28 23:26:43 -05:00
rusEfi
499a39e88c
improvements around weird engine types
2019-12-28 23:22:16 -05:00
rusefi
c0831e22be
TL,DR
2019-12-26 23:07:15 -05:00
rusefi
afc038f58b
MC33816 default firmware
2019-12-26 23:06:31 -05:00
rusefi
464518403e
would URLs work?
2019-12-26 22:30:18 -05:00
rusefi
435928ca81
laughable gdi progress
2019-12-26 22:30:12 -05:00
rusefi
9e4df11063
Frankenso does not use ETB
2019-12-25 15:58:54 -05:00
rusefi
e1fb9ad271
maybe improvent for trigger errors in TS and console, TS still does not know about order error counter
2019-12-25 15:57:47 -05:00
rusefi
2621342a87
all pins improvement
2019-12-25 15:39:13 -05:00
rusefi
1e1a4722c5
maybe improvement to console trigger messages
2019-12-25 15:05:02 -05:00
rusefi
d56b47b18d
version compatibility validation fix
2019-12-25 14:15:44 -05:00
rusefi
5eae7e50f4
enabling TIM8 ICU
2019-12-25 09:28:51 -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
391a9315bf
style
2019-12-23 23:05:40 -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
ac5fb47fc1
Merge remote-tracking branch 'origin/master'
2019-12-23 20:19:44 -05:00
rusefi
95fa4c78c4
removing one dead line
2019-12-23 20:19:13 -05:00
rusEfi
9be7db340b
TS project repair
2019-12-22 20:15:00 -05:00
Matthew Kennedy
976ce221fe
Split CAN in to separate threads for rx/tx ( #1078 )
...
* rewrite can
* default parameters
2019-12-22 12:17:53 -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
b781b07ca4
a bit of dead code
2019-12-21 20:35:13 -05:00
rusefi
28ae4e478e
refactoring only #1076
2019-12-21 20:17:58 -05:00
rusefi
83507320f6
refactoring & docs update
2019-12-21 19:59:33 -05:00
rusefi
fc0c68fac0
docs :(
2019-12-21 19:50:16 -05:00
rusefi
5b17240513
looks like UI options does not work yet :( trying to make command line option a bit more usable
2019-12-21 16:04:03 -05:00