<?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>Compile error in SDK12 with BSP_SIMPLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16985/compile-error-in-sdk12-with-bsp_simple</link><description>Hi nRF support,
In order to minimize the code size, I tried to enable define the macro BSP_SIMPLE, then I got the below error: 
 *** Using Compiler &amp;#39;V5.06 update 2 (build 183)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Rebuild target &amp;#39;nrf51422_xxac&amp;#39;
compiling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Oct 2016 12:49:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16985/compile-error-in-sdk12-with-bsp_simple" /><item><title>RE: Compile error in SDK12 with BSP_SIMPLE</title><link>https://devzone.nordicsemi.com/thread/65165?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2016 12:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:502525b6-a72a-4b43-8bdc-5f8f27387689</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will have to remove bsp_btn_ble.c, and other files that use these defines, from your project. You also have to remove/comment out any use of functions defined in this file, in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/lib_button.html?cp=4_0_0_3_6"&gt;Button handling library&lt;/a&gt; (app_button) or other related files.&lt;/p&gt;
&lt;p&gt;Check out line 35-41 in bsp.h found in &lt;code&gt;examples\bsp\&lt;/code&gt; in SDK12 for details about what is left out by BSP_SIMPLE.&lt;/p&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>