Commit Graph

33 Commits

Author SHA1 Message Date
Matthew Kennedy 292120b8dc 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 49aedb1c74 [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 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 0ebc59b80f 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 8cfb63455d 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 f6d735cdd2 Hellen says merge #1772
Hellen says stepper

(cherry picked from commit 4bc18ee475)
2020-09-07 14:45:41 -04: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
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
Matthew Kennedy 4c523b7bba stepper as thread task (#1089) 2020-01-09 09:03:23 +03:00
andreika-git 53eeb79ea9 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 515ab03688 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 e895593e67 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 e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 9c4da7d9f8 better location for spi pin modes
stm32-specific code would upset someone
2019-03-29 02:44:52 -04:00
rusefi 92dc1e2176 funny progress 2018-12-30 19:13:28 -05:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
andreika-git e0ab7e5671 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 aae56f3880 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 5e79c90caa Use RTC backup register to save Stepper IAC position (#471) 2017-08-07 07:28:21 -04:00
Andrei 56bddfb677 stepperDirectionPin Mode 2017-06-13 16:28:05 +03:00
rusEfi 552c664a23 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi 132f77cb38 auto-sync 2016-02-04 12:01:41 -05:00
rusEfi 42069e51ac auto-sync 2015-12-31 16:02:30 -05:00
rusEfi 41e7abdd6f auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 69b0c4e2de auto-sync 2015-07-10 08:57:59 -04:00
rusEfi cfb02e8288 auto-sync 2015-04-17 21:04:22 -04:00
rusEfi da572a7cd8 auto-sync 2015-04-15 10:05:24 -04:00
rusEfi 5fef502111 auto-sync 2015-04-14 23:05:50 -04:00
rusEfi 974fb44280 auto-sync 2015-04-14 20:08:04 -04:00
rusEfi add1627382 auto-sync 2015-03-29 18:04:56 -05:00
rusEfi a174734294 auto-sync 2015-01-12 17:04:10 -06:00
rusEfi 3cab8b59e5 auto-sync 2015-01-04 12:04:12 -06:00
rusEfi b4bdc5c5db auto-sync 2014-12-24 18:05:31 -06:00