<?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>Linking Error (_impure_ptr, __memcpy_chk, ) in Segger Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53546/linking-error-_impure_ptr-__memcpy_chk-in-segger-studio</link><description>Hello, 
 I try to use the opus codec on an 52840-DK. The Build and Flash with ARMGCC woks fine (with gcc-arm-none-eabi-8-2019-q3-update) but I&amp;#39;d like to use the debugger from the Segger Studio. When I build the code inside Segger I got these failures</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2019 07:17:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53546/linking-error-_impure_ptr-__memcpy_chk-in-segger-studio" /><item><title>RE: Linking Error (_impure_ptr, __memcpy_chk, ) in Segger Studio</title><link>https://devzone.nordicsemi.com/thread/216502?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 07:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f88d4b28-2023-4266-b417-0596cb56b29a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Generally, Embedded Studio offers the user to use any standard library they want.&amp;nbsp;First, disable the use of Embedded Studio standard libraries in project options under Library-&amp;gt;Include Standard Libraries-&amp;gt;No&lt;br /&gt;To add your library go to project options Linker-&amp;gt;Additional Input Files and add your newlib directory there.&lt;br /&gt;Now try to rebuild your project and you should be good to go.&lt;/p&gt;
&lt;p&gt;From this &lt;a href="https://forum.segger.com/index.php/Thread/4923-SOLVED-C-newlib-nano-STL-and-nRF52/"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>