2019-03-15 19:45:13 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_BOARD_NUCLEO_F446RE
|
|
|
|
|
2021-08-07 14:22:41 +02:00
|
|
|
if SENSORS_QENCODER
|
|
|
|
|
2019-03-15 19:45:13 +01:00
|
|
|
config NUCLEO_F446RE_QETIMER
|
|
|
|
int "Timer to use with QE encoder"
|
|
|
|
default 3
|
2021-08-07 14:22:41 +02:00
|
|
|
|
|
|
|
config NUCLEO_F446RE_QETIMER_TIM2_IHM08M1_MAP
|
|
|
|
bool "Use TIM2 QE pins to match IHM08M1 board pins"
|
|
|
|
default n
|
|
|
|
depends on STM32_TIM2_QE
|
|
|
|
|
|
|
|
endif # SENSORS_QENCODER
|
2019-03-15 19:45:13 +01:00
|
|
|
|
|
|
|
config NUCLEO_F446RE_AJOY_MINBUTTONS
|
|
|
|
bool "Minimal Joystick Buttons"
|
2023-07-15 19:04:21 +02:00
|
|
|
default STM32_USART1
|
2021-04-08 11:33:58 +02:00
|
|
|
depends on INPUT_AJOYSTICK
|
2019-03-15 19:45:13 +01:00
|
|
|
---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).
|
|
|
|
|
2022-10-04 21:04:48 +02:00
|
|
|
config STM32_ROMFS
|
|
|
|
bool "Automount baked-in ROMFS image"
|
|
|
|
default n
|
|
|
|
depends on FS_ROMFS
|
|
|
|
---help---
|
|
|
|
Select STM32_ROMFS_IMAGEFILE, STM32_ROMFS_DEV_MINOR, STM32_ROMFS_MOUNTPOINT
|
|
|
|
|
|
|
|
config STM32_ROMFS_DEV_MINOR
|
|
|
|
int "Minor for the block device backing the data"
|
|
|
|
depends on STM32_ROMFS
|
|
|
|
default 64
|
|
|
|
|
|
|
|
config STM32_ROMFS_MOUNTPOINT
|
|
|
|
string "Mountpoint of the custom romfs image"
|
|
|
|
depends on STM32_ROMFS
|
|
|
|
default "/rom"
|
|
|
|
|
|
|
|
config STM32_ROMFS_IMAGEFILE
|
|
|
|
string "ROMFS image file to include into build"
|
|
|
|
depends on STM32_ROMFS
|
|
|
|
default "../../../rom.img"
|
|
|
|
|
2019-03-15 19:45:13 +01:00
|
|
|
endif # ARCH_BOARD_NUCLEO_F446RE
|