which version of arduino core esp32 should I use? #1444
-
I tried many of the examples but some methods or some classes dont work inter versions. Which version does Phil use and test with? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I am usually using the latest released version to test: currently this is 2.0.14 |
Beta Was this translation helpful? Give feedback.
-
You are funny: these messages are not coming from my library but from the ESP32 core and they are not even errors but just notes. In the Properties change the compiler warnings back to default and it will start to work... |
Beta Was this translation helpful? Give feedback.
-
Thank you so much Phil, I have not tried yet but I will
Android için Outlook<https://aka.ms/AAb9ysg> edinin
…________________________________
From: Phil Schatzmann ***@***.***>
Sent: Tuesday, March 12, 2024 10:32:37 PM
To: pschatzmann/arduino-audio-tools ***@***.***>
Cc: paralogicdr ***@***.***>; Author ***@***.***>
Subject: Re: [pschatzmann/arduino-audio-tools] which version of arduino core esp32 should I use? (Discussion #1444)
Oh, I missed the linker error: undefined reference to `BluetoothA2DPCommon::set_scan_mode_connectable_default()'
But I guess you did not download the latest A2DP library version. This method is both defined in the Sink and in the Source, so it is not really possible to get this...
Linking everything together...
/home/pschatzmann/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/xtensa-esp32-elf-g++ -Wl,--Map=/tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch_mar12a.ino.map -L/home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32/lib -L/home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32/ld -L/home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32/qio_qspi -T esp32.rom.redefined.ld -T memory.ld -T sections.ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T esp32.peripherals.ld -mlongcalls -Wno-frame-address -Wl,--cref -Wl,--gc-sections -fno-rtti -fno-lto -Wl,--wrap=esp_log_write -Wl,--wrap=esp_log_writev -Wl,--wrap=log_printf -u ld_include_hli_vectors_bt -u _Z5setupv -u _Z4loopv -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u pthread_include_pthread_rwlock_impl -u include_esp_phy_override -u ld_include_highint_hdl -u start_app -u start_app_other_cores -u __ubsan_include -Wl,--wrap=longjmp -u __assert_func -u vfs_include_syscalls_impl -Wl,--undefined=uxTopUsedPriority -u app_main -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl -u __cxa_guard_dummy -DESP32 -DCORE_DEBUG_LEVEL=3 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -DARDUINO_USB_CDC_ON_BOOT=0 -Wl,--start-group /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch/sketch_mar12a.ino.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/arduino-audio-tools/AudioTools/AudioRuntime.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFiClientSecure/WiFiClientSecure.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFiClientSecure/esp_crt_bundle.c.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFiClientSecure/ssl_client.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFi.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiAP.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiClient.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiGeneric.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiMulti.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiSTA.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiScan.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiServer.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/WiFi/WiFiUdp.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/ESP32-A2DP/BluetoothA2DPCommon.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/ESP32-A2DP/BluetoothA2DPSink.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/ESP32-A2DP/BluetoothA2DPSinkQueued.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/ESP32-A2DP/BluetoothA2DPSource.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/libraries/ESP32-A2DP/SoundData.cpp.o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/core/core.a -lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lasio -lbt -lcbor -lunity -lcmock -lcoap -lnghttp -lesp-tls -lesp_adc_cal -lesp_hid -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lesp_https_server -lesp_lcd -lprotobuf-c -lprotocomm -lmdns -lesp_local_ctrl -lsdmmc -lesp_serial_slave_link -lesp_websocket_client -lexpat -lwear_levelling -lfatfs -lfreemodbus -ljsmn -ljson -llibsodium -lmqtt -lopenssl -lperfmon -lspiffs -lulp -lwifi_provisioning -lrmaker_common -lesp_diagnostics -lrtc_store -lesp_insights -ljson_parser -ljson_generator -lesp_schedule -lespressif__esp_secure_cert_mgr -lesp_rainmaker -lgpio_button -lqrcode -lws2812_led -lesp32-camera -lesp_littlefs -lespressif__esp-dsp -lfb_gfx -lasio -lcmock -lunity -lcoap -lesp_lcd -lesp_websocket_client -lexpat -lfreemodbus -ljsmn -llibsodium -lperfmon -lesp_adc_cal -lesp_hid -lfatfs -lwear_levelling -lopenssl -lspiffs -lesp_insights -lcbor -lesp_diagnostics -lrtc_store -lesp_rainmaker -lesp_local_ctrl -lesp_https_server -lwifi_provisioning -lprotocomm -lbt -lbtdm_app -lprotobuf-c -lmdns -ljson -ljson_parser -ljson_generator -lesp_schedule -lespressif__esp_secure_cert_mgr -lqrcode -lrmaker_common -lmqtt -lcat_face_detect -lhuman_face_detect -lcolor_detect -lmfn -ldl -lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lnghttp -lesp-tls -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lsdmmc -lesp_serial_slave_link -lulp -lmbedtls_2 -lmbedcrypto -lmbedx509 -lcoexist -lcore -lespnow -lmesh -lnet80211 -lpp -lsmartconfig -lwapi -lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lnghttp -lesp-tls -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lsdmmc -lesp_serial_slave_link -lulp -lmbedtls_2 -lmbedcrypto -lmbedx509 -lcoexist -lcore -lespnow -lmesh -lnet80211 -lpp -lsmartconfig -lwapi -lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lnghttp -lesp-tls -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lsdmmc -lesp_serial_slave_link -lulp -lmbedtls_2 -lmbedcrypto -lmbedx509 -lcoexist -lcore -lespnow -lmesh -lnet80211 -lpp -lsmartconfig -lwapi -lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lnghttp -lesp-tls -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lsdmmc -lesp_serial_slave_link -lulp -lmbedtls_2 -lmbedcrypto -lmbedx509 -lcoexist -lcore -lespnow -lmesh -lnet80211 -lpp -lsmartconfig -lwapi -lesp_ringbuf -lefuse -lesp_ipc -ldriver -lesp_pm -lmbedtls -lapp_update -lbootloader_support -lspi_flash -lnvs_flash -lpthread -lesp_gdbstub -lespcoredump -lesp_phy -lesp_system -lesp_rom -lhal -lvfs -lesp_eth -ltcpip_adapter -lesp_netif -lesp_event -lwpa_supplicant -lesp_wifi -lconsole -llwip -llog -lheap -lsoc -lesp_hw_support -lxtensa -lesp_common -lesp_timer -lfreertos -lnewlib -lcxx -lapp_trace -lnghttp -lesp-tls -ltcp_transport -lesp_http_client -lesp_http_server -lesp_https_ota -lsdmmc -lesp_serial_slave_link -lulp -lmbedtls_2 -lmbedcrypto -lmbedx509 -lcoexist -lcore -lespnow -lmesh -lnet80211 -lpp -lsmartconfig -lwapi -lphy -lrtc -lesp_phy -lphy -lrtc -lesp_phy -lphy -lrtc -lxt_hal -lc -lm -lnewlib -lstdc++ -lpthread -lgcc -lcxx -Wl,--end-group -Wl,-EL -o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch_mar12a.ino.elf
python3 /home/pschatzmann/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB --elf-sha256-offset 0xb0 -o /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch_mar12a.ino.bin /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch_mar12a.ino.elf
esptool.py v4.5.1
Creating esp32 image...
Merged 26 ELF sections
Successfully created esp32 image.
python3 /home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14/tools/gen_esp32part.py -q /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/partitions.csv /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch_mar12a.ino.partitions.bin
bash -c "[ ! -d \"/tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C\"/libraries/Insights ] || python3 \"/home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14\"/tools/gen_insights_package.py /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C sketch_mar12a.ino \"/tmp/.arduinoIDE-unsaved2024212-17795-1lelz3d.r0u4f/sketch_mar12a\""
bash -c "[ 0 -eq 0 ] || cp -f \"/home/pschatzmann/.arduino15/packages/esp32/tools/openocd-esp32/v0.12.0-esp32-20230419/share/openocd/scripts/\"board/esp32-wrover-kit-3.3v.cfg \"/tmp/.arduinoIDE-unsaved2024212-17795-1lelz3d.r0u4f/sketch_mar12a\"/debug.cfg"
bash -c "[ 0 -eq 0 ] || cp -f \"/home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14\"/tools/ide-debug/esp32.json \"/tmp/.arduinoIDE-unsaved2024212-17795-1lelz3d.r0u4f/sketch_mar12a\"/debug_custom.json"
bash -c "[ 0 -eq 0 ] || cp -f \"/home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14\"/tools/ide-debug/svd/esp32.svd \"/tmp/.arduinoIDE-unsaved2024212-17795-1lelz3d.r0u4f/sketch_mar12a\"/debug.svd"
Using library audio-tools at version 0.9.6 in folder: /home/pschatzmann/Development/Arduino/libraries/arduino-audio-tools
Using library WiFiClientSecure at version 2.0.0 in folder: /home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/WiFiClientSecure
Using library WiFi at version 2.0.0 in folder: /home/pschatzmann/.arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/WiFi
Using library ESP32-A2DP at version 1.7.3 in folder: /home/pschatzmann/Development/Arduino/libraries/ESP32-A2DP
/home/pschatzmann/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/xtensa-esp32-elf-size -A /tmp/arduino/sketches/4409D9360E394DAC4D5B63B6CCD2B39C/sketch_mar12a.ino.elf
Sketch uses 1430101 bytes (45%) of program storage space. Maximum is 3145728 bytes.
Global variables use 47816 bytes (14%) of dynamic memory, leaving 279864 bytes for local variables. Maximum is 327680 bytes.
—
Reply to this email directly, view it on GitHub<#1444 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIHE7PC5FDZ4GBJC6DYZC4DYX5C4LAVCNFSM6AAAAABESV5MYKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONRUGI4TS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
I am usually using the latest released version to test: currently this is 2.0.14