pschatzmann / ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example triggering a Sketch too big Error

NiNeu01 opened this issue · comments

Problem Description

I tried run the bt_music_receiver_to_internal_dac example and it gave me following error message:

Sketch uses 1902589 bytes (145%) of program storage space. Maximum is 1310720 bytes.
Global variables use 62404 bytes (19%) of dynamic memory, leaving 265276 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
text section exceeds available space in board

Compilation error: text section exceeds available space in board

Device Description

ESP-WROOM-32

Sketch

#include "AudioTools.h"
#include "BluetoothA2DPSink.h"

AnalogAudioStream out;
BluetoothA2DPSink a2dp_sink(out);

void setup() {
  a2dp_sink.start("InternalDAC");  
}


void loop() {
}

Other Steps to Reproduce

No response

Provide your Version of the EP32 Arduino Core (or the IDF Version)

3.0.1

I have checked existing issues, discussions and online documentation

  • I confirm I have checked existing issues, discussions and online documentation

I am new to Github and I didn't know that completed issues were organised in a separate tab. Sorry for my mistake and thank you for answering anyway.