summaryrefslogtreecommitdiff
path: root/nuttx/configs/nucleo-f4x1re/Kconfig
blob: bdd5b9c3c56d562a5f14ed13deaa51973dd2a4f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

if ARCH_BOARD_NUCLEO_F401RE

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