<?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>nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10703/nrf51-ble-app-lbs</link><description>i downloaded source code from github.com/.../nrf51-ble-app-lbs . and i am getting error like C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_DeviceFamilyPack\8.2.0\Device\Include\nrf51.h(119): error: #5: cannot open source input file &amp;quot;core_cm0.h&amp;quot;: No such</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Dec 2015 13:06:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10703/nrf51-ble-app-lbs" /><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39962?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 13:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:299efddb-c1ee-45cb-9130-d68be4b09be7</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;i downloaded sdk 10. its working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39961?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2015 18:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b5c2cd-4a00-4070-b251-96029024b522</guid><dc:creator>nick</dc:creator><description>&lt;p&gt;Did you solve your problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39959?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2015 13:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e39589a-1f0c-4bc8-86e4-e2f202136378</guid><dc:creator>nick</dc:creator><description>&lt;p&gt;The compiler can&amp;#39;t find the right source en header files. Can you check if you have all the necessary packs in your project? Go to the manage run-time environment. In the error message you can read all the components that are missing like &amp;quot;nrf_drv_common, and nrf_drv_gpiote&amp;quot;. Select all the necessary components for your project until you are error free. If you add them check if the components got green, otherwise you can see at the validation output which other files are necessary for the component to work properly. I hope you get the project running like this.&lt;/p&gt;
&lt;p&gt;Can you otherwise check my project if that one will work &lt;a href="http://we.tl/YgKO2IZCr2"&gt;http://we.tl/YgKO2IZCr2&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39958?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2015 13:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14dc3579-f426-4644-90a8-e25adc1320fd</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;i tried everything but can&amp;#39;t sove that error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39960?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2015 13:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3faeeb6-dc9e-473c-80f7-9aaab4eb7718</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;i can&amp;#39;t . i am getting this error
*** Using Compiler &amp;#39;V5.06 update 1 (build 61)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Rebuild target &amp;#39;nrf51822_xxaa_s110 (256K)&amp;#39;
assembling arm_startup_nrf51.s...
compiling main.c...
..\main.c(148): error:  #55-D: too many arguments in invocation of macro &amp;quot;APP_TIMER_APPSH_INIT&amp;quot;
APP_TIMER_APPSH_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, true);
..\main.c(342): warning:  #550-D: variable &amp;quot;m_auth_status&amp;quot; was set but never used
static ble_gap_evt_auth_status_t m_auth_status;
..\main.c: 1 warning, 1 error
compiling system_nrf51.c...
compiling ble_lbs.c...
compiling ble_srv_common.c...
compiling ble_conn_params.c...
compiling ble_debug_assert_handler.c...
compiling ble_error_log.c...
compiling softdevice_handler.c...
compiling app_button.c...
........\components\libraries\button\app_button.c(19): error:  #5: cannot open source input file &amp;quot;nrf_drv_gpiote.h&amp;quot;: No such file or directory
#include &amp;quot;nrf_drv_gpiote.h&amp;quot;
........\components\libraries\button\app_button.c: 0 warnings, 1 error
compiling app_scheduler.c...
compiling crc16.c...
compiling ble_advdata.c...
compiling app_gpiote.c...
........\components\libraries\gpiote\app_gpiote.c(14): error:  #5: cannot open source input file &amp;quot;nrf_drv_gpiote.h&amp;quot;: No such file or directory
#include &amp;quot;nrf_drv_gpiote.h&amp;quot;
........\components\libraries\gpiote\app_gpiote.c: 0 warnings, 1 error
compiling pstorage.c...
........\components\drivers_nrf\pstorage\pstorage.c(228): error:  #20: identifier &amp;quot;PSTORAGE_NUM_OF_PAGES&amp;quot; is undefined
static pstorage_module_table_t m_app_table[PSTORAGE_NUM_OF_PAGES];     /**&amp;lt; Registered application information table. */
........\components\drivers_nrf\pstorage\pstorage.c: 0 warnings, 1 error
compiling app_timer.c...
........\components\libraries\timer\app_timer.c(62): error:  #39: division by zero&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_node_t) == APP_TIMER_NODE_SIZE);
........\components\libraries\timer\app_timer.c: 0 warnings, 1 error
compiling app_timer_appsh.c...
compiling ble_advdata.c...
compiling ble_srv_common.c...
compiling ble_conn_params.c...
compiling nrf_delay.c...
compiling app_error.c...
compiling app_timer.c...
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(62): error:  #39: division by zero&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_node_t) == APP_TIMER_NODE_SIZE);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c: 0 warnings, 1 error
compiling softdevice_handler.c...
&amp;quot;._build\ble_app_lbs.axf&amp;quot; - 6 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed:  00:00:12&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39957?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 20:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d75e5e8f-2392-459f-b311-7f773aaf9324</guid><dc:creator>nick</dc:creator><description>&lt;p&gt;if you open the project in keil go to -&amp;gt; pack installer. Check if u have installed all the packs or if you can update them. you need to download all the device specific and generic packs for you&amp;#39;re Nordic chip. if you have installed them all. go to the tap examples. Copy the example you want to use for you&amp;#39;re project.&lt;/p&gt;
&lt;p&gt;Check if you can compile them now without errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39956?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 19:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84fbc184-b5c0-41ce-9b68-4f5f76fa6ef5</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;i am using that example. and i have also used keil&amp;#39;s manage runtime environment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39955?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 18:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52b495b2-b8cb-4e26-9cb7-d208b1630610</guid><dc:creator>nick</dc:creator><description>&lt;p&gt;Can&amp;#39;t you just use the example that you can copy from pack installer? Or add the liberary&amp;#39;s with keil&amp;#39;s &amp;quot;manage runtime environment&amp;#39;? Did you installed in keil all the necessary component associated with Nordic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39964?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 15:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c11536-d4d1-499b-8c3a-a6cb638133d7</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Which SDK are you using? The example is designed for SDK 8.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39963?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 15:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e31a3a0a-43f4-4185-aa3e-5d2ff8c45d3f</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;i read that post but i am getting error in nrf_drv_gpiote.c file so i followed this post &lt;a href="https://devzone.nordicsemi.com/question/47031/button-debouncer-nrf51822/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;. i changed nrf_dev_gpiote.c but can&amp;#39;t edit nrf_dev_gpiote.h file.now i am getting many errors like that&lt;/p&gt;
&lt;p&gt;RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(27): error:  #260-D: explicit type is missing (&amp;quot;int&amp;quot; assumed)
APP_TIMER_DEF(m_conn_params_timer_id);                  /&lt;strong&gt;&amp;lt; Connection parameters timer. */
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(27): error:  #92: identifier-list parameters may only be used in a function definition
APP_TIMER_DEF(m_conn_params_timer_id);                  /&lt;/strong&gt;&amp;lt; Connection parameters timer. */
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(129): error:  #20: identifier &amp;quot;m_conn_params_timer_id&amp;quot; is undefined
return app_timer_create(&amp;amp;m_conn_params_timer_id,
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(137): error:  #20: identifier &amp;quot;m_conn_params_timer_id&amp;quot; is undefined
return app_timer_stop(m_conn_params_timer_id);
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(172): error:  #20: identifier &amp;quot;m_conn_params_timer_id&amp;quot; is undefined
err_code = app_timer_start(m_conn_params_timer_id, timeout_ticks, NULL);
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(218): error:  #20: identifier &amp;quot;m_conn_params_timer_id&amp;quot; is undefined
err_code = app_timer_stop(m_conn_params_timer_id);
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c(248): error:  #20: identifier &amp;quot;m_conn_params_timer_id&amp;quot; is undefined
err_code = app_timer_stop(m_conn_params_timer_id);
RTE\nRF_BLE\nRF51822_xxAA\ble_conn_params.c: 0 warnings, 7 errors
compiling ble_advdata.c...
compiling nrf_drv_common.c...
compiling nrf_delay.c...
compiling nrf_drv_gpiote.c...
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c(30): error:  #20: identifier &amp;quot;GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS&amp;quot; is undefined
nrf_drv_gpiote_evt_handler_t handlers[
UMBER_OF_GPIO_TE+GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS];
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c(148): error:  #20: identifier &amp;quot;GPIOTE_CONFIG_IRQ_PRIORITY&amp;quot; is undefined
nrf_drv_common_irq_enable(GPIOTE_IRQn, GPIOTE_CONFIG_IRQ_PRIORITY);
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c(182): error:  #147-D: declaration is incompatible with &amp;quot;ret_code_t nrf_drv_gpiote_out_init(nrf_drv_gpiote_pin_t, const nrf_drv_gpiote_out_config_t *)&amp;quot; (declared at line 165 of &amp;quot;C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.h&amp;quot;)
ret_code_t nrf_drv_gpiote_out_init(nrf_drv_gpiote_pin_t pin, nrf_drv_gpiote_out_config_t * p_config)
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c(320): error:  #147-D: declaration is incompatible with &amp;quot;ret_code_t nrf_drv_gpiote_in_init(nrf_drv_gpiote_pin_t, const nrf_drv_gpiote_in_config_t *, nrf_drv_gpiote_evt_handler_t)&amp;quot; (declared at line 237 of &amp;quot;C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.h&amp;quot;)
ret_code_t nrf_drv_gpiote_in_init(nrf_drv_gpiote_pin_t pin,
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c: 0 warnings, 4 errors
compiling app_error.c...
compiling nrf_assert.c...
compiling app_timer.c...
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(62): error:  #94: the size of an array must be greater than zero&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_node_t) == APP_TIMER_NODE_SIZE);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(62): error:  #256: invalid redeclaration of type name &amp;quot;static_assert_failed&amp;quot; (declared at line 28)&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_node_t) == APP_TIMER_NODE_SIZE);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(93): warning:  #983-D: typedef name has already been declared (with similar type)&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_user_op_t) &amp;lt;= APP_TIMER_USER_OP_SIZE);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(94): warning:  #983-D: typedef name has already been declared (with similar type)&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_user_op_t) % 4 == 0);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(114): warning:  #983-D: typedef name has already been declared (with similar type)&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_user_t) == APP_TIMER_USER_SIZE);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c(115): warning:  #983-D: typedef name has already been declared (with similar type)&lt;/p&gt;
&lt;p&gt;TATIC_ASSERT(sizeof(timer_user_t) % 4 == 0);
RTE\nRF_Libraries\nRF51822_xxAA\app_timer.c: 4 warnings, 2 errors
compiling softdevice_handler.c...
&amp;quot;._build\ble_app_lbs.axf&amp;quot; - 13 Error(s), 5 Warning(s).
Target not created.
Build Time Elapsed:  00:00:14&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs</title><link>https://devzone.nordicsemi.com/thread/39954?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 10:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74bb4865-f874-40cd-948f-96bec86a9ea4</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You need to include the path of the file. See &lt;a href="https://devzone.nordicsemi.com/question/32724/error-compiling-ble_app_beacon/?answer=32800#post-id-32800"&gt;this&lt;/a&gt; post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>