<?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>Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91886/scan-fail-when-enable---gnu</link><description>HI, 
 I start a scanning and print advertising report when address match on nrf5 SDK v16.0.0 with S140 on nrf52840. It goes well until I enable GNU extension in Keil. I don&amp;#39;t know why GNU extension can effect the scanning process. Anyone know why? Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Sep 2022 10:05:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91886/scan-fail-when-enable---gnu" /><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386580?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 10:05:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78a1644-cb92-4bd0-8f40-4cbae83b401a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, support for Segger embedded studio was introduced in SDK 14.2.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386578?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 10:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbea29fe-93c9-4031-8a8c-17f8e93a5424</guid><dc:creator>Young_work</dc:creator><description>&lt;p&gt;So nRF5_SDK_v16.0.0 can use Segger embedded studio to compile? I don&amp;#39;t want to update SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386517?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 06:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5648369f-7777-469c-94d6-60f64f90939a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, our Segger embedded studio projects are configured to build with gnu extensions by default (-std=gnu99)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386481?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 02:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21adab92-2cc2-4248-8452-0b2a8511277d</guid><dc:creator>Young_work</dc:creator><description>&lt;p&gt;So is it ok to run your scanning demo on Segger embedded studio with C extension?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386292?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 07:21:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a58d88ee-ccd1-4d98-9fd4-9aba5ab53ceb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming. I was able to reproduce the problem here now. But I was unable to locate the problem. At first I thought it could be an issue with the SV calls made into the Softdevice, but the assembly instructions were the same with and without --gnu enabled. I was also suprised to see that everything appeared to be running normally except for not being able to establish a connection.&lt;/p&gt;
&lt;p&gt;Either way, it is clear that we don&amp;#39;t support this compile option in our SDK. Please consider using Segger embedded studio if you need these C extensions in your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386274?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 02:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0486c18f-93bd-4a50-a310-615731fac4a5</guid><dc:creator>Young_work</dc:creator><description>&lt;p&gt;Just check GNU extension in C/C++ to enable some GNU festures.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/386009?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 13:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84e229ce-db00-4ace-b43f-9297fe0e7b70</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Young,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not familiar with this --gnu setting. Does it enable the GCC compiler, or is it still the ARM compiler but with some GNU extensions?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan fail when enable --gnu.</title><link>https://devzone.nordicsemi.com/thread/385841?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 06:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5900854-6210-4373-a573-8acd7ebd782c</guid><dc:creator>Young_work</dc:creator><description>&lt;p&gt;Scaning are inited and started successfully without advertising report print when enabled GUN extersion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>