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.
|
|
|
|
#
|
|
|
|
|
|
|
|
if STM32_FOC
|
|
|
|
|
|
|
|
menuconfig BOARD_STM32_IHM07M1
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM07M1 board support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Board based on the L6230 DMOS driver.
|
2021-03-03 20:30:32 +01:00
|
|
|
|
|
|
|
if BOARD_STM32_IHM07M1
|
|
|
|
|
|
|
|
config BOARD_STM32_IHM07M1_VBUS
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM07M1 board VBUS sense"
|
|
|
|
default n
|
2021-03-03 20:30:32 +01:00
|
|
|
|
|
|
|
config BOARD_STM32_IHM07M1_POT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM07M1 board POT support"
|
|
|
|
default n
|
2021-03-03 20:30:32 +01:00
|
|
|
|
|
|
|
endif # BOARD_STM32_IHM07M1
|
|
|
|
|
|
|
|
menuconfig BOARD_STM32_IHM08M1
|
2021-12-14 08:52:49 +01:00
|
|
|
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.
|
2021-03-03 20:30:32 +01:00
|
|
|
|
|
|
|
if BOARD_STM32_IHM08M1
|
|
|
|
|
|
|
|
config BOARD_STM32_IHM08M1_VBUS
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM08M1 board VBUS sense"
|
|
|
|
default n
|
2021-03-03 20:30:32 +01:00
|
|
|
|
|
|
|
config BOARD_STM32_IHM08M1_POT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM08M1 board POT support"
|
|
|
|
default n
|
2021-03-03 20:30:32 +01:00
|
|
|
|
|
|
|
endif # BOARD_STM32_IHM08M1
|
|
|
|
|
2021-04-14 15:01:43 +02:00
|
|
|
menuconfig BOARD_STM32_IHM16M1
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM16M1 board support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Board based on the STSPIN830 three-phase brushless motor driver.
|
2021-04-14 15:01:43 +02:00
|
|
|
|
|
|
|
if BOARD_STM32_IHM16M1
|
|
|
|
|
|
|
|
config BOARD_STM32_IHM16M1_VBUS
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM16M1 board VBUS sense"
|
|
|
|
default n
|
2021-04-14 15:01:43 +02:00
|
|
|
|
|
|
|
config BOARD_STM32_IHM16M1_POT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "X-NUCLEO-IHM16M1 board POT support"
|
|
|
|
default n
|
2021-04-14 15:01:43 +02:00
|
|
|
|
|
|
|
endif # BOARD_STM32_IHM16M1
|
|
|
|
|
2021-03-03 20:30:32 +01:00
|
|
|
endif # STM32_FOC
|
|
|
|
|
2021-08-18 14:04:16 +02:00
|
|
|
if SENSORS_HALL3PHASE
|
|
|
|
|
|
|
|
config BOARD_STM32_HALL3PHASE_SAMPLES
|
2021-12-14 08:52:49 +01:00
|
|
|
int "3-phase Hall effect sensor number of samples"
|
|
|
|
default 10
|
2021-08-18 14:04:16 +02:00
|
|
|
|
|
|
|
endif # SENSORS_HALL3PHASE
|