<?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>BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39048/buttons_number-and-buttons_active_state-undeclared-error---proximity-profile-example</link><description>I am using SES and I tried to open and build this example --&amp;gt; 
 C:\nordic_semi\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_proximity\pca10056\s140\ses\ble_app_proximity_pca10056_s140 (EMPROJECT file - SES Project) 
 When i try to build I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 09:08:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39048/buttons_number-and-buttons_active_state-undeclared-error---proximity-profile-example" /><item><title>RE: BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/thread/151992?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 09:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f887abf6-52c2-4db3-b1d8-01e02ea2608b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I&amp;#39;m at a loss as to why you cannot compile.&lt;br /&gt;&lt;br /&gt;There&amp;#39;s an include guard in boards.c: #if LEDS_NUMBER &amp;gt; 0, if this is not true then&amp;nbsp;bsp_board_led_invert will not be defined.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/thread/151934?ContentTypeID=1</link><pubDate>Sun, 07 Oct 2018 18:49:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5074a059-4270-4858-8d1d-be1d08b5cccc</guid><dc:creator>Joel</dc:creator><description>&lt;p&gt;Thanks. Reducing the path length also didnt help. For now i&amp;#39;ve reverted to SDK 14.2 because the example in there works. cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/thread/151165?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 08:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:158bfb15-952f-450f-ae18-046f26bcf0e6</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;See&amp;nbsp;&lt;a href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV"&gt;https://www.youtube.com/playlist?list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;When you use an example from our SDK SES should be set up with the correct configurations.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;One thing to note, Windows only supports&amp;nbsp;255 character paths. I suggest you put the SDK as close to your root as possible, ie &amp;#39;C:\nRF5_SDK_15.2&amp;#39;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;-&lt;strong&gt;Edit&lt;/strong&gt;&lt;br /&gt;I see you&amp;#39;re already pretty close to the root at &amp;#39;&lt;span&gt;C:\nordic_semi\nRF5_SDK_15.0.0_a53641a\&amp;#39;, but you should try to reduce the path nevertheless.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/thread/151028?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 15:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b79c5fcc-fa37-4783-9f49-be28a379df50</guid><dc:creator>Joel</dc:creator><description>&lt;p&gt;Hi Haakonsh. It is an unaltered version and contains &amp;#39;include &amp;quot;boards.h&amp;quot; &amp;#39; which then calls for pca10056.h. Funnily it compiles properly on another PC but not on my main work pc. It is probably something to do with SES setup. I&amp;#39;ll try re-installing SES. Is there a tutorial by Nordic semi to help developers setup SES project options properly? Do you normally have to edit options or does SES just auto config? thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/thread/151015?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 14:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ebf43e-d98d-41f4-a757-4f0ce883d697</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I believe your bsp.c file does not contain &amp;#39;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;boards.h&amp;quot;&amp;#39;, do you mind downloading an unaltered version of SDK15.0 or .2 and try compiling the example out of the box?&lt;br /&gt;&lt;br /&gt;Also I compiled the ble_app_proximity example for PCA10056 with SES v3.30 with no issues in SDK15.0&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUTTONS_NUMBER and BUTTONS_ACTIVE_STATE undeclared error - Proximity profile example</title><link>https://devzone.nordicsemi.com/thread/150868?ContentTypeID=1</link><pubDate>Sun, 30 Sep 2018 13:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5a78416-4d18-4ff1-9169-b91e9f24b380</guid><dc:creator>Joel</dc:creator><description>&lt;p&gt;This example builds properly if i use same proximity profile example from SDK 14.2 in same SES IDE on my machine. I noticed that definition of these two variables is in the header file pca10056.h but the SDK 15.0 example doesn&amp;#39;t seem to find this header file. Any pointers? Thnx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>