ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-10T16:39:53+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=1876 2016-03-10T16:39:53+08:00 2016-03-10T16:39:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1876&p=6053#p6053 <![CDATA[Re: Opus codec on ESP8266]]> Is this for a commercial project or is there a chance you would consider sharing the code/project?
Kind regards
Jimmy

isti37 wrote:
Fixed, I managed to compile the opus codec with the esp-open-sdk and the virtualbox environment :

Code:

sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf && sudo make

or for fixed point math (better performance and lower latency, but lower quality)

Code:

sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf --enable-fixed-point && sudo make

Statistics: Posted by Triacon — Thu Mar 10, 2016 4:39 pm


]]>
2016-03-09T10:51:46+08:00 2016-03-09T10:51:46+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1876&p=6044#p6044 <![CDATA[Re: Opus codec on ESP8266]]>

Code:

sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf && sudo make

or for fixed point math (better performance and lower latency, but lower quality)

Code:

sudo ./configure --target=xtensa-lx106-elf --host=xtensa-lx106-elf --enable-fixed-point && sudo make

Statistics: Posted by isti37 — Wed Mar 09, 2016 10:51 am


]]>
2016-03-08T16:55:02+08:00 2016-03-08T16:55:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1876&p=6033#p6033 <![CDATA[Re: Opus codec on ESP8266]]>
It seems that your makefile is not for ESP8266, you need to re-write the makefile.

Statistics: Posted by ESP_Faye — Tue Mar 08, 2016 4:55 pm


]]>
2016-03-07T21:57:34+08:00 2016-03-07T21:57:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1876&p=6015#p6015 <![CDATA[Opus codec on ESP8266]]>

Code:

sp8266@esp8266-VirtualBox:~/opus-1.1.2$ make CC=xtensa-lx106-elf-gcc
make  all-recursive
make[1]: Entering directory `/home/esp8266/opus-1.1.2'
make[2]: Entering directory `/home/esp8266/opus-1.1.2'
  CC       celt/bands.lo
  CC       celt/celt.lo
  CC       celt/celt_encoder.lo
  CC       celt/celt_decoder.lo
  CC       celt/cwrs.lo
  CC       celt/entcode.lo
  CC       celt/entdec.lo
  CC       celt/entenc.lo
...
 CC       src/mlp.lo
  CC       src/mlp_data.lo
  CCLD     libopus.la
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
/usr/bin/ld: celt/.libs/bands.o: Relocations in generic ELF (EM: 94)
celt/.libs/bands.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [libopus.la] Error 1
make[2]: Leaving directory `/home/esp8266/opus-1.1.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/esp8266/opus-1.1.2'
make: *** [all] Error 2 - See more at: http://www.esp8266.com/viewtopic.php?f=9&p=42608#p42608

Statistics: Posted by isti37 — Mon Mar 07, 2016 9:57 pm


]]>