<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How compile OPUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32875/how-compile-opus</link><description>Hello, 
 I am working on ble/audio application on nrf52832. I would like to know how to compile OPUS codec (used in smart remote) so I can use it on arm cortex. For now I compiled it with simplest path (./configure; make; make install) but when I try</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Apr 2018 10:25:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32875/how-compile-opus" /><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/128608?ContentTypeID=1</link><pubDate>Tue, 17 Apr 2018 10:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d644b3-ff8a-411d-b25e-f7b6518cc2e0</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;We can continue the discussion in this thread: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33414/opus-decoder"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/33414/opus-decoder&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/128181?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 08:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7960cf12-aa61-4863-9047-6c89c85f002c</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;So I am still unable to do decoding but I have small success.&amp;nbsp;&lt;span&gt;I am&amp;nbsp;able to run encode on pcm samples from sd card, save it to file on sd and then read it, decode it back to pcm. And when I play it with my dac it works. The problem is that when I&amp;nbsp;take the .opus file from sd card and try to decode it on pc with opustools, the tool says it is not an opus file. So maybe that is also problem when I try to decode .opus file from taken from pc? Is it possible that files encoded on nrf are not compliant with opus format somehow?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;EDIT: So I took a look at opus specification and I can see that header is present in every .opus file. Does SR implements adding header to .opus file?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/127652?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 14:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54500cec-04b8-49f2-bbe7-cf602f01488d</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;So I checked out sources of SR and took opus and integrated it into my project. It is already very&amp;nbsp;much help but I would need to do some decoding with opus. I think it wont be a problem but maaybe there are examples on decoding from Nordic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/127382?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 09:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44897cb-421d-4a6e-b527-013691a080bb</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thank you Stian! I will check that and get back with results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/127377?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 09:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:276db89b-4e63-4ac4-b6bd-3226e1e8fc7d</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Ok, yes, you need to compile for the right target with the arm-none-eabi-gcc compiler. Not sure if opus provides any tutorial for how to compile their source for ARM. But&amp;nbsp; yes, the source code is in the Smart Remote package, so you can look at the Makefiles for the projects there and include the opus source in your project in a similar way.&lt;/p&gt;
&lt;p&gt;You can download the FW here: &lt;a href="http://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRFready-Smart-Remote-3-for-nRF52-Series#Downloads"&gt;http://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRFready-Smart-Remote-3-for-nRF52-Series#Downloads&lt;/a&gt;&amp;nbsp; You do not need to buy the Smart Remote to download the FW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/127357?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 08:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a360c04-f43d-45c2-a1d8-e974331e7ffa</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I am not using Keil, I use gcc only.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I downloaded sources from opus site -&amp;nbsp;&lt;a href="http://www.opus-codec.org/"&gt;http://www.opus-codec.org/&lt;/a&gt;. My feeling is that I somehow need to specify target (arm cortex). From logs I see it using my gcc compiler for windows instead of arm-none-eabi-gcc compiler. Is there a tutorial how to confiugre opus regarding it was used in smart remote? Or maybe all needed sources are in smart remote code and I would only need to buy smart remote with access to its code? I am trying to get through configuration but&amp;nbsp;no results for now.&lt;/p&gt;
&lt;p&gt;I really would appriciate help, if we wont be able to run opus then we would need to add external IC for mp3 decoding. We would like to avoid this as it will raise production costs. I know opus is integrated within smart remote project so I hope you can help me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How compile OPUS</title><link>https://devzone.nordicsemi.com/thread/127194?ContentTypeID=1</link><pubDate>Fri, 06 Apr 2018 10:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:657fbcb9-d9ec-4a4c-ac08-5138f1b69943</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, where did you find the OPUS source? Maybe you compiled the lib file for GCC and tried to link it in your Keil project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>