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 config BSP_USING_CORETIMER 24 bool "Using core timer" 25 select RT_USING_CORETIMER 26 default y 27 28 menuconfig BSP_USING_SYSTIMER 29 bool "Enable SYSTIMER" 30 default n 31 32 if BSP_USING_SYSTIMER 33 config RT_USING_SYSTIMER1 34 bool "Enable sys timer1" 35 default n 36 config RT_USING_SYSTIMER3 37 bool "Enable sys timer3" 38 default n 39 endif 40 41 menuconfig BSP_USING_I2C 42 bool "Enable I2C" 43 select RT_USING_I2C 44 default n 45 46 if BSP_USING_I2C 47 config BSP_USING_I2C0 48 bool "Enable I2C0" 49 default n 50 config BSP_USING_I2C1 51 bool "Enable I2C1" 52 default n 53 endif 54 55 menuconfig BSP_USING_SPI 56 bool "Enable SPI" 57 select RT_USING_SPI 58 default n 59 60 if BSP_USING_SPI 61 config BSP_USING_SPI0_BUS 62 bool "Enable SPI0 BUS" 63 default n 64 config BSP_USING_SPI0_DEVICE0 65 bool "Enable SPI0 DEVICE0" 66 select BSP_USING_SPI0_BUS 67 default n 68 config BSP_USING_SPI0_DEVICE1 69 bool "Enable SPI0 DEVICE1" 70 select BSP_USING_SPI0_BUS 71 default n 72 endif 73 74 config BSP_USING_WDT 75 bool "Enable WDT" 76 select RT_USING_WDT 77 default n 78 79 menuconfig BSP_USING_RTC 80 bool "Enable RTC" 81 select RT_USING_RTC 82 default n 83 84 if BSP_USING_RTC 85 config BSP_USING_ALARM 86 bool "Enable Alarm" 87 select RT_USING_ALARM 88 default n 89 endif 90 91 menuconfig BSP_USING_SDIO 92 bool "Enable SDIO" 93 select RT_USING_SDIO 94 default n 95 96 if BSP_USING_SDIO 97 config BSP_USING_SDIO0 98 bool "Enable SDIO0" 99 select RT_USING_SDIO 100 default n 101 endif 102 endmenu 103 104 menu "Board Peripheral Drivers" 105 menuconfig BSP_USING_HDMI 106 bool "Enable HDMI" 107 default n 108 109 if BSP_USING_HDMI 110 config BSP_USING_HDMI_DISPLAY 111 bool "HDMI DISPLAY" 112 default n 113 endif 114 endmenu 115endmenu 116