fatal error: esp_bt.h

Wolpertinger
Posts: 4
Joined: Mon Aug 26, 2024 2:03 pm

fatal error: esp_bt.h

Postby Wolpertinger » Mon Aug 26, 2024 2:08 pm

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

Wolpertinger
Posts: 4
Joined: Mon Aug 26, 2024 2:03 pm

Re: fatal error: esp_bt.h

Postby Wolpertinger » Tue Aug 27, 2024 11:35 am

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

Who is online

Users browsing this forum: Bing [Bot] and 220 guests