2021-03-03 20:30:32 +01:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2021-04-14 15:01:43 +02:00
|
|
|
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
|
|
|
|
|
2021-03-03 20:30:32 +01:00
|
|
|
endif # STM32_FOC
|
|
|
|
|
|
|
|
endif # BOARD_STM32_COMMON
|