CONFIG_UART_2_GPIO_MANAGEMENT

Enable GPIO management on port 2

Type: bool

Help

If enabled, the driver will configure the GPIOs used by the uart to their default configuration when device is powered down. The GPIOs will be configured back to correct state when UART is powered up.

Direct dependencies

PM_DEVICE && UART_2_NRF_UARTE && UART_NRFX && SERIAL

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/drivers/serial/Kconfig.nrfx:233

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:24<Zephyr>/drivers/serial/Kconfig:93

Menu path: (Top) → Device Drivers → Serial Drivers → nRF UART nrfx drivers

config UART_2_GPIO_MANAGEMENT
    bool "Enable GPIO management on port 2"
    default y
    depends on PM_DEVICE && UART_2_NRF_UARTE && UART_NRFX && SERIAL
    help
      If enabled, the driver will configure the GPIOs used by the uart to
      their default configuration when device is powered down. The GPIOs
      will be configured back to correct state when UART is powered up.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)