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

DEVICE_POWER_MANAGEMENT && UART_2_NRF_UARTE && UART_NRFX && SERIAL

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/serial/Kconfig.nrfx:238

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/serial/Kconfig:93

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

config UART_2_GPIO_MANAGEMENT
    bool "Enable GPIO management on port 2"
    default y
    depends on DEVICE_POWER_MANAGEMENT && 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.)