pschatzmann / ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF
Apache License 2.0
1.71k stars 275 forks source link

Compilation Error #580

Closed nemoscaos closed 4 months ago

nemoscaos commented 4 months ago

Problem Description

the program worked correctly then it started to fail the compilation I tried on two different computers but the error is the same maybe there are new updates that create problems for the library??

Device Description

Esp32 Wroover

Sketch

/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSource.cpp: In member function 'virtual void BluetoothA2DPSource::bt_av_hdl_stack_evt(uint16_t, void*)':
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSource.cpp:566:97: error: invalid conversion from 'void (*)(void*)' to 'TimerCallbackFunction_t' {aka 'void (*)(tmrTimerControl*)'} [-fpermissive]
  566 |             s_tmr = xTimerCreate("connTmr", (10000 / portTICK_RATE_MS), pdTRUE, (void *)tmr_id, ccall_a2d_app_heart_beat);
      |                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                 |
      |                                                                                                 void (*)(void*)
In file included from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPCommon.h:26,
                 from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSource.h:22,
                 from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSource.cpp:16:
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/freertos/FreeRTOS-Kernel/include/freertos/timers.h:241:57: note:   initializing argument 5 of 'tmrTimerControl* xTimerCreate(const char*, TickType_t, UBaseType_t, void*, TimerCallbackFunction_t)'
  241 |                                 TimerCallbackFunction_t pxCallbackFunction ) PRIVILEGED_FUNCTION;
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp: In member function 'virtual esp_err_t BluetoothA2DPSink::i2s_mclk_pin_select(uint8_t)':
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:218:29: error: 'PERIPHS_IO_MUX_GPIO0_U' was not declared in this scope
  218 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:218:53: error: 'FUNC_GPIO0_CLK_OUT1' was not declared in this scope
  218 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
      |                                                     ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:218:13: error: 'PIN_FUNC_SELECT' was not declared in this scope
  218 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
      |             ^~~~~~~~~~~~~~~
In file included from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/esp_common/include/esp_macros.h:13,
                 from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:76,
                 from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/freertos/FreeRTOS-Kernel/include/freertos/portable.h:59,
                 from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:71,
                 from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPCommon.h:25,
                 from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.h:17,
                 from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:16:
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:219:28: error: 'PIN_CTRL' was not declared in this scope
  219 |             WRITE_PERI_REG(PIN_CTRL, 0xFFF0);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
   24 |             if (__builtin_constant_p(CONDITION) && !(CONDITION)) {          \
      |                                      ^~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                                         ^~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
  113 |             ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);                                                               \
      |             ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:219:13: note: in expansion of macro 'WRITE_PERI_REG'
  219 |             WRITE_PERI_REG(PIN_CTRL, 0xFFF0);
      |             ^~~~~~~~~~~~~~
In file included from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp-x32/2302/xtensa-esp32-elf/sys-include/sys/reent.h:503,
                 from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/newlib/platform_include/sys/reent.h:9,
                 from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp-x32/2302/xtensa-esp32-elf/sys-include/stdio.h:60,
                 from /Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPCommon.h:19:
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:219:28: error: 'PIN_CTRL' was not declared in this scope
  219 |             WRITE_PERI_REG(PIN_CTRL, 0xFFF0);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                      ^~~~~~~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                                         ^~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
  113 |             ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);                                                               \
      |             ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:219:13: note: in expansion of macro 'WRITE_PERI_REG'
  219 |             WRITE_PERI_REG(PIN_CTRL, 0xFFF0);
      |             ^~~~~~~~~~~~~~
In file included from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/esp_hw_support/include/esp_memory_utils.h:12,
                 from /Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:79:
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:219:28: error: 'PIN_CTRL' was not declared in this scope
  219 |             WRITE_PERI_REG(PIN_CTRL, 0xFFF0);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
   25 | #define ETS_UNCACHED_ADDR(addr) (addr)
      |                                  ^~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:219:13: note: in expansion of macro 'WRITE_PERI_REG'
  219 |             WRITE_PERI_REG(PIN_CTRL, 0xFFF0);
      |             ^~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:222:29: error: 'PERIPHS_IO_MUX_U0TXD_U' was not declared in this scope
  222 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_U0TXD_CLK_OUT3);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:222:53: error: 'FUNC_U0TXD_CLK_OUT3' was not declared in this scope
  222 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_U0TXD_CLK_OUT3);
      |                                                     ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:223:28: error: 'PIN_CTRL' was not declared in this scope
  223 |             WRITE_PERI_REG(PIN_CTRL, 0xF0F0);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
   24 |             if (__builtin_constant_p(CONDITION) && !(CONDITION)) {          \
      |                                      ^~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                                         ^~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
  113 |             ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);                                                               \
      |             ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:223:13: note: in expansion of macro 'WRITE_PERI_REG'
  223 |             WRITE_PERI_REG(PIN_CTRL, 0xF0F0);
      |             ^~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:223:28: error: 'PIN_CTRL' was not declared in this scope
  223 |             WRITE_PERI_REG(PIN_CTRL, 0xF0F0);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                      ^~~~~~~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                                         ^~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
  113 |             ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);                                                               \
      |             ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:223:13: note: in expansion of macro 'WRITE_PERI_REG'
  223 |             WRITE_PERI_REG(PIN_CTRL, 0xF0F0);
      |             ^~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:223:28: error: 'PIN_CTRL' was not declared in this scope
  223 |             WRITE_PERI_REG(PIN_CTRL, 0xF0F0);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
   25 | #define ETS_UNCACHED_ADDR(addr) (addr)
      |                                  ^~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:223:13: note: in expansion of macro 'WRITE_PERI_REG'
  223 |             WRITE_PERI_REG(PIN_CTRL, 0xF0F0);
      |             ^~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:226:29: error: 'PERIPHS_IO_MUX_U0RXD_U' was not declared in this scope
  226 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD_CLK_OUT2);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:226:53: error: 'FUNC_U0RXD_CLK_OUT2' was not declared in this scope
  226 |             PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD_CLK_OUT2);
      |                                                     ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:227:28: error: 'PIN_CTRL' was not declared in this scope
  227 |             WRITE_PERI_REG(PIN_CTRL, 0xFF00);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/esp_common/include/esp_assert.h:24:38: note: in definition of macro 'TRY_STATIC_ASSERT'
   24 |             if (__builtin_constant_p(CONDITION) && !(CONDITION)) {          \
      |                                      ^~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                                         ^~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
  113 |             ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);                                                               \
      |             ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:227:13: note: in expansion of macro 'WRITE_PERI_REG'
  227 |             WRITE_PERI_REG(PIN_CTRL, 0xFF00);
      |             ^~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:227:28: error: 'PIN_CTRL' was not declared in this scope
  227 |             WRITE_PERI_REG(PIN_CTRL, 0xFF00);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                      ^~~~~~~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:34:57: note: in expansion of macro 'IS_DPORT_REG'
   34 | #define ASSERT_IF_DPORT_REG(_r, OP)  TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT registers use DPORT_##OP));
      |                                                         ^~~~~~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:113:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
  113 |             ASSERT_IF_DPORT_REG((addr), WRITE_PERI_REG);                                                               \
      |             ^~~~~~~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:227:13: note: in expansion of macro 'WRITE_PERI_REG'
  227 |             WRITE_PERI_REG(PIN_CTRL, 0xFF00);
      |             ^~~~~~~~~~~~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:227:28: error: 'PIN_CTRL' was not declared in this scope
  227 |             WRITE_PERI_REG(PIN_CTRL, 0xFF00);
      |                            ^~~~~~~~
/Users/andrea/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-442a798083/esp32/include/soc/esp32/include/soc/soc.h:25:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
   25 | #define ETS_UNCACHED_ADDR(addr) (addr)
      |                                  ^~~~
/Users/andrea/Documents/Arduino/libraries/ESP32-A2DP-1.7.0/src/BluetoothA2DPSink.cpp:227:13: note: in expansion of macro 'WRITE_PERI_REG'
  227 |             WRITE_PERI_REG(PIN_CTRL, 0xFF00);
      |             ^~~~~~~~~~~~~~

exit status 1

Other Steps to Reproduce

No response

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

Arduino IDE 2.3.2

I have checked existing issues, discussions and online documentation

pschatzmann commented 4 months ago

I assume you upgraded the core w/o upgrading the A2DP library. Please read the Readme first about the new API!

nemoscaos commented 4 months ago

I updated the libraries and launched the 32 bit receiver but the functions #include "AudioTools.h"

include "AudioLibs/AudioBoardStream.h" // install https://github.com/pschatzmann/arduino-audio-driver

where am I ? they are not there in the link indicated Thank you

pschatzmann commented 4 months ago

I don't understand: what are you trying to do ? The AudioBoardStream class is part of the AudioTools and requires the audio-driver project. Both are however only relevant if you have a configurable codec...

nemoscaos commented 4 months ago

I'm just trying to make bluetooth work on my Esp32 wrover, the old program doesn't work anymore and the new libraries don't compile because they're missing these drivers

pschatzmann commented 4 months ago

You must be doing something wrong! What is your audio hardware ? What example did you compile ?

The audiokit example makes only sense if you have an AudioKit!

nemoscaos commented 4 months ago

I use esp32 wroover first I compiled the bt_music_receiver_32bit_ext example and it worked without problems, now I was trying bt_music_receiver_32bits which seems the same to me but it doesn't find the libraries: "AudioTools.h" and "AudioLibs/AudioBoardStream.h", if I search for them manually I can't find them are in Arduino audio drivers??

pschatzmann commented 4 months ago

Remove the include to AudioLibs/AudioBoardStream.h: this is not needed!

nemoscaos commented 4 months ago

HI I saw that you updated the library, I remapped the pins, solved the space problem but I saw that the command a2dp_sink.i2s_mclk_pin_select has become obsolete, how do I generate an MCLK?

thank you

pschatzmann commented 4 months ago

It is defined along the other pins e.g. config.pin_mck = 0;

Don't forget to select a proper partition scheme...