Page 1 of 1

fatal error: esp_bt.h

Posted: Mon Aug 26, 2024 2:08 pm
by Wolpertinger
Hello,
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

Re: fatal error: esp_bt.h

Posted: Tue Aug 27, 2024 11:35 am
by Wolpertinger
I found out how to fix it. I was changing the sdconfig correctly. But I had to delete the old one. After doing my settings I also right clicked on the saved sdconfig and saved it as devault. After Rebuilding the IntelliSense Index it worked. So my guess is it’s some kind of Menuconfig save error