<?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 error for nrf51 development dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26041/compiling-error-for-nrf51-development-dongle</link><description>I try to transfer the codewords from nrf51822 Dk board to a dongle board, while the dk board is PCA10028 and the dongle board is PCA10031, when I change the port numbers and try to compile, but there is an error that shows
build\nrf51422_xxac.axf: Error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Oct 2017 11:54:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26041/compiling-error-for-nrf51-development-dongle" /><item><title>RE: Compiling error for nrf51 development dongle</title><link>https://devzone.nordicsemi.com/thread/102638?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 11:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:564cf7fc-560c-4912-834d-dd42fcf801f6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You shoud check that you have set the correct RAM/Flash settings in your project for your PCA20006 board use. The PCA10028 (nRF51 DK) use the nRF51422 QFAC IC with 32KB RAM and 256KB Flash. Only &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.rds/dita/rds/beacon_kit.html?cp=9_1"&gt;last revision of the beacon kit&lt;/a&gt; (v 1.3.0) use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;nRF51822 CFAC chip&lt;/a&gt; with same amount of RAM. Previous revisons have CEAA chip with 16KB RAM. Softdevice should match the one supported by the SDK of your example. You also need to make sure the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51422_nRF51822_ic_rev_sdk_sd_comp_matrix.html?cp=3_0_4"&gt;softdevice is supported by the chip revison&lt;/a&gt; on the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling error for nrf51 development dongle</title><link>https://devzone.nordicsemi.com/thread/102637?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:48:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26b04747-041b-4214-b758-c1b9f8cbf2ba</guid><dc:creator>looooogh</dc:creator><description>&lt;p&gt;Hi,Jorgen,
Thanks for your reply. This problem has been solved.
But unfortunately there is another problem, the example I based on my code is the ble_uart, and when I want to transfer the code from dk board to a beacon board from pca10028 to pca20006 by using the debug out function on dk board, it didn&amp;#39;t work. At this time do I need to change the soft device function related to the beacon board instead of that with pca10028 dk board?&lt;/p&gt;
&lt;p&gt;Best reagrads,
Looooogh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling error for nrf51 development dongle</title><link>https://devzone.nordicsemi.com/thread/102636?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 08:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b407e3d5-7b27-4060-99dc-15c870093582</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If the board does not have buttons, you should remove the bsp_btn_ble library, as it does nothing usefull without buttons.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know which example you have based your code on, but the procedure to remove it should be similar for most examples in the SDK (I have based this on the ble_app_hrs example):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove call to &lt;code&gt;bsp_btn_ble_sleep_mode_prepare()&lt;/code&gt; in &lt;code&gt;sleep_mode_enter()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Remove dispatch of BLE events to the &lt;code&gt;bsp_btn_ble_on_ble_evt(p_ble_evt);&lt;/code&gt; handler in &lt;code&gt;ble_evt_dispatch&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Remove initialization of &lt;code&gt;bsp_btn_ble_init()&lt;/code&gt; in &lt;code&gt;buttons_leds_init()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Exclude/remove source file &lt;em&gt;bsp_btn_ble.c&lt;/em&gt; from project.&lt;/li&gt;
&lt;li&gt;You can also remove &lt;code&gt;| BSP_INIT_BUTTONS&lt;/code&gt; from call to &lt;code&gt;bsp_init()&lt;/code&gt;, but this code will not have any effect when &lt;code&gt;BUTTONS_NUMBER = 0&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>