<?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>nrf5 sdk example build fails with embuild</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97017/nrf5-sdk-example-build-fails-with-embuild</link><description>I am trying to build my nrf5 sdk v16 project in command line using embuild.exe but it fails with an error in step: Generating linker script &amp;#39;projectName.ld&amp;#39; error: unknown option option -target 
 I can reproduce this with nrf5_sdk/examples/peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Feb 2023 13:14:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97017/nrf5-sdk-example-build-fails-with-embuild" /><item><title>RE: nrf5 sdk example build fails with embuild</title><link>https://devzone.nordicsemi.com/thread/411975?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 13:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac0d29cf-ec16-4bd8-adbc-d5a7f9c6b195</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Typically something like this should work,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;emBuild.exe -config &amp;quot;Release&amp;quot; myproject.emProject -echo -verbose -rebuild&lt;/pre&gt;&lt;/p&gt;
[quote user=""]I see following command being executed in the failed step:[/quote]
&lt;p&gt;I have not seen this issue before. I recommend that you contact Segger about this.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/support/technical-support/"&gt;https://www.segger.com/support/technical-support/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.segger.com/"&gt;https://forum.segger.com/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>