Bluetooth is not enabled! (BluetoothSerial)

  • ESP32-S3, C3, S2

You may see

#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#error Serial Bluetooth not available or not enabled. It is only available for the ESP32 chip.

Why it happens

  • The chosen board's chip has no classic Bluetooth.

How to fix it

  1. Choose ESP32 Dev Module if you have the original ESP32.
  2. On an S3 or C3 use BLE instead.

It worked if: Verify passes.

From the official documentation. Wording from the BluetoothSerial example and Espressif's chip comparison. Sources: Espressif: BluetoothSerial.

Didn't help? Search another error or ask us.