summaryrefslogtreecommitdiff
path: root/components/drivers/pin/Kconfig
blob: d20ef9c5661273ba394a7c3528a35f5eab00c3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
menuconfig RT_USING_PIN
    bool "Using Generic GPIO device drivers"
    default y
    help
      Enable the generic GPIO/pin driver interface so BSPs can expose pin mode,
      read/write, and interrupt capabilities through `rt_pin_*` APIs. Most
      drivers depend on this; disable only when building extremely tiny images
      with no GPIO control.

config RT_PIN_PL061
    bool "ARM PL061"
    depends on RT_USING_DM
    depends on RT_USING_PIN
    default n

if RT_USING_DM && RT_USING_PIN
    osource "$(SOC_DM_PIN_DIR)/Kconfig"
endif