aboutsummaryrefslogtreecommitdiffstats
path: root/docs/part-1/4_build-first-app.md
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-19 10:03:26 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-19 10:03:26 +0200
commita18116240fd36dfc173d8bd0274487b635b54f23 (patch)
tree98596bfe1d9a73d53f0a37732c84640662600b70 /docs/part-1/4_build-first-app.md
parent32dcf3f8430a5e9bb913834d43738c495376ba8f (diff)
Update Netbeans project creation steps and screenshots
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs/part-1/4_build-first-app.md')
-rw-r--r--docs/part-1/4_build-first-app.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/part-1/4_build-first-app.md b/docs/part-1/4_build-first-app.md
index 2a1bb67..45b57b7 100644
--- a/docs/part-1/4_build-first-app.md
+++ b/docs/part-1/4_build-first-app.md
@@ -185,21 +185,27 @@ __Netbeans 8.x :__
- Select **C/C++ Project with Existing Sources** ;
Click on **Next** button
-- Specify the directory where you cloned your project and click on **Finish** button to keep all default settings in order to create a *native configuration*.
+- Specify your project directory and set **Select Configuration Mode** to
+ **Custom**. Keep **Tool Collection** to **Default GNU** in order to create a
+ *native configuration* based on native GNU GCC. Finally click on **Next** button.
![Select Model panel](./pictures/nb_new-project-1.png)
-<!-- warning -->
-> **Warning:** Take care to set **Tool Collection** to **Default GNU** in order
-> to create a native configuration based on native GNU GCC.
-<!-- endwarning -->
+- Just update **Run in Folder** field and add `build_native` suffix so that
+ resulting build files will be located into `build_native` sub-directory.
+ Keep all others settings to default value and click on **Next** button.
+
+ ![Select Model panel](./pictures/nb_new-project-2.png)
+
+- Click several times on **Next button** (always keep default settings) and
+ click on **Finish** button to complete creation of native configuration.
- Now we will create a **cross configuration** based on XDS tools.
Edit project properties (using menu **File** -> **Project Properties**) to add a new configuration that will use XDS to cross-compile your application for example for a Renesas Gen3 board.
- in **Build** category, click on **Manage Configurations** button and then **New** button to add a new configuration named for example "Gen3 board"
- ![Select Build category](./pictures/nb_new-project-2.png)
+ ![Select Build category](./pictures/nb_new-project-3.png)
- Click on **Set Active** button
@@ -213,13 +219,13 @@ __Netbeans 8.x :__
- Build Command: `xds-exec -c ../xds-project.conf -- make remote-target-populate`
- Clean Command: `xds-exec -c ../xds-project.conf -- make clean`
- ![Select Make sub-category](./pictures/nb_new-project-3.png)
+ ![Select Make sub-category](./pictures/nb_new-project-4.png)
- Select **Run** sub-category, and set:
- Run Command: `target/start-on-root@renesas-gen3.sh`
- Run Directory: `build-gen3`
- ![Select Run sub-category](./pictures/nb_new-project-4.png)
+ ![Select Run sub-category](./pictures/nb_new-project-5.png)
- Click on **OK** button to save settings