ESP32 Bluetooth connecting in ARDUINO IOT error

Juancito
Posts: 1
Joined: Fri Nov 17, 2023 5:09 am

ESP32 Bluetooth connecting in ARDUINO IOT error

Postby Juancito » Fri Nov 17, 2023 5:17 am

Hello, I need help with the execution of a program in arduino iot I am trying to use the esp32 with bluetooth, but when I am going to run the code, it out a error, is this one.

Sketch too big; see https://support.arduino.cc/hc/en-us/art ... 0013825179 for tips on reducing it. Error during build: text section exceeds available space in board.


it just happen when I have this line. BluetoothSerial SerialBT;

I don't know what is happening here because in "arduio ide" its okay. if someone can help me, thanks. :)

#include "thingProperties.h"

int LED = 13;

#include "BluetoothSerial.h"

#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif

BluetoothSerial SerialBT;

void setup() {
pinMode(LED, OUTPUT);
// Initialize serial and wait for port to open:
Serial.begin(115200);
SerialBT.begin("ESP32test"); //Bluetooth device name
Serial.println("The device started, now you can pair it with bluetooth!");
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);

// Defined in thingProperties.h
initProperties();
Attachments
Captura de pantalla 2023-11-17 001622.png
Error
Captura de pantalla 2023-11-17 001622.png (111.04 KiB) Viewed 4222 times

lbernstone
Posts: 829
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32 Bluetooth connecting in ARDUINO IOT error

Postby lbernstone » Fri Nov 17, 2023 5:14 pm

You are much more likely to get an answer at https://github.com/arduino-libraries/Ar ... oud/issues

Who is online

Users browsing this forum: No registered users and 139 guests