rt-thread-official/bsp/stm32/stm32h743-openmv-h7plus/board/Kconfig

161 lines
4.8 KiB
Plaintext
Raw Normal View History

2021-12-13 21:23:52 +08:00
menu "Hardware Drivers Config"
config SOC_STM32H743II
bool
select SOC_SERIES_STM32H7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
2023-01-09 10:14:23 +08:00
menu "On-chip Peripheral Drivers"
2021-12-13 21:23:52 +08:00
config BSP_USING_GPIO
bool "Enable GPIO"
select RT_USING_PIN
default y
2021-12-13 21:23:52 +08:00
menuconfig BSP_USING_UART
bool "Enable UART"
default y
select RT_USING_SERIAL
2021-12-13 21:23:52 +08:00
if BSP_USING_UART
config BSP_USING_UART1
bool "Enable UART1"
default y
config BSP_UART1_RX_USING_DMA
bool "Enable UART1 RX DMA"
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
default n
config BSP_USING_UART2
bool "Enable UART2"
default n
2021-12-13 21:23:52 +08:00
config BSP_UART2_RX_USING_DMA
bool "Enable UART2 RX DMA"
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
default n
2023-01-09 10:14:23 +08:00
config BSP_USING_LPUART1
bool "Enable LPUART1"
default n
config BSP_LPUART1_RX_USING_DMA
bool "Enable LPUART1 RX DMA"
depends on BSP_USING_LPUART1 && RT_SERIAL_USING_DMA
default n
endif
2023-01-09 10:14:23 +08:00
config BSP_USING_QSPI
bool "Enable QSPI BUS"
select RT_USING_QSPI
select RT_USING_SPI
2021-12-13 21:23:52 +08:00
default n
2022-04-13 15:22:34 +08:00
config BSP_USING_ONCHIP_RTC
bool "Enable RTC"
select RT_USING_RTC
default n
source "$BSP_DIR/../libraries/HAL_Drivers/drivers/Kconfig"
2023-01-09 10:14:23 +08:00
endmenu
menu "Onboard Peripheral Drivers"
config BSP_USING_SDRAM
bool "Enable SDRAM"
default n
config BSP_USING_QSPI_FLASH
bool "Enable QSPI FLASH (W25Q256 qspi)"
select BSP_USING_QSPI
select RT_USING_SFUD
select RT_SFUD_USING_QSPI
default n
config BSP_USING_SDMMC
bool "Enable SDMMC (SD card)"
select RT_USING_SDIO
select RT_USING_DFS
select RT_USING_DFS_ELMFAT
default n
config BSP_USING_USBD
bool "Enable OTGFS as USB device"
select RT_USING_USB_DEVICE
2023-01-09 10:14:23 +08:00
default n
config BSP_USING_OV5640
bool "Enable camera (ov5640)"
select BSP_USING_DCMI
select BSP_USING_I2C
select BSP_USING_I2C1
select BSP_USING_PWM
select BSP_USING_PWM1
select BSP_USING_PWM1_CH1
default n
config BSP_USING_DCMI
bool "Enable DCMI"
default n
2023-01-09 10:14:23 +08:00
menuconfig BSP_USING_I2C
bool "Enable I2C BUS (software simulation)"
select RT_USING_I2C
select RT_USING_I2C_BITOPS
select RT_USING_PIN
default n
if BSP_USING_I2C
menuconfig BSP_USING_I2C1
bool "Enable I2C1 BUS (software simulation)"
default n
if BSP_USING_I2C1
comment "Notice: PB8 --> 24; PB9 --> 25"
config BSP_I2C1_SCL_PIN
int "i2c1 scl pin number"
range 1 176
default 24
config BSP_I2C1_SDA_PIN
int "I2C1 sda pin number"
range 1 176
default 25
endif
menuconfig BSP_USING_I2C2
bool "Enable I2C2 BUS (software simulation)"
default n
if BSP_USING_I2C2
comment "Notice: PB10 --> 26; PB11 --> 27"
config BSP_I2C2_SCL_PIN
int "i2c2 scl pin number"
range 1 176
default 26
config BSP_I2C2_SDA_PIN
int "I2C2 sda pin number"
range 1 176
default 27
endif
endif
menuconfig BSP_USING_PWM
bool "Enable PWM"
default n
select RT_USING_PWM
if BSP_USING_PWM
menuconfig BSP_USING_PWM1
bool "Enable timer1 output pwm"
default n
if BSP_USING_PWM1
config BSP_USING_PWM1_CH1
bool "Enable PWM1 channel1"
default n
endif
endif
endmenu
2021-12-13 21:23:52 +08:00
endmenu