Add support for "step on both edges" to the main stepper_event_full() code. This makes that mode of operation available even when the micro-controller is not compiled for "optimized step on both edges". It also enables the custom pulse duration support (step_pulse_ticks) when in "step on both edges" mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
22 lines
323 B
Plaintext
22 lines
323 B
Plaintext
# Kconfig settings for AR100
|
|
|
|
if MACH_AR100
|
|
|
|
config AR100_SELECT
|
|
bool
|
|
default y
|
|
select HAVE_GPIO
|
|
select HAVE_GPIO_SPI
|
|
select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE
|
|
select HAVE_LIMITED_CODE_SIZE
|
|
|
|
config BOARD_DIRECTORY
|
|
string
|
|
default "ar100"
|
|
|
|
config CLOCK_FREQ
|
|
int
|
|
default 300000000
|
|
|
|
endif
|