Page 1 of 1

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

Posted: Sat Jun 13, 2020 3:27 pm
by mnjhuy86

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