<?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>Compilation Errors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103060/compilation-errors</link><description>BACKGROUND 
 We have a new custom board in production and have noticed. 
 1. We cannot do a DFU. We always have to flash by wiring it 
 2. Sometime the board crashes and needs restart. 
 We were told by the Manufacturer to use PCA10100 and S113 as the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Aug 2023 11:56:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103060/compilation-errors" /><item><title>RE: Compilation Errors</title><link>https://devzone.nordicsemi.com/thread/442966?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 11:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fb666f8-3ab3-4ea4-96d8-f28cc3b681bc</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;All compilation issues solved. Yes, the issues was many files were not included.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation Errors</title><link>https://devzone.nordicsemi.com/thread/442796?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 13:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a404506-45db-4e7c-a2cd-8d1c644cd59d</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Thanks very much. That is good enough clue for me to pursue this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation Errors</title><link>https://devzone.nordicsemi.com/thread/442755?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 11:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb435606-7d1f-4542-abd8-1bb92fe3c927</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The linker errors suggest that you are either missing source files in your project or they haven&amp;#39;t been enabled in sdk_config.h. For example, does your project include the nrfx_saadc.c file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation Errors</title><link>https://devzone.nordicsemi.com/thread/442735?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 10:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25530863-3d9d-4a3a-9c80-90fd1366771b</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Made necessary changes to sdk_config.h and can now compile without errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, I get 100+ linkers errors : I know I am missing some linker settings (you had mentioned this will need change) but cannot resolve. Grateful for any leads on this one.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2023_2D00_08_2D00_23-at-4.04.33-PM.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation Errors</title><link>https://devzone.nordicsemi.com/thread/442687?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 06:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d34165-32e7-4e8f-9311-9b83933f9374</guid><dc:creator>Murthy Udupa</dc:creator><description>&lt;p&gt;Thanks Vidar Berg,&lt;/p&gt;
&lt;p&gt;I will try with &amp;#39;PCA10056&amp;#39; first.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had not connected any board to USB and the nrfprog could be related to that. My first goal was to see it the code compiles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation Errors</title><link>https://devzone.nordicsemi.com/thread/442528?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 11:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebbb60f-0924-4082-a4aa-36bcd5603ff0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It would be better if you could start with a &amp;#39;PCA10056&amp;#39; (&lt;a title="Supported boards" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_for_custom_boards.html?cp=9_1_1_5_0#supported_board"&gt;Supported boards&lt;/a&gt;) project&amp;nbsp;which is configured for the 52840 DK board. Just changing the pre-processor definition from 52833 to 52840 is not sufficient, you would also need to change the linker settings, startup files, debugger settings to match the device type.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nrjprog error indicates a connectivity problem between your PC and debugger. It should not be related to the FW or board you are trying to program. Have you tried to see if it works on another PC or USB cable?&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></channel></rss>