rusefi
64c83fa4cd
he owes me one now
2020-02-14 23:03:26 -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
fe063d53cd
proper 'f' syntax
2020-02-12 23:16:46 -05:00
rusEfi
67c4fe9f63
catching up
2020-02-12 22:56:31 -05:00
rusEfi
aed1152c7a
MRE divider
2020-02-12 22:15:36 -05:00
rusefi
333a7a6608
TLE8888 watchdog #917
2020-02-12 19:32:40 -05:00
rusefi
deb73f505b
#917 progress
2020-02-12 17:37:45 -05:00
rusefi
efc8d69085
and fixing build now!
2020-02-12 17:23:22 -05:00
rusefi
6c843e6954
tle8888 refactoring already - extracting method
2020-02-12 17:19:58 -05:00
rusEfi
abf0f950e7
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-02-12 08:54:41 -05:00
rusEfi
01855b9c85
more commands
2020-02-12 08:53:50 -05:00
dron0gus
3b61334714
tle8888: disable diagnostic for outputs ( #1144 )
...
DS is not clear, may be tle8888 clears OE bit in case of error on
output.
2020-02-12 08:53:35 -05:00
rusEfi
74ead04e84
tle8888 dump at init
2020-02-12 08:34:26 -05:00
rusEfi
86b3332cfe
have nothing else to do :(
2020-02-12 08:24:24 -05:00
rusEfi
4dbff5ff30
tle8888 output fix
2020-02-12 08:15:55 -05:00
rusefi
5665e43954
tle8888 output fix
2020-02-12 08:04:33 -05:00
rusEfi
2eec13007e
FATAL error running MRE blinking test #1137
...
typo
2020-02-11 17:52:01 -05:00
rusEfi
1e010c8e82
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-02-11 17:49:49 -05:00
rusEfi
8c1536dd0e
FATAL error running MRE blinking test #1137
...
still not the fix?
2020-02-11 17:49:39 -05:00
dron0gus
82e33e45af
Tle8888 wd ( #1143 )
...
* tle8888: watchdog: debug over TS: remove tailing register address
* tle8888: ann console command to dump all regs
2020-02-11 17:49:14 -05:00
dron0gus
678c3525b8
tle8888: watchdog: debug using TS ( #1142 )
2020-02-11 16:56:52 -05:00
dron0gus
95ce978c23
tle8888: watchdog: use FWDRespSyncCmd for last response ( #1140 )
2020-02-11 15:49:17 -05:00
dron0gus
7bd68beae9
tle8888: watchdog: do not overwrite defaults, response table fix ( #1139 )
2020-02-11 15:36:53 -05:00
rusEfi
6b874c12c0
TLE8888 watchdog #917
...
still no luck. responses 0x85c and 0xa5c
2020-02-11 00:54:15 -05:00
rusEfi
cd9c291e3e
WdDiag
2020-02-10 21:28:55 -05:00
rusEfi
41253b88b8
TLE8888 watchdog #917
...
time to start working?!
2020-02-10 18:32:32 -05:00
rusEfi
a29d6fc241
TLE8888 watchdog #917
...
maybe better start-up sequence
2020-02-10 17:08:37 -05:00
rusEfi
0b8c1e69dc
TLE8888 watchdog #917
2020-02-10 14:37:52 -05:00
rusEfi
59eb424ba0
TLE8888 watchdog #917
...
window watchdog progress
2020-02-10 13:24:09 -05:00
rusefi
b3bc3325b9
TLE8888 watchdog #917
...
first steps
2020-02-10 11:11:00 -05:00
rusefi
cb8612a15c
code style
2020-02-10 09:29:11 -05:00
rusEfi
551273a336
FATAL error running MRE blinking test fix #1137
2020-02-09 21:16:31 -05:00
rusEfi
51cfc6bcf1
tle8888 start-up clean-up
2020-02-09 20:41:25 -05:00
Matthew Kennedy
2add78b242
we already have a timestamp, don't take another one ( #1133 )
2020-02-08 17:48:15 -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
rusefi
0bf32a7291
trying to fix build broken by "Sensor reconfiguration while running ( #1131 )"
2020-02-08 07:26:54 -05:00
rusefi
a17cc28382
partial Revert of "Stricter compile options ( #1132 )"
2020-02-08 07:08:22 -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
rusefi
9517da33c3
sign/unsign
2020-02-04 13:47:43 -05:00
Matthew Kennedy
d1c619879c
more signed vs. unsigned ts ( #1124 )
2020-02-04 11:47:01 -05:00
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
rusefi
7a4a4c2c64
more Proteus CI
2020-02-02 08:42:05 -05:00
rusefi
c8f130f996
Boost Control is experimental/Alpha Version
2020-02-02 08:38:15 -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
Matthew Kennedy
8c3d8d5665
more proteus pins ( #1118 )
2020-02-02 02:38:15 -05:00
rusefi
6022838656
looking forward
2020-02-01 17:55:58 -05:00
rusefi
6c6cfb5714
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-02-01 17:30:19 -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
rusefi
48ee092ac6
reducing headers
2020-02-01 17:27:24 -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
5a21964925
Matt does this look right?
2020-02-01 14:45:55 -05:00
rusefi
e7deff7a79
proteus build into CI
2020-02-01 14:27:41 -05:00
rusefi
371e1cb7f6
DBG_BOOST
2020-01-31 23:58:15 -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
Matthew Kennedy
d004efa844
minor proteus default config & mapping fixes ( #1113 )
...
* vbatt and can
* correct comment
* fix mapping
2020-01-29 23:32:48 -05:00
Matthew Kennedy
ff3329655a
Dont cache dma buffers ( #1110 )
...
* add no_cache
* don't disable cache
* conventions
* formatting
2020-01-29 00:32:43 -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
1817b8654e
SCB_DisableDCache rollback
2020-01-25 21:30:19 -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
fea2394c7b
F7 SPI challenges
2020-01-24 23:52:56 -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
rusefi
b377e1f2f0
better variable name & docs
2020-01-19 00:16:19 -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
fc987052b5
fresh
2020-01-14 23:21:18 -05:00
Matthew Kennedy
3445b76f01
fix signed ignition timing ( #1102 )
2020-01-14 22:57:29 -05:00
rusefi
53433c88a7
trigger shape constraint validation
2020-01-14 03:54:46 -05:00
rusefi
73a6b7b813
code style
2020-01-14 03:41:11 -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
dron0gus
85a460f2ba
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
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
Matthew Kennedy
859ef97607
stepper as thread task ( #1089 )
2020-01-09 09:03:23 +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
bd029e27da
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
9f0d84f338
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
a2fdc1128e
triggers: fix coexistence of ICU and EXTI trigger drivers ( #1085 )
2020-01-07 03:42:08 -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