<?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>Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1284/creating-a-new-project-under-eclipse-from-scratch</link><description>I&amp;#39;m new to Nordic devices and tools. I have experience with Eclipse but I was wondering if there is a guide to help with the creation of a brand new project under Eclipse. I installed CDT and GDB for Eclipse but I don&amp;#39;t see how eclipse is pointing to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 May 2017 16:55:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1284/creating-a-new-project-under-eclipse-from-scratch" /><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5903?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 16:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcf577bf-f871-48ec-91b9-0a6ee435e02a</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;What is 7 ? can anyone understand this language ? its not even a sentence. Why is it so hard for people to create guide for other people and not other machines ? these steps where useless for me. Too many assumptions, not clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5916?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2014 15:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82d9e590-ecdb-438e-836e-5c9539cc971e</guid><dc:creator>Fibar_TeamA</dc:creator><description>&lt;p&gt;Could i please share again Eclipse_workspace.rar and Linked folder.rar because it&amp;#39;s not available now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5902?ContentTypeID=1</link><pubDate>Fri, 30 May 2014 09:57:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c4db75f-fee7-4e40-8c30-5b8116122857</guid><dc:creator>Alain</dc:creator><description>&lt;p&gt;Hi Nikita, i tried to download the Workspace example but it was not possible, Why is that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5914?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2014 07:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac2e75cf-d90a-4b37-bc96-fc1ae94429b9</guid><dc:creator>Andrejs</dc:creator><description>&lt;p&gt;Thanks it works :) Excellent support !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5913?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2014 15:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20e55cbd-2a0c-40bf-9a39-dd1be9d44775</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Hello, Andrejs.&lt;/p&gt;
&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;I can not understand 7. paragraph? Could you put some pictures of configuration how to do it ?&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;Here is some screens in attachment, showing how to create linked folder and how to exclude unnecessary files from build.
In my case I put the SDK files (Source and Include) in my Eclipse workspace in folder \lib\Nordic_5.1&lt;/p&gt;
&lt;blockquote&gt;
&lt;ol start="2"&gt;
&lt;li&gt;And why I can not choose target processor in C/C++ Builder -&amp;gt; Settings (attached picture)&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;Looks like you chose the wrong type of project when you created it.
Make sure you created it like this:
File -&amp;gt; New -&amp;gt; C project
Enter project name.
In the window that appears in &amp;quot;Project type:&amp;quot; field select line &amp;quot;Empty Project&amp;quot; in folder &amp;quot;Executable&amp;quot;.
Then in right field &amp;quot;Toolchains:&amp;quot; select Cross ARM GCC.
THen press next -&amp;gt; next -&amp;gt; select toolchain name &amp;quot;GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc)&amp;quot; and path to toolchain for example &amp;quot;C:\Program Files\GNU Tools ARM Embedded\4.8 2013q4\bin&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Linked-folder.rar"&gt;Linked folder.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5912?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2014 13:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:064e8314-3bf1-45b7-a48c-a20d95f1ffea</guid><dc:creator>Andrejs</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I can not understand 7. paragraph?  Could you put some pictures of configuration how to do it ?&lt;/li&gt;
&lt;li&gt;And why I can not  choose target processor  in C/C++ Builder -&amp;gt; Settings  (attached picture)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/settings.png" alt="settings.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5915?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 15:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d73ebb4-6cc4-4215-825c-677898f96297</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;Thanks Nikita!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5911?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 06:10:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a7996-25d9-46c8-bacd-ecdfe8d23db1</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;You can add all SDK source and include files to your project using linked folders and exclude from build all unnecessary files as I described in my post above in paragraph 7.
Here is sample eclipse project:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/discussions?controller=attachment&amp;amp;task=getFile&amp;amp;tmpl=component&amp;amp;id=632" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/discussions?controller=attachment&amp;amp;task=getFile&amp;amp;tmpl=component&amp;amp;id=632&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5910?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 03:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e8fa514-26aa-4f05-b0aa-80842573779f</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;ok, I add the folders to it without using virtual folder, now works, Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5909?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 02:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d8d2082-8ff0-4cd0-8bcf-1404513bddd9</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;I add by import src,
&lt;a target="_blank" href="https://www.dropbox.com/s/2q8396dfs2qwfzw/Screenshot" rel="nofollow"&gt;https://www.dropbox.com/s/2q8396dfs2qwfzw/Screenshot&lt;/a&gt;%202014-03-30%2019.55.29.png
however, still same error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5908?ContentTypeID=1</link><pubDate>Sun, 30 Mar 2014 22:41:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd28af3d-57e7-4382-8d71-1e667c2c0f9f</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;You need to add the simple_uart.c file to the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5907?ContentTypeID=1</link><pubDate>Sat, 29 Mar 2014 21:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d624936f-023c-435f-8ea0-7d42ca780fe3</guid><dc:creator>julian</dc:creator><description>&lt;p&gt;I can&amp;#39;t build in eclipse&lt;/p&gt;
&lt;p&gt;see screen here
&lt;a href="https://www.dropbox.com/s/3phdxzb1ktij1zw/Screenshot%202014-03-29%2013.33.58.png"&gt;www.dropbox.com/.../Screenshot 2014-03-29 13.33.58.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My include is setup without problem,
if I did not using retarget.c, it builds without problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5901?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 16:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89338eb3-31d0-412d-8b5e-cd49cd62f529</guid><dc:creator>Matthew E.</dc:creator><description>&lt;p&gt;Suggest adding flags: specs=nano.specs&lt;/p&gt;
&lt;p&gt;Suggest improving the gcc_nrf51_common.ld and add a FLASH size check like this:
ASSERT(LENGTH(FLASH) &amp;gt;= (SIZEOF(.text) + SIZEOF(.ARM.extab) + SIZEOF(.ARM.exidx)+ SIZEOF(.data)), &amp;quot;region FLASH overflowed&amp;quot;)&lt;/p&gt;
&lt;p&gt;See:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/discussions/bootloader-using-gcc-and-eclipse" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/discussions/bootloader-using-gcc-and-eclipse&lt;/a&gt;,-remove-impure_data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5900?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2014 19:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce55a77b-cd18-481a-9a2c-1cbc50e3858a</guid><dc:creator>Richard von Lehe</dc:creator><description>&lt;p&gt;Thanks Nikita.  I ran through the ble_app_hrs example and nAN-29 a while back.  Everything worked well.  In this case I don&amp;#39;t have a preexisting project, so instead of importing, I create a C Project-&amp;gt;Make Project.  I also had to deselect the option in the project setup to use the default location and specify where the source of my new project is (this project is a modified version of ble_app_lbs).  I&amp;#39;ve done that and gotten it to compile using the existing Makefile, now I just have to finish following the instructions in nAN29 again for setting up debugging via the JLINK.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5898?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2014 17:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45733574-3b02-4445-a4c7-4e42416375c0</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;to Richard von Lehe
This steps is exceptionally for creating pure eclipse project.
If you want to create eclipse project that uses makefile than you can find that in [url=&lt;a target="_blank" href="http://www.nordicsemi.com/eng/nordic/download_resource/18792/6/73843444" rel="nofollow"&gt;http://www.nordicsemi.com/eng/nordic/download_resource/18792/6/73843444&lt;/a&gt;]nAN29[/url].
You can find example configured eclipse project here:
\nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\nrf6310\s110\ble_app_hrs
If you using GNU Tools for ARM Embedded Processors version 4.8 2013q4 or higher than you need to fix makefile from SDK - add flag -Wno-unused-local-typedefs to compiler flags:
...&lt;/p&gt;
&lt;h1&gt;Compiler flags&lt;/h1&gt;
&lt;p&gt;CFLAGS += -mcpu=$(CPU) -mthumb -mabi=aapcs -D$(DEVICE) -D$(BOARD) -D$(TARGET_CHIP) --std=gnu99
CFLAGS += -Wall -Werror -Wno-unused-local-typedefs
CFLAGS += -mfloat-abi=soft
...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5899?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2014 16:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cde4eb2f-2e38-42cc-988c-f101864201c0</guid><dc:creator>Richard von Lehe</dc:creator><description>&lt;p&gt;How would you modify this project setup so that you use a preexisting Makefile?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5906?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2014 15:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d0badc8-f734-463b-b3c4-617ae8a5e8b2</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;I&amp;#39;d love to try! is there a guide for this plugin? Has anyone used it with Nordic micros? The goal is to use and debug with Nordic micros; I have seen solutions for other MFGs though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5905?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2014 07:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b007ebf-5efb-4628-99af-5ba40ffee5ff</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Would love to see this.  I tried gnuarmeclipse, but no love.  Maybe I didn&amp;#39;t whack the right moles.&lt;/p&gt;
&lt;p&gt;Can you publish your formula?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5904?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2014 03:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c3b4abd-d74a-41db-b5ec-b1ae3809c1a2</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;There&amp;#39;s a plugin for Eclipse designed for ARM, google gnuarmeclipse, which is a good start for setting up a project. It adds tools to create the image and size it. I have a template for a blinky example project which configures all the right settings but haven&amp;#39;t published it yet.&lt;/p&gt;
&lt;p&gt;With that plugin you can create a native Eclipse project which works very well and debugs. That same plugin has what I think is a better JLink debugger too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5897?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2014 19:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0ca6649-8629-42be-83d5-f4a277cded17</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;Thanks very much for the update!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5896?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2014 18:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a29f3ad-a082-4ec3-a640-4f4ed710906f</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;This looks like what I need. It is similar to some of the steps I already took. thanks so much, looks promising! Have a great day!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5894?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2014 18:49:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e45d41-18cc-494b-b1cd-8a778381e8e6</guid><dc:creator>Gilson</dc:creator><description>&lt;p&gt;AN29 does not show project creation from scratch. I don&amp;#39;t see the tool set used etc. but thanks for your reply. I appreciate your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5895?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2014 18:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d4fae50-b2ff-421d-a320-a110e48f8aa1</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Check this: &lt;a href="http://www.nordicsemi.com/eng/nordic/download_resource/18792/6/73843444"&gt;nAN-29&lt;/a&gt; It shows example makefile-project. If you want to create a project from scratch, you will need to do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Install Eclipse Kepler with GNU ARM Eclipse Plug-in.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do what was written in nAN-29 in 1 Required tools and 1.1 Setting up Eclipse.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create new empty C project -&amp;gt; Executable -&amp;gt; Cross ARM GCC press next
-&amp;gt; next -&amp;gt; select toolchain name &amp;quot;GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc)&amp;quot; and path to toolchain for example &amp;quot;C:\Program Files\GNU Tools ARM Embedded\4.8 2013q4\bin&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add all files from the example project folder to your eclipse project folder i.e. for ble_app_proximity copy files : nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\pca10001\s110\ble_app_proximity\ble_bondmngr_cfg.h nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\pca10001\s110\ble_app_proximity\main.c nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\pca10001\s110\ble_app_proximity\pstorage_platform.h&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create new folder in the eclipse project folder with &amp;quot;startup&amp;quot; name and put in there files: nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Source\templates\system_nrf51.c nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Source\templates\gcc\gcc_startup_nrf51.S change file extension from small .s to big .S&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create new folder in the eclipse project folder with &amp;quot;linker&amp;quot; name and put in there files: nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Source\templates\gcc\gcc_nrf51_common.ld and one more linker file with the name according to your needs gcc_nrf51_{1}_{2}.ld: where {1}: blank&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;for projects without softdevice s110 - for projects with s110 softdevice s120 - for projects with s210 softdevice and {2}: xxaa - for chips with xxAA at the end (i.e. NRF51822-QFAA-GC) xxab - for chips with xxAB at the end&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="7"&gt;
&lt;li&gt;
&lt;p&gt;Add new linked folder to project with Source and Include folders from SDK.
7.1. Go to the linked Include folder and do Resource Configurations -&amp;gt; Exclude from build for either s110 or s120 folder depending on what softdevice you are planning to use. For ble_app_proximity exclude s120 folder.
7.2. Go to the Source folder and do Resource Configurations -&amp;gt; Exclude from build for all the files in there that are not needed for the project. For ble_app_proximity check out what files are needed from existing keil example project: nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\pca10001\s110\ble_app_proximity\arm\ble_app_proximity.uvproj&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to the project properties -&amp;gt; C/C++ Builder -&amp;gt; Settings:
8.1. In target processor select ARM family: cortex-m0
8.2. In Optimization uncheck all flags and set optimization level to none (-O0). Later you can change this settings.
8.3. In Cross ARM C Compiller -&amp;gt; Preprocessor add defined symbols: NRF51 DEBUG NRF51822_QFAA_GC DEBUG_NRF_USER BLE_STACK_SUPPORT_REQD BOARD_PCA10001 Change them according to your board.
8.4. In Cross ARM C Compiller -&amp;gt; Includes add all required include paths. For ble_app_proximity it will be: &amp;quot;${workspace_loc:/${ProjName}}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/app_common}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/ble}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/ble/ble_services}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/boards}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/ext_sensors}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/gcc}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/s110}&amp;quot; &amp;quot;${workspace_loc:/${ProjName}/Nordic/Include/sd_common}&amp;quot;
8.5. In Cross ARM C Compiller -&amp;gt; Optimization select Language standard to GNU ISO C99 (-std=gnu99).
8.6. In Cross ARM C Compiller -&amp;gt; Miscellaneous add to the Other compiler flags
-Wno-unused-local-typedefs -mabi=aapcs -mfloat-abi=soft.
8.7. In Cross ARM C Linker -&amp;gt; General add main linker file. For ble_app_proximity it will be: &amp;quot;${workspace_loc:/${ProjName}/linker/gcc_nrf51_s110_xxaa.ld}&amp;quot; And uncheck all flags.
8.8. In Cross ARM C Linker -&amp;gt; Libraries add Library search path to the gcc_nrf51_common.ld file. &amp;quot;${workspace_loc:/${ProjName}/linker}&amp;quot; Uncheck all flags and add to the Other linker flags -mabi=aapcs.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;UPD: I fogot a few things in 8.7 and
8.8 and added them now.&lt;/p&gt;
&lt;p&gt;UPD2:I added sample eclipse project: Eclipse_workspace.rar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a new project under Eclipse from scratch</title><link>https://devzone.nordicsemi.com/thread/5893?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2014 17:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecba8dec-da1e-4ed5-a8c5-f28270d90473</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Gil,&lt;/p&gt;
&lt;p&gt;Did you have a look at the &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/22748/6/62660846"&gt;nAN29 application note&lt;/a&gt;? It&amp;#39;s the instruction on working with GCC and the nRF51 SDK.
From that, it&amp;#39;s not too hard to create a new project under Eclipse for the nRF51. Let me know if you have any trouble.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>