2014-04-20 21:42:23 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-04-20 21:42:23 +02:00
|
|
|
#
|
2014-12-04 17:58:13 +01:00
|
|
|
|
|
|
|
if ARCH_BOARD_NUCLEO_F401RE
|
|
|
|
|
2016-11-22 13:41:46 +01:00
|
|
|
config NUCLEO_F401RE_QETIMER
|
|
|
|
int "Timer to use with QE encoder"
|
|
|
|
default 3
|
|
|
|
depends on QENCODER
|
|
|
|
|
2014-12-04 17:58:13 +01:00
|
|
|
config NUCLEO_F401RE_AJOY_MINBUTTONS
|
|
|
|
bool "Minimal Joystick Buttons"
|
|
|
|
default n if !STM32_USART1
|
|
|
|
default y if STM32_USART1
|
|
|
|
depends on AJOYSTICK
|
|
|
|
---help---
|
|
|
|
The Itead Joystick shield supports analog X/Y position and up to 5
|
|
|
|
buttons. Some of these buttons may conflict with other resources
|
|
|
|
(Button F, for example, conflicts with the default USART1 pin usage).
|
|
|
|
Selecting this option will return the number of buttons to the
|
|
|
|
minimal set: SELECT (joystick down), FIRE (BUTTON B), and JUMP
|
|
|
|
(BUTTON A).
|
|
|
|
|
|
|
|
endif # ARCH_BOARD_NUCLEO_F401RE
|