Allow the micro-controller code to be built without support for regular gpio pins. In this case, the code for endstops, steppers, and gpiocmds will be disabled. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
19 lines
336 B
Plaintext
19 lines
336 B
Plaintext
# Kconfig settings for compiling and running the firmware on the host
|
|
# processor for simulation purposes.
|
|
|
|
if MACH_SIMU
|
|
|
|
config BOARD_DIRECTORY
|
|
string
|
|
default "simulator"
|
|
|
|
config SIMULATOR_SELECT
|
|
bool
|
|
default y
|
|
select HAVE_GPIO
|
|
select HAVE_GPIO_ADC
|
|
select HAVE_GPIO_SPI
|
|
select HAVE_GPIO_HARD_PWM
|
|
|
|
endif
|