<?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>Compiling nRF24LU1P project in Keil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59997/compiling-nrf24lu1p-project-in-keil</link><description>Hi, 
 Trying to compile one of the examples provided in the nRFgo SDK 2.3.0.10040 I get an error in the linker (error L204) Invalid Keyword. It seems to refer to REMOVEUNUSED. In the help provided with the SDK I found the following. 
 Limitations In addition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Apr 2020 14:23:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59997/compiling-nrf24lu1p-project-in-keil" /><item><title>RE: Compiling nRF24LU1P project in Keil</title><link>https://devzone.nordicsemi.com/thread/244104?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 14:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e37435-5f15-4b8c-8d91-af5fe6e0a417</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="dev_1"]Now it compiles, but is there any reason about the fact that the compiled hex file is different from the one already compiled provided with the SDK? [/quote]
&lt;p&gt;This is normal. A small difference will generate a completely different .hex file. Just going from version X.Y.Z to vX.Y.ZZ will most probably generate a different hex file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling nRF24LU1P project in Keil</title><link>https://devzone.nordicsemi.com/thread/244092?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 13:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b69c0c37-f31a-44b7-bd4f-aa2edd88dba0</guid><dc:creator>Alessio</dc:creator><description>&lt;p&gt;Thanks, cleaning the project and removing the keyword was fine.&lt;/p&gt;
&lt;p&gt;Now it compiles, but is there any reason about the fact that the compiled hex file is different from the one already compiled provided with the SDK? Is this related by the fact that keil wasn&amp;#39;t able to find libraries such as stdint.h and so I copied them in the same directory of projects source file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling nRF24LU1P project in Keil</title><link>https://devzone.nordicsemi.com/thread/244085?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 13:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8387db4d-707e-46c2-920c-c8b67b339bc1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="dev_1"]*** WARNING L52: EVAL VERSION USED BEFORE, REBUILD ALL *.OBJ FILES[/quote]
&lt;p&gt;Could you clean the project, and build again?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="dev_1"] I removed the flags but I can&amp;#39;t figure out how to remove the REMOVEUNUSED keyword.[/quote]
&lt;p&gt;&amp;nbsp;In this tab, under misc controls, it should be listed (if present):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c8033d6f34284453885fb4f4f8c126e6/pastedimage1586350757879v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please disregard the circled objects, its the first screengrab that I found.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Under the &amp;quot;device&amp;quot; tab, you can also de-select the usage of &amp;quot;LX51 linker&amp;quot;, thus use the basic linker BL51.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling nRF24LU1P project in Keil</title><link>https://devzone.nordicsemi.com/thread/244075?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 12:08:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407d014a-290d-4ddb-9de1-90c7f60b08bb</guid><dc:creator>Alessio</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon, sorry, I didn&amp;#39;t explain well. I removed the flags but I can&amp;#39;t figure out how to remove the REMOVEUNUSED keyword.&lt;/p&gt;
&lt;p&gt;This is the output:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Rebuild started: Project: reuse_bootloader&lt;br /&gt;Rebuild target &amp;#39;reuse_bootloader_lu1p&amp;#39;&lt;br /&gt;compiling main.c...&lt;br /&gt;compiling bootloader32_k.c...&lt;br /&gt;linking...&lt;br /&gt;LX51 LINKER/LOCATER V4.66.97.0 - SN:&amp;nbsp;redacted&lt;br /&gt;COPYRIGHT ARM Germany GmbH 1995 - 2019&lt;br /&gt;@.\build\REUSE_~1.LNP &amp;quot;.\build\main.obj&amp;quot;,&lt;br /&gt;&amp;quot;.\build\bootloader32_k.obj&amp;quot; &lt;br /&gt;TO &amp;quot;.\build\reuse_bootloader&amp;quot; &lt;br /&gt;PRINT(&amp;quot;.\lst\reuse_bootloader.map&amp;quot;) DISABLEWARNING (15, 16) &lt;br /&gt;SEGMENTS ( ?CO?BOOTLOADER32_K(C:0x7800) ) &lt;br /&gt;*** WARNING L52: EVAL VERSION USED BEFORE, REBUILD ALL *.OBJ FILES&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODULE:&amp;nbsp; .\build\main.obj (MAIN)&lt;br /&gt;*** ERROR L121: IMPROPER FIXUP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODULE:&amp;nbsp; .\build\main.obj (MAIN)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SEGMENT: ?PR?MAIN?MAIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OFFSET:&amp;nbsp; 000016H&lt;br /&gt;******************************************************************************&lt;br /&gt;* RESTRICTED VERSION WITH 1000H BYTE CODE SIZE LIMIT; USED: 07DCH BYTE (49%) *&lt;br /&gt;******************************************************************************&lt;br /&gt;Program Size: data=9.0 xdata=0 const=1965 code=47&lt;br /&gt;*** WARNING L52: EVAL VERSION USED BEFORE, REBUILD ALL *.OBJ FILES&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODULE:&amp;nbsp; .\build\main.obj (MAIN)&lt;br /&gt;*** ERROR L121: IMPROPER FIXUP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODULE:&amp;nbsp; .\build\main.obj (MAIN)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SEGMENT: ?PR?MAIN?MAIN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OFFSET:&amp;nbsp; 000016H&lt;br /&gt;*** ERROR L257: UNKNOWN&lt;br /&gt;Target not created.&lt;br /&gt;Build Time Elapsed:&amp;nbsp; 00:00:02&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling nRF24LU1P project in Keil</title><link>https://devzone.nordicsemi.com/thread/244047?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 10:51:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdfc1654-ed69-4715-93c4-ebd0724364a4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the error message you are seeing after removing &amp;quot;REMOVEUNUSED&amp;quot; keyword? Is it still &lt;a href="http://www.keil.com/support/man/docs/bl51/bl51_l204.htm"&gt;L204&lt;/a&gt;? If so, is there anything in the linker options (misc control) still present, like a whitespace or similar?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>