rtt-f030/bsp/stm32f10x-HAL/KConfig

189 lines
4.0 KiB
Plaintext

mainmenu "RT-Thread Configuration"
config $BSP_DIR
string
option env="BSP_ROOT"
default "."
config $RTT_DIR
string
option env="RTT_ROOT"
default "../.."
config $PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/KConfig"
source "$PKGS_DIR/KConfig"
choice
prompt "Device type"
default STM32F103RB
config STM32F100RC
bool "STM32F100RC"
config STM32F100RD
bool "STM32F100RD"
config STM32F100RE
bool "STM32F100RE"
config STM32F100VC
bool "STM32F100VC"
config STM32F100VD
bool "STM32F100VD"
config STM32F100VE
bool "STM32F100VE"
config STM32F100ZC
bool "STM32F100ZC"
config STM32F100ZD
bool "STM32F100ZD"
config STM32F100ZE
bool "STM32F100ZE"
config STM32F101CB
bool "STM32F101CB"
config STM32F101RB
bool "STM32F101RB"
config STM32F101RC
bool "STM32F101RC"
config STM32F101RD
bool "STM32F101RD"
config STM32F101RE
bool "STM32F101RE"
config STM32F101RF
bool "STM32F101RF"
config STM32F101RG
bool "STM32F101RG"
config STM32F101TB
bool "STM32F101TB"
config STM32F101VB
bool "STM32F101VB"
config STM32F101VC
bool "STM32F101VC"
config STM32F101VD
bool "STM32F101VD"
config STM32F101VE
bool "STM32F101VE"
config STM32F101VF
bool "STM32F101VF"
config STM32F101VG
bool "STM32F101VG"
config STM32F101ZC
bool "STM32F101ZC"
config STM32F101ZD
bool "STM32F101ZD"
config STM32F101ZE
bool "STM32F101ZE"
config STM32F101ZF
bool "STM32F101ZF"
config STM32F101ZG
bool "STM32F101ZG"
config STM32F102CB
bool "STM32F102CB"
config STM32F102RB
bool "STM32F102RB"
config STM32F103C8
bool "STM32F103C8"
config STM32F103CB
bool "STM32F103CB"
config STM32F103R8
bool "STM32F103R8"
config STM32F103RB
bool "STM32F103RB"
config STM32F103RC
bool "STM32F103RC"
config STM32F103RD
bool "STM32F103RD"
config STM32F103RE
bool "STM32F103RE"
config STM32F103RF
bool "STM32F103RF"
config STM32F103RG
bool "STM32F103RG"
config STM32F103T8
bool "STM32F103T8"
config STM32F103TB
bool "STM32F103TB"
config STM32F103V8
bool "STM32F103V8"
config STM32F103VB
bool "STM32F103VB"
config STM32F103VC
bool "STM32F103VC"
config STM32F103VD
bool "STM32F103VD"
config STM32F103VE
bool "STM32F103VE"
config STM32F103VF
bool "STM32F103VF"
config STM32F103VG
bool "STM32F103VG"
config STM32F103ZC
bool "STM32F103ZC"
config STM32F103ZD
bool "STM32F103ZD"
config STM32F103ZE
bool "STM32F103ZE"
config STM32F103ZF
bool "STM32F103ZF"
config STM32F103ZG
bool "STM32F103ZG"
config STM32F105R8
bool "STM32F105R8"
config STM32F105RB
bool "STM32F105RB"
config STM32F105RC
bool "STM32F105RC"
config STM32F105V8
bool "STM32F105V8"
config STM32F105VB
bool "STM32F105VB"
config STM32F105VC
bool "STM32F105VC"
config STM32F107RB
bool "STM32F107RB"
config STM32F107RC
bool "STM32F107RC"
config STM32F107VB
bool "STM32F107VB"
config STM32F107VC
bool "STM32F107VC"
endchoice
config RT_USING_HSI
bool "Using HSI as clock source"
default n
config RT_HSE_VALUE
int "HSE Value"
default 8000000
depends on !RT_USING_HSI
if RT_USING_SERIAL
config RT_USING_UART1
bool "Using uart1"
default y
config RT_USING_UART2
bool "Using uart2"
default n
config RT_USING_UART3
bool "Using uart3"
default n
endif
if RT_USING_SPI
config RT_USING_SPI1
bool "Using spi1"
default y
config RT_USING_SPI2
bool "Using spi2"
default n
endif