mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Kconfig: improve uniformity
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
3b3cebdd3e
commit
51a2db6ffc
@@ -8,12 +8,12 @@ if ARCH_BOARD_B_G431B_ESC1
|
||||
if STM32_FOC
|
||||
|
||||
config BOARD_STM32_BG431BESC1_FOC_VBUS
|
||||
bool "B-G431B-ESC1 board VBUS sense"
|
||||
default n
|
||||
bool "B-G431B-ESC1 board VBUS sense"
|
||||
default n
|
||||
|
||||
config BOARD_STM32_BG431BESC1_FOC_POT
|
||||
bool "B-G431B-ESC1 board POT support"
|
||||
default n
|
||||
bool "B-G431B-ESC1 board POT support"
|
||||
default n
|
||||
|
||||
endif # STM32_FOC
|
||||
|
||||
|
||||
@@ -4,67 +4,67 @@
|
||||
#
|
||||
|
||||
config BOARD_STM32_COMMON
|
||||
bool "Board common logic"
|
||||
default n
|
||||
---help---
|
||||
Board common logic located in each board/common folder.
|
||||
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.
|
||||
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
|
||||
bool "X-NUCLEO-IHM07M1 board VBUS sense"
|
||||
default n
|
||||
|
||||
config BOARD_STM32_IHM07M1_POT
|
||||
bool "X-NUCLEO-IHM07M1 board POT support"
|
||||
default n
|
||||
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.
|
||||
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
|
||||
bool "X-NUCLEO-IHM08M1 board VBUS sense"
|
||||
default n
|
||||
|
||||
config BOARD_STM32_IHM08M1_POT
|
||||
bool "X-NUCLEO-IHM08M1 board POT support"
|
||||
default n
|
||||
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.
|
||||
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
|
||||
bool "X-NUCLEO-IHM16M1 board VBUS sense"
|
||||
default n
|
||||
|
||||
config BOARD_STM32_IHM16M1_POT
|
||||
bool "X-NUCLEO-IHM16M1 board POT support"
|
||||
default n
|
||||
bool "X-NUCLEO-IHM16M1 board POT support"
|
||||
default n
|
||||
|
||||
endif # BOARD_STM32_IHM16M1
|
||||
|
||||
@@ -73,8 +73,8 @@ endif # STM32_FOC
|
||||
if SENSORS_HALL3PHASE
|
||||
|
||||
config BOARD_STM32_HALL3PHASE_SAMPLES
|
||||
int "3-phase Hall effect sensor number of samples"
|
||||
default 10
|
||||
int "3-phase Hall effect sensor number of samples"
|
||||
default 10
|
||||
|
||||
endif # SENSORS_HALL3PHASE
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ config STM32_OLIMEXP407_PRIO
|
||||
depends on USBHOST
|
||||
|
||||
config STM32_OLIMEXP407_UEXT_USART3
|
||||
bool "Enable UEXT USART3"
|
||||
default n
|
||||
bool "Enable UEXT USART3"
|
||||
default n
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user