<?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 to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18210/how-to-fix-keil-uvision-device-error</link><description>When I change the target from nrf51422 in the SDK into nrf51822 there is this error in Keil uVision Project window. 
 
 I can&amp;#39;t find a way to remove the files in red warning. 
 arm_startup_nrf51.s
system_nrf51.c
 
 Please advice if I need to edit</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Dec 2016 00:00:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18210/how-to-fix-keil-uvision-device-error" /><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70321?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2016 00:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2468bd4-d56b-4781-8e03-b454d1fe49d3</guid><dc:creator>daniel77</dc:creator><description>&lt;p&gt;I finally got it working now. After performing the 3 steps, I have to open the project from scratch &lt;code&gt;Project&amp;gt;Open Project..&amp;gt;Select the project file&lt;/code&gt; and not use the recent project list to open the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70320?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 13:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fcfdcab-92a3-4b91-a802-203d8bd32e49</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I just tested the approach on your project, and it seems to be working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70319?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 13:27:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22536514-5606-4825-8433-961cef010ead</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Can you share your project with me so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70318?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2016 21:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ab29a10-c5fe-4882-a671-3daaf23f5a4a</guid><dc:creator>daniel77</dc:creator><description>&lt;p&gt;I am using SDK 12.1.0. I copied the PCA10028 nRF51422 to a new folder named blenano which uses nRF51822. So, to compile my SDK example file I set the device to nRF51822_xxac in &amp;quot;options for target&amp;quot;. Your 3 steps however works well with SDK10, SDK11,SDK12.1 on PCA10028 board!! So, there must be some settings that still calls out those nrf51422 file even though I have changed the device to nRF51822.I have set &lt;code&gt;Asm: Misc Controls: -DNRF51822,-DBOARD_CUSTOM&lt;/code&gt; &lt;code&gt;Asm &amp;amp; C/C++: Define : NRF51822 BOARD_CUSTOM&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70317?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 11:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9cc014b-19f7-4f21-8355-6541d9036303</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Strange. It works here. What SDK version are you uing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70316?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 08:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a618c6-723e-450d-8185-1dcd2871368e</guid><dc:creator>daniel77</dc:creator><description>&lt;p&gt;Yes, I did the 3 steps just as I described above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70315?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 08:08:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0beccc6-4f6a-49bc-9f88-6c99acb9e761</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Did you do all three steps?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70314?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 08:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e884ad6-2b10-477f-8556-767a8164a7cf</guid><dc:creator>daniel77</dc:creator><description>&lt;p&gt;Every time,after I removed the Device&amp;gt;Startup and deleted the RTE folder, it is created again when I check the Startup. There is the other device folder nRF51422 created as well in addition to nRF51822 which is causing this additional startup/system file which I intend to delete.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70313?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 11:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:654ac249-51f2-416c-8172-242c95767cb0</guid><dc:creator>daniel77</dc:creator><description>&lt;p&gt;How do I remove them from being shown?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix Keil uVision Device error?</title><link>https://devzone.nordicsemi.com/thread/70312?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 10:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d61526e4-40e9-400a-85c2-9a6b6bc8d294</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The red circle with a white horizontal line in it is not an error, it means that the file is excluded from target and linkage. See &lt;a href="http://www.keil.com/support/man/docs/uv4/uv4_ca_filegrp_att.htm"&gt;this&lt;/a&gt; for more information.&lt;/p&gt;
&lt;p&gt;Edit: It is a bit of a hassle:&lt;/p&gt;
&lt;p&gt;In Keil: Right click Device and select Options for Component Class &amp;#39;Device&amp;#39;, then click Remove&lt;/p&gt;
&lt;p&gt;Then delete the RTE folder in the project folder.&lt;/p&gt;
&lt;p&gt;In Keil: Click Manage Run-Time Environment, expand Device, and check Startup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>