I use ESP-IDF v5.1.2 on PIO.
I always get fatal error: esp_bt.h. In menuconfig BT is enabled.
My sdkconfig has
Code: Select all
#
# Bluetooth
#
CONFIG_BT_ENABLED=y
CONFIG_BT_BLUEDROID_ENABLED=y
# CONFIG_BT_NIMBLE_ENABLED is not set
# CONFIG_BT_CONTROLLER_ONLY is not set
CONFIG_BT_CONTROLLER_ENABLED=y
# CONFIG_BT_CONTROLLER_DISABLED is not set