forked from xuos/xiuos
105 lines
2.3 KiB
Plaintext
105 lines
2.3 KiB
Plaintext
menuconfig BSP_USING_UART
|
|
bool "Using UART device"
|
|
default y
|
|
select RESOURCES_SERIAL
|
|
if BSP_USING_UART
|
|
source "$BSP_DIR/third_party_driver/usart/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_ADC
|
|
bool "Using ADC device"
|
|
default n
|
|
select RESOURCES_ADC
|
|
if BSP_USING_ADC
|
|
source "$BSP_DIR/third_party_driver/adc/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_DAC
|
|
bool "Using DAC device"
|
|
default n
|
|
select RESOURCES_DAC
|
|
if BSP_USING_DAC
|
|
source "$BSP_DIR/third_party_driver/dac/Kconfig"
|
|
endif
|
|
|
|
|
|
menuconfig BSP_USING_GPIO
|
|
bool "Using GPIO device "
|
|
default y
|
|
select RESOURCES_PIN
|
|
if BSP_USING_GPIO
|
|
source "$BSP_DIR/third_party_driver/gpio/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_LWIP
|
|
bool "Using LwIP by ethernet device"
|
|
default n
|
|
select RESOURCES_LWIP
|
|
if BSP_USING_LWIP
|
|
source "$BSP_DIR/third_party_driver/ethernet/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_SPI
|
|
bool "Using SPI device"
|
|
default n
|
|
select RESOURCES_SPI
|
|
if BSP_USING_SPI
|
|
source "$BSP_DIR/third_party_driver/spi/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_I2C
|
|
bool "Using I2C device"
|
|
default n
|
|
select RESOURCES_I2C
|
|
if BSP_USING_I2C
|
|
source "$BSP_DIR/third_party_driver/i2c/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_SDIO
|
|
bool "Using SD CARD device"
|
|
default n
|
|
select RESOURCES_SDIO
|
|
if BSP_USING_SDIO
|
|
source "$BSP_DIR/third_party_driver/sdio/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_USB
|
|
bool "Using USB device"
|
|
default n
|
|
select RESOURCES_USB
|
|
if BSP_USING_USB
|
|
source "$BSP_DIR/third_party_driver/usb/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_RTC
|
|
bool "Using RTC device"
|
|
default n
|
|
select RESOURCES_RTC
|
|
if BSP_USING_RTC
|
|
source "$BSP_DIR/third_party_driver/rtc/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_WDT
|
|
bool "Using WDT device"
|
|
default n
|
|
select RESOURCES_WDT
|
|
if BSP_USING_WDT
|
|
source "$BSP_DIR/third_party_driver/watchdog/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_TIMER
|
|
bool "Using TIMER device"
|
|
default n
|
|
select RESOURCES_TIMER
|
|
if BSP_USING_TIMER
|
|
source "$BSP_DIR/third_party_driver/timer/Kconfig"
|
|
endif
|
|
|
|
menuconfig BSP_USING_CAN
|
|
bool "Using CAN device"
|
|
default n
|
|
select RESOURCES_CAN
|
|
if BSP_USING_CAN
|
|
source "$BSP_DIR/third_party_driver/can/Kconfig"
|
|
endif
|