Commit Graph

7266 Commits

Author SHA1 Message Date
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 22abae5ba2 fix signed ignition timing (#1103) 2020-01-14 23:19:48 -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 2c9970b91e Merge branch 'master' of https://github.com/rusefi/rusefi 2020-01-14 03:43:14 -05:00
rusefi 7fdd10b50c code style 2020-01-14 03:41:11 -05:00
rusefi bb2de44df9 Create FUNDING.yml 2020-01-14 02:55:42 -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
rusefi b1a8b16e8c fresh 2020-01-12 03:45:33 -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
rusefi 726692efde Merge branch 'master' of https://github.com/rusefi/rusefi 2020-01-10 01:40:16 -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