klipper/src/rp2040/Kconfig
Kevin O'Connor 689231df3a stepper: Add support for stepping on both edges of a step pulse
Add an optimized step function for drivers that support stepping on
both rising and falling edges of the step pin.  Enable this
optimization on 32bit ARM micro-controllers.  Automatically detect
this capability in the host code and enable on TMC drivers running in
SPI/UART mode.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-11-04 12:06:27 -04:00

68 lines
1.1 KiB
Plaintext

# Kconfig settings for STM32 processors
if MACH_RP2040
config RP2040_SELECT
bool
default y
select HAVE_GPIO
select HAVE_GPIO_ADC
select HAVE_GPIO_SPI
select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID
select HAVE_GPIO_HARD_PWM
select HAVE_STEPPER_BOTH_EDGE
config BOARD_DIRECTORY
string
default "rp2040"
config MCU
string
default "rp2040"
config CLOCK_FREQ
int
default 12000000
config FLASH_SIZE
hex
default 0x200000
config RAM_START
hex
default 0x20000000
config RAM_SIZE
hex
default 0x42000
config STACK_SIZE
int
default 512
config FLASH_START
hex
default 0x10000000
######################################################################
# Communication inteface
######################################################################
config USBSERIAL
bool
config SERIAL
bool
choice
prompt "Communication interface"
config RP2040_USB
bool "USB"
select USBSERIAL
config RP2040_SERIAL_UART0
bool "Serial (on UART0 GPIO1/GPIO0)"
select SERIAL
endchoice
endif