nucleo-f446re: add qenco example configuration

This commit is contained in:
raiden00pl
2021-08-07 14:22:41 +02:00
committed by Alan Carvalho de Assis
parent 8cb58213e5
commit f0b377f434
3 changed files with 71 additions and 3 deletions
+9 -1
View File
@@ -5,10 +5,18 @@
if ARCH_BOARD_NUCLEO_F446RE
if SENSORS_QENCODER
config NUCLEO_F446RE_QETIMER
int "Timer to use with QE encoder"
default 3
depends on SENSORS_QENCODER
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
config NUCLEO_F446RE_AJOY_MINBUTTONS
bool "Minimal Joystick Buttons"