<?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>Unrecognised emulation mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17963/unrecognised-emulation-mode</link><description>Hi!, 
 I get this error when I try to compile the project: 
 Compiling file: ble_conn_state.c
Linking target: _build/nrf52832_xxaa.out
/usr/local/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: unrecognised</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Nov 2016 09:41:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17963/unrecognised-emulation-mode" /><item><title>RE: Unrecognised emulation mode</title><link>https://devzone.nordicsemi.com/thread/69278?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2016 09:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf6d2ceb-aff3-4d87-9cff-4eb532c5a9bc</guid><dc:creator>Javier</dc:creator><description>&lt;p&gt;Hi!,&lt;/p&gt;
&lt;p&gt;Thanks for yours replies!&lt;/p&gt;
&lt;p&gt;I have already found the problem. I had deleted this line in the Makefile.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;LINKER_SCRIPT	:=	demo_project_nrf52.ld
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unrecognised emulation mode</title><link>https://devzone.nordicsemi.com/thread/69276?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 16:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b3ce738-a435-4524-8fd2-025c78410221</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;You seem to be invoking ld instead of gcc, to link.  &lt;a href="https://answers.launchpad.net/gcc-arm-embedded/+question/253559"&gt;answers.launchpad.net/.../253559&lt;/a&gt; seems to say you need to use gcc (a compiler will also link, and recognizes different options.) What command, where did the makefile come from?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unrecognised emulation mode</title><link>https://devzone.nordicsemi.com/thread/69277?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 15:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec061dcb-41d3-49c9-9cfa-3a469231289b</guid><dc:creator>Javier</dc:creator><description>&lt;p&gt;Is based in ble_app_uart from SDK12.&lt;/p&gt;
&lt;p&gt;I changed the PROJECT_NAME in Makefile and included some paths to Peer Manager Module, also I deleted some paths about uart. Now I&amp;#39;m using NRF_LOG_MODULE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unrecognised emulation mode</title><link>https://devzone.nordicsemi.com/thread/69275?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 14:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c27cf37-35cf-4431-a01c-c2eb2970ead6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which example are you trying to compile?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unrecognised emulation mode</title><link>https://devzone.nordicsemi.com/thread/69274?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 14:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09de0ec0-6333-4924-94d6-370509d8c76b</guid><dc:creator>Javier</dc:creator><description>&lt;p&gt;I have tested with other gcc toolchain version but I get the same error:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: unrecognised emulation mode: cpu=cortex-m4
../../../../../../components/toolchain/gcc/Makefile.common:124: fallo en las instrucciones para el objetivo &amp;#39;_build/nrf52832_xxaa.out&amp;#39;
Supported emulations: armelf
collect2: error: ld returned 1 exit status
make: *** [_build/nrf52832_xxaa.out] Error 1
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>