1menu "Hardware Drivers Config"
2
3config MCU_HC32L136
4    bool
5    select ARCH_ARM_CORTEX_M0
6    select RT_USING_COMPONENTS_INIT
7    select RT_USING_USER_MAIN
8    default y
9
10menu "Onboard Peripheral Drivers"
11
12endmenu
13
14menu "On-chip Peripheral Drivers"
15    config BSP_USING_GPIO
16        bool "Enable GPIO"
17        select RT_USING_PIN
18        default y
19
20    menuconfig BSP_USING_UART
21        bool "Enable UART"
22        default y
23        select RT_USING_SERIAL
24        if BSP_USING_UART
25            config BSP_USING_UART0
26                bool "Enable UART0"
27                default n
28
29            config BSP_USING_UART1
30                bool "Enable UART1"
31                default y
32        endif
33
34    menuconfig BSP_USING_I2C1
35        bool "Enable I2C1 BUS (software simulation)"
36        default y
37        select RT_USING_I2C
38        select RT_USING_I2C_BITOPS
39        select RT_USING_PIN
40        if BSP_USING_I2C1
41            config BSP_I2C1_SCL_PIN
42                int "i2c1 scl pin number"
43                range 1 176
44                default 51
45            config BSP_I2C1_SDA_PIN
46                int "I2C1 sda pin number"
47                range 1 176
48                default 90
49        endif
50
51endmenu
52
53menu "Board extended module Drivers"
54
55endmenu
56
57endmenu
58