Windows Netbeans configuration

From Miosix Wiki
Revision as of 18:52, 21 April 2014 by Fede.tft (talk | contribs) (Created page with "=== Installing the IDE === Download the [https://netbeans.org/downloads Netbeans IDE]. Among the possible versions choose the C/C++ version. Netbeans is an IDE written in Jav...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing the IDE

Download the Netbeans IDE. Among the possible versions choose the C/C++ version. Netbeans is an IDE written in Java, so it requires the JDK to function. If you don't have the JDK installed, download it from here and install it before installing Netbeans.

Configuring the IDE

Netbeans is a generic C/C++ IDE, and once installed is not set up by default to develop for ARM microcontrollers and Miosix. So you need to configure it. This is a one-time step that you will have to do again only if you re-install the IDE.

Note: this assumes you have already installed the Miosix toolchain, if not read the Windows Quick Start tutorial first.

Open the Netbeans IDE (there should be an icon on the Desktop after installation) and click on "Tools > Options". From the top of the options window select the C/C++ panel, and click the "Add" button to add a compiler to Netbeans. As "Base directory" choose "C:\arm-miosix-eabi\arm-miosix-eabi\bin". Choose "GNU MinGW" as "Tool collection family", and "ARM_MIOSIX_EABI" as "Tool collection name". Note that you must use the "ARM_MIOSIX_EABI" name, or you'll have problems later. The C and C++ compiler should be automatically filled in by Netbeans, if not copy them from the screenshot below.

Nbsetup1-windows.png