1menu "Hardware Drivers Config" 2 menu "BCM Peripheral Drivers" 3 menuconfig BSP_USING_UART 4 bool "Using UART" 5 select RT_USING_SERIAL 6 default y 7 8 if BSP_USING_UART 9 config RT_USING_UART0 10 bool "Enabel UART 0" 11 default y 12 13 config RT_USING_UART1 14 bool "Enabel UART 1" 15 default n 16 endif 17 18 config BSP_USING_PIN 19 bool "Using PIN" 20 select RT_USING_PIN 21 default y 22 23 menuconfig BSP_USING_SYSTIMER 24 bool "Enable SYSTIMER" 25 select RT_USING_HWTIMER 26 default n 27 28 if BSP_USING_SYSTIMER 29 config RT_USING_SYSTIMER1 30 bool "Enable sys timer1" 31 default n 32 config RT_USING_SYSTIMER3 33 bool "Enable sys timer3" 34 default n 35 endif 36 37 menuconfig BSP_USING_I2C 38 bool "Enable I2C" 39 select RT_USING_I2C 40 default n 41 42 if BSP_USING_I2C 43 config BSP_USING_I2C0 44 bool "Enable I2C0" 45 default n 46 config BSP_USING_I2C1 47 bool "Enable I2C1" 48 default n 49 endif 50 51 menuconfig BSP_USING_SPI 52 bool "Enable SPI" 53 select RT_USING_SPI 54 default n 55 56 if BSP_USING_SPI 57 config BSP_USING_SPI0_BUS 58 bool "Enable SPI0 BUS" 59 default n 60 config BSP_USING_SPI0_DEVICE0 61 bool "Enable SPI0 DEVICE0" 62 select BSP_USING_SPI0_BUS 63 default n 64 config BSP_USING_SPI0_DEVICE1 65 bool "Enable SPI0 DEVICE1" 66 select BSP_USING_SPI0_BUS 67 default n 68 endif 69 70 config BSP_USING_WDT 71 bool "Enable WDT" 72 select RT_USING_WDT 73 default n 74 75 menuconfig BSP_USING_RTC 76 bool "Enable RTC" 77 select RT_USING_RTC 78 default n 79 80 if BSP_USING_RTC 81 config BSP_USING_ALARM 82 bool "Enable Alarm" 83 select RT_USING_ALARM 84 default n 85 endif 86 87 menuconfig BSP_USING_SDIO 88 bool "Enable SDIO" 89 select RT_USING_SDIO 90 default n 91 92 if BSP_USING_SDIO 93 config BSP_USING_SDIO0 94 bool "Enable SDIO0" 95 select RT_USING_SDIO 96 default n 97 endif 98 menuconfig BSP_USING_HDMI 99 bool "Enable HDMI" 100 select BSP_USING_SPI 101 default n 102 endmenu 103endmenu 104