123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- menu "Hardware Drivers Config"
- menu "Onboard Peripheral Drivers"
- config BSP_USING_USB_TO_USART
- bool "Enable USB TO USART (uart0)"
- select BSP_USING_UART
- select BSP_USING_UART0
- default y
- menuconfig BSP_USING_AUDIO
- bool "Enable Audio Device"
- select RT_USING_AUDIO
- default n
- if BSP_USING_AUDIO
- config BSP_USING_AUDIO_PLAY
- bool "Enable Audio Play"
- default y
- endif
- config BSP_USING_SDCARD
- bool "Enable SDCARD"
- select BSP_USING_SDIO
- default n
- if BSP_USING_SDCARD
- config SDIO_MAX_FREQ
- int "sdio max freq"
- range 0 24000000
- default 24000000
- endif
- endmenu
- menu "On-chip Peripheral Drivers"
- menuconfig BSP_USING_UART0
- bool "Enable UART0"
- select RT_USING_SERIAL
- default y
- config BSP_USING_SDIO
- bool "Enable SDIO"
- select RT_USING_SDIO
- select RT_USING_DFS
- select RT_USING_DFS_ELMFAT
- default n
- menuconfig BSP_USING_I2C1
- bool "Enable I2C1 BUS (software simulation)"
- default n
- select RT_USING_I2C
- select RT_USING_I2C_BITOPS
- select RT_USING_PIN
- if BSP_USING_I2C1
- comment "Notice: PE3 --> 16; PE2 --> 15"
- config BSP_I2C1_SCL_PIN
- int "I2C1 scl pin number"
- range 1 27
- default 16
- config BSP_I2C1_SDA_PIN
- int "I2C1 sda pin number"
- range 1 27
- default 15
- endif
- config BSP_USING_WDT
- bool "Enable Watchdog Timer"
- select RT_USING_WDT
- default n
- menuconfig BSP_USING_TIM
- bool "Enable timer"
- default n
- select RT_USING_HWTIMER
- if BSP_USING_TIM
- config BSP_USING_TIM1
- bool "Enable TIM1"
- default n
- config BSP_USING_TIM2
- bool "Enable TIM2"
- default n
- config BSP_USING_TIM3
- bool "Enable TIM3"
- default n
- config BSP_USING_TIM4
- bool "Enable TIM4"
- default n
-
- config BSP_USING_TIM5
- bool "Enable TIM5"
- default n
- endif
- endmenu
- menu "Board extended module Drivers"
- endmenu
- endmenu
|