1menu "Drivers Configuration" 2 3 config BSP_USING_ADC 4 bool "Enable ADC" 5 select RT_USING_ADC 6 default n 7 8 config BSP_USING_TS 9 bool "Enable Temperature Sensor" 10 select RT_USING_TS 11 default n 12 13 menuconfig BSP_USING_PWM 14 bool "Enable PWM" 15 select RT_USING_PWM 16 default n 17 18 if BSP_USING_PWM 19 config BSP_USING_PWM0 20 bool "Enable PWM0" 21 default n 22 23 config BSP_USING_PWM1 24 bool "Enable PWM1" 25 default n 26 27 endif 28 29 config BSP_USING_HARDLOCK 30 bool "Enable Hard-Lock" 31 default y 32 33 menuconfig BSP_USING_SDIO 34 bool "Enable SDIO" 35 select RT_USING_SDIO 36 default y 37 38 if BSP_USING_SDIO 39 40 choice BSP_SDIO_DEV 41 prompt "Select SDIO device" 42 default BSP_USING_SDIO0 43 help 44 Select the SDIO device to be used. 45 46 config BSP_USING_SDIO0 47 bool "Enable SDIO0" 48 49 if BSP_USING_SDIO0 50 config BSP_SDIO0_EMMC 51 bool "Enable eMMC" 52 default n 53 54 config BSP_SDIO0_1V8 55 bool "Enable 1.8V" 56 default n 57 endif 58 59 config BSP_USING_SDIO1 60 bool "Enable SDIO1" 61 endchoice 62 63 config BSP_SD_MNT_DEVNAME 64 string "The name of the SD-BlkDev to be mounted" 65 default "sd0p1" 66 endif 67 68 menuconfig BSP_USING_TIMERS 69 bool "Enable Hardware Timers" 70 select RT_USING_HWTIMER 71 default n 72 73 if BSP_USING_TIMERS 74 config BSP_USING_TIMER0 75 bool "Enable Timer0" 76 default n 77 78 config BSP_USING_TIMER1 79 bool "Enable Timer1" 80 default n 81 82 config BSP_USING_TIMER2 83 bool "Enable Timer2" 84 default n 85 86 config BSP_USING_TIMER3 87 bool "Enable Timer3" 88 default n 89 90 config BSP_USING_TIMER4 91 bool "Enable Timer4" 92 default n 93 94 config BSP_USING_TIMER5 95 bool "Enable Timer5" 96 default n 97 endif 98 99 menuconfig BSP_USING_WDT 100 bool "Enable Watchdog Timer" 101 select RT_USING_WDT 102 default n 103 104 if BSP_USING_WDT 105 config BSP_USING_WDT0 106 bool "Enable WDT0" 107 default n 108 109 config BSP_USING_WDT1 110 bool "Enable WDT1" 111 default n 112 113 endif 114 115 menuconfig BSP_USING_PDMA 116 bool "Enable PDMA" 117 select RT_USING_PDMA 118 default n 119 120 if BSP_USING_PDMA 121 config BSP_USING_PDMA_CHANNEL0 122 bool "Enable PDMA Channel 0" 123 default n 124 125 config BSP_USING_PDMA_CHANNEL1 126 bool "Enable PDMA Channel 1" 127 default n 128 129 config BSP_USING_PDMA_CHANNEL2 130 bool "Enable PDMA Channel 2" 131 default n 132 133 config BSP_USING_PDMA_CHANNEL3 134 bool "Enable PDMA Channel 3" 135 default n 136 137 config BSP_USING_PDMA_CHANNEL4 138 bool "Enable PDMA Channel 4" 139 default n 140 141 config BSP_USING_PDMA_CHANNEL5 142 bool "Enable PDMA Channel 5" 143 default n 144 145 config BSP_USING_PDMA_CHANNEL6 146 bool "Enable PDMA Channel 6" 147 default n 148 149 config BSP_USING_PDMA_CHANNEL7 150 bool "Enable PDMA Channel 7" 151 default n 152 endif 153 154 config BSP_UTEST_DRIVERS 155 bool "Enable drivers utest" 156 select RT_USING_UTEST 157 default n 158 159endmenu 160