Commit Graph

33 Commits

Author SHA1 Message Date
Matthew Kennedy 29ec0a5859
better pch usage and gmock constructors (#3426)
* break out mock constructors

* comment and spacing

* unnecessary compiler options

* happy stepper

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-30 20:31:09 -04:00
Andreika bc4a068c9c
[DRAFT] IAC H-Bridge Microstepping (#3213)
* fix for stepperHbridgeHardware

* new config fields for microstepping

* add stepper dir pin mode to the dialog

* refactor stepper hw dialog & add microstepping panel

* microstepper modes enum

* stepperDcInvertedPins needed by Hellen

* add sleep() for stepper and divisor for pause()

* microstepping impl.

* make unit-tests more happy

* small progress

* fix etb-stepper dlg conflict

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-10-06 13:57:04 -04:00
Matthew Kennedy d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy a8eddbccf6
perform extra-step-prevention in the stepper driver itself (#3038)
* perform extra-step-prevention in the stepper driver itself

* isBusy flag

* I am unable to type

* the court of public opinion has decided that greater-equal is correct

* that sets target in steps, not percent

* correct var name

* mock stepper motor

* testable stepper

* build is happy

* helping build
2021-08-02 07:03:57 -04:00
Matthew Kennedy bd1c84fa62
Logging remove 3 (#2568)
* ts logger

* sensors

* wideband too

* missed one

* init

* motors, pid, etc

* vvt

* more

* idle

* missed one

* dynoview

* launch

* can

* console IO

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
rusefi 6a3d212370 Hellen says merge #1772
Hellen says stepper

(cherry picked from commit a2f26ac99b)
2020-09-07 14:45:41 -04: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 bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
Matthew Kennedy 859ef97607 stepper as thread task (#1089) 2020-01-09 09:03:23 +03:00
andreika-git 9a0b66791b unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix (#1029)
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH

* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()

* clutchUpPinMode for unregisterPin()

* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL

* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
Matthew Kennedy 95003e9a7b const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
dron0gus 86c561c651 Simulator (#749)
* Hide trigger_input.cpp if EFI_SHAFT_POSITION_INPUT == FALSE

* hide some hw-specific code under EFI_PROD_CODE
2019-04-12 23:28:19 +02:00
rusefi bd2b992918 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 5626a8c82a better location for spi pin modes
stm32-specific code would upset someone
2019-03-29 02:44:52 -04:00
rusefi e9fdc2b2ce funny progress 2018-12-30 19:13:28 -05:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
andreika-git d45cec568d Reduce step skipping for stepper motor (#559)
* Reduce step skipping for stepper motor

* Add stepperParkingExtraSteps
2018-01-28 14:44:01 -05:00
andreika-git 45d89fdba8 Backup NV-RAM refactor (#518)
* Backup NV-RAM refactor

* More comments on BACKUP_IGNITION_SWITCH_COUNTER
2017-12-22 08:49:03 -05:00
andreika-git 83dfee8e96 Use RTC backup register to save Stepper IAC position (#471) 2017-08-07 07:28:21 -04:00
Andrei 68e761f6f0 stepperDirectionPin Mode 2017-06-13 16:28:05 +03:00
rusEfi 55e89f0f31 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi f3e49f96ae auto-sync 2016-02-04 12:01:41 -05:00
rusEfi fbdea87819 auto-sync 2015-12-31 16:02:30 -05:00
rusEfi 969ebbf142 auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 298341e0d1 auto-sync 2015-07-10 08:57:59 -04:00
rusEfi 0c5c82a8a4 auto-sync 2015-04-17 21:04:22 -04:00
rusEfi 8d525e8ed1 auto-sync 2015-04-15 10:05:24 -04:00
rusEfi 47c1fca16f auto-sync 2015-04-14 23:05:50 -04:00
rusEfi 4e0f8021b2 auto-sync 2015-04-14 20:08:04 -04:00
rusEfi eedc5c42ed auto-sync 2015-03-29 18:04:56 -05:00
rusEfi 9820527bdb auto-sync 2015-01-12 17:04:10 -06:00
rusEfi 0779d7b4fa auto-sync 2015-01-04 12:04:12 -06:00
rusEfi f44bdd4e44 auto-sync 2014-12-24 18:05:31 -06:00