This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_CTLR_DF_INIT_ANT_SEL_GPIOS

Enable initialization of GPIOs responsible for antenna switching

Type: bool

Help

Enable implicit initialization of GPIOs responsible for antenna
switching during Radio initialization.
If this feature is not enabled, the Radio initialization procedure will
not initialize GPIOs pins selected to drive antenna switching.
In such case application is responsible for appropriate GPIOs
initialization.

Direct dependencies

(BT_CTLR_DF_ANT_SWITCH_TX || BT_CTLR_DF_ANT_SWITCH_RX) && BT_CTLR_DF && BT_CTLR && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/bluetooth/controller/Kconfig.df:137

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:324subsys/bluetooth/controller/Kconfig:643

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Bluetooth Controller → LE Direction Finding [Experimental]

config BT_CTLR_DF_INIT_ANT_SEL_GPIOS
    bool "Enable initialization of GPIOs responsible for antenna switching"
    default y
    depends on (BT_CTLR_DF_ANT_SWITCH_TX || BT_CTLR_DF_ANT_SWITCH_RX) && BT_CTLR_DF && BT_CTLR && BT_HCI && BT
    help
      Enable implicit initialization of GPIOs responsible for antenna
      switching during Radio initialization.
      If this feature is not enabled, the Radio initialization procedure will
      not initialize GPIOs pins selected to drive antenna switching.
      In such case application is responsible for appropriate GPIOs
      initialization.

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