nuttx/boards/arm/stm32/common/Kconfig

82 lines
1.6 KiB
Plaintext
Raw Normal View History

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config BOARD_STM32_COMMON
bool "Board common logic"
default n
---help---
Board common logic located in each board/common folder.
if BOARD_STM32_COMMON
if STM32_FOC
menuconfig BOARD_STM32_IHM07M1
bool "X-NUCLEO-IHM07M1 board support"
default n
---help---
Board based on the L6230 DMOS driver.
if BOARD_STM32_IHM07M1
config BOARD_STM32_IHM07M1_VBUS
bool "X-NUCLEO-IHM07M1 board VBUS sense"
default n
config BOARD_STM32_IHM07M1_POT
bool "X-NUCLEO-IHM07M1 board POT support"
default n
endif # BOARD_STM32_IHM07M1
menuconfig BOARD_STM32_IHM08M1
bool "X-NUCLEO-IHM08M1 board support"
default n
select STM32_FOC_HAS_PWM_COMPLEMENTARY
---help---
Board based on the discrete L6398 gate drivers and STL220N6F7 POWER MOSFETs.
if BOARD_STM32_IHM08M1
config BOARD_STM32_IHM08M1_VBUS
bool "X-NUCLEO-IHM08M1 board VBUS sense"
default n
config BOARD_STM32_IHM08M1_POT
bool "X-NUCLEO-IHM08M1 board POT support"
default n
endif # BOARD_STM32_IHM08M1
menuconfig BOARD_STM32_IHM16M1
bool "X-NUCLEO-IHM16M1 board support"
default n
---help---
Board based on the STSPIN830 three-phase brushless motor driver.
if BOARD_STM32_IHM16M1
config BOARD_STM32_IHM16M1_VBUS
bool "X-NUCLEO-IHM16M1 board VBUS sense"
default n
config BOARD_STM32_IHM16M1_POT
bool "X-NUCLEO-IHM16M1 board POT support"
default n
endif # BOARD_STM32_IHM16M1
endif # STM32_FOC
if SENSORS_HALL3PHASE
config BOARD_STM32_HALL3PHASE_SAMPLES
int "3-phase Hall effect sensor number of samples"
default 10
endif # SENSORS_HALL3PHASE
endif # BOARD_STM32_COMMON