Matthew Kennedy
ecaaff544b
de-pointerize outputMode #49
2023-02-25 00:31:12 -08:00
Matthew Kennedy
efdae2322d
Start -> start ( #4366 )
2022-07-21 15:17:32 -04:00
rusefillc
c51881a80d
debug is set to idle mode, but none of the debug fields show anything #4335
...
reducing confusion
2022-07-07 23:04:19 -04:00
Andrey
d2c46b3310
Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming
2021-12-07 20:18:47 -05:00
Scott Smith
80091498a6
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
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
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -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
d3ec2b21d1
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy
e3849b95d5
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -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
Matthew Kennedy
f8747a35bf
set all thread priorities in the same place ( #2412 )
...
* unify thread priority
* header
* mmc
2021-02-28 07:30:45 -05:00
Andrey G
b61ae75fe2
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
rusefillc
3cbb33c763
avoid float -> int64 conversion #1977
...
cherry picking...
2020-11-24 20:33:51 -05:00
rusefi
4bc18ee475
Hellen says merge #1772
...
Hellen says stepper
2020-09-07 14:41:04 -04:00
Matthew Kennedy
fc02c2bdf4
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
Matthew Kennedy
8235d8d765
Fully switch acc pedal to new sensors ( #1212 )
...
* proxy sensor
* header
* idle
* can
* settings
* remove old mocking
* remove old impl
* etb
* oops, gotta actually register it
* fix test
* structured bindings ftw!
* driver intent for stepper
* tear out old
* oops too much
2020-04-01 20:21:03 -04:00
Matthew Kennedy
67f01ff9c7
Friendlier pin names ( #1233 )
...
* enable TS error readout
* friendlier text for common errors
* improve comment
* friendlier ADC errors
* ign/inj names
* more pin names
2020-03-29 19:07:07 -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
rusefi
f47a1a16d1
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05: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
rusefi
a1f828162a
evil manual cherry
2019-11-11 20:34:09 -05:00
rusefi
2530f31498
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-06 20:01:53 -05:00
rusefi
c0d9eeed03
dead code & typo
2019-07-13 09:38:37 -04: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
rusefi
fe1f871a69
defined(__DOXYGEN__) ? #748
2019-04-12 20:52:51 -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
andreika-git
97191fda08
More portability and smaller RAM footprint possible ( #722 )
...
* EFI_NO_CONFIG_WORKING_COPY
* EFI_CONSOLE_NO_THREAD
* EFI_SHAFT_POSITION_INPUT
* #ifndef UTILITY_THREAD_STACK_SIZE
* fix printf() -> print()
2019-03-30 22:41:46 +01:00
rusefi
9c4da7d9f8
better location for spi pin modes
...
stm32-specific code would upset someone
2019-03-29 02:44:52 -04:00
rusefi
70f5d3e69c
better conditional compilation
2019-01-31 11:57:15 -05:00
rusefi
93b08dcc4c
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 22:16:30 -05:00
rusefi
cb6fb2a9ca
better conditional compilation
2019-01-03 23:51:29 -05:00
Fabien Poussin
1f29b5dd37
Workarounds for GCC 8 ( #637 )
2018-12-27 09:40:40 -05:00
rusefi
cb8fccc19c
#616
2018-11-02 13:18:47 -04:00
rusefi
a3e77d7b28
#616 idle for simulator
2018-11-01 15:57:50 -04:00
andreika-git
ebbcb01a1e
Add Option: Force stepper parking every restart ( #562 )
2018-01-29 18:27:39 -05: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
rusefi
adfe5e9274
#65
...
explicit precision control
2018-01-23 12:05:14 -05:00
andreika-git
a43e19c870
Fix stepper motor ( #541 )
2018-01-22 17:48:12 -05:00
rusefi
53394cd506
fix #539 reducing idle stepper reaction time
2018-01-21 12:19:36 -05:00
rusefi
f5a4376036
happy new year
2018-01-20 20:55:31 -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
rusefi
201b3a3491
better error handling
2017-07-28 14:27:37 -04:00
Andrei
56bddfb677
stepperDirectionPin Mode
2017-06-13 16:28:05 +03:00
rusefi
5e9ed07904
configurable stepper pulse
2017-06-12 18:31:55 -04:00
rusefi
6f2134511b
better method name
2017-05-15 08:40:54 -04:00