Files
mr-library/bsp/st/driver/Kconfig
2023-12-09 00:18:16 +08:00

204 lines
4.3 KiB
Plaintext

menu "Board configure"
choice
prompt "Chip type"
default MR_USING_STM32F1
config MR_USING_STM32F0
bool "STM32F0"
config MR_USING_STM32F1
bool "STM32F1"
config MR_USING_STM32F2
bool "STM32F2"
config MR_USING_STM32F3
bool "STM32F3"
config MR_USING_STM32F4
bool "STM32F4"
config MR_USING_STM32F7
bool "STM32F7"
config MR_USING_STM32G0
bool "STM32G0"
config MR_USING_STM32G4
bool "STM32G4"
config MR_USING_STM32H5
bool "STM32H5"
config MR_USING_STM32H7
bool "STM32H7"
config MR_USING_STM32L0
bool "STM32L0"
config MR_USING_STM32L1
bool "STM32L1"
config MR_USING_STM32L4
bool "STM32L4"
config MR_USING_STM32L5
bool "STM32L5"
endchoice
menu "ADC"
config MR_USING_ADC1
bool "Enable ADC1 driver"
default n
config MR_USING_ADC2
bool "Enable ADC2 driver"
default n
config MR_USING_ADC3
bool "Enable ADC3 driver"
default n
endmenu
menu "GPIO"
config MR_USING_GPIOA
bool "Enable GPIOA driver"
default n
config MR_USING_GPIOB
bool "Enable GPIOB driver"
default n
config MR_USING_GPIOC
bool "Enable GPIOC driver"
default n
config MR_USING_GPIOD
bool "Enable GPIOD driver"
default n
config MR_USING_GPIOE
bool "Enable GPIOE driver"
default n
endmenu
menu "UART"
config MR_USING_UART1
bool "Enable UART1 driver"
default n
config MR_USING_UART2
bool "Enable UART2 driver"
default n
config MR_USING_UART3
bool "Enable UART3 driver"
default n
config MR_USING_UART4
bool "Enable UART4 driver"
default n
config MR_USING_UART5
bool "Enable UART5 driver"
default n
config MR_USING_UART6
bool "Enable UART6 driver"
default n
config MR_USING_UART7
bool "Enable UART7 driver"
default n
config MR_USING_UART8
bool "Enable UART8 driver"
default n
endmenu
menu "SPI"
config MR_USING_SPI1
bool "Enable SPI1 driver"
default n
config MR_USING_SPI2
bool "Enable SPI2 driver"
default n
config MR_USING_SPI3
bool "Enable SPI3 driver"
default n
config MR_USING_SPI4
bool "Enable SPI3 driver"
default n
config MR_USING_SPI5
bool "Enable SPI5 driver"
default n
config MR_USING_SPI6
bool "Enable SPI6 driver"
default n
endmenu
menu "Timer"
config MR_USING_TIMER1
bool "Enable Timer1 driver"
default n
config MR_USING_TIMER2
bool "Enable Timer2 driver"
default n
config MR_USING_TIMER3
bool "Enable Timer3 driver"
default n
config MR_USING_TIMER4
bool "Enable Timer4 driver"
default n
config MR_USING_TIMER5
bool "Enable Timer5 driver"
default n
config MR_USING_TIMER6
bool "Enable Timer6 driver"
default n
config MR_USING_TIMER7
bool "Enable Timer7 driver"
default n
config MR_USING_TIMER8
bool "Enable Timer8 driver"
default n
config MR_USING_TIMER9
bool "Enable Timer9 driver"
default n
config MR_USING_TIMER10
bool "Enable Timer10 driver"
default n
config MR_USING_TIMER11
bool "Enable Timer11 driver"
default n
config MR_USING_TIMER12
bool "Enable Timer12 driver"
default n
config MR_USING_TIMER13
bool "Enable Timer13 driver"
default n
config MR_USING_TIMER14
bool "Enable Timer14 driver"
default n
endmenu
endmenu