关于play_mp3.例程的MP3音频文件的处理。

mnjhuy86
Posts: 16
Joined: Fri Jun 05, 2020 8:10 am

关于play_mp3.例程的MP3音频文件的处理。

Postby mnjhuy86 » Sat Jun 13, 2020 3:27 pm

Code: Select all

c:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: F:/esp/COSMO_ESP32/build/main\libmain.a(tones.o):(.literal.set_file_marker+0x8): undefined reference to `_binary_adf_music_mp3_start
在自己的工程中加入play_mp3.的例程。

Code: Select all

extern const uint8_t adf_music_mp3_start[] asm("_binary_adf_music_mp3_start");
extern const uint8_t adf_music_mp3_end[]   asm("_binary_adf_music_mp3_end");
_binary_adf_music_mp3_start、_binary_adf_music_mp3_end 一直都是undefined reference

Who is online

Users browsing this forum: No registered users and 5 guests