Welcome to the wiki of i4uc, an multiplatform IDE for microcontrollers.
i4uc is a multiplatform IDE for developing microcontroller firmware.
The main objective of i4uc is to integrate different development tools to build and burn firmware for microcontrollers of different brands. i4uc will integrate:
To be able to use i4uc for the development of a particular type of microcontroller you should install the following (the order doesn't change the result):
The most important part of the development tools is the compiler, see the list of Supported Compilers with links to their websites for downloading and intalling.
The firmware developed needs to be programmed (burned) into the microcontroller, see the list of Supported Programmers with links to their websites for downloading and installing.
As i4uc is multiplatform, the installation depends on your operating system:
Here's a minimal example to build a firmware for a Microchip PIC 18F2550. For other types of microcontroller the steps are the same.
Once i4uc is executed an initial page is shown. This initial page describes the microcontrollers and programmers supported in the current version of i4uc. This initial page also gives the possibility to create a new project or to open a recently used project. Let's choose create a new project.

A dialog is opened to select the name and folder of the project, the type of microcontroller, compiler and device to create the firmware. Let's give to the project the name "first project" in a folder you like (a new folder is preferred), the microcontroller, compile and device as it's shown in the next figure.

Click in OK to create and open the project.

There are two ways to add files to the project: creating new files and importing files.
Click "New" in the toolbar or in the file menu to create an empty file. Write some code (in this example just an empty main function) and then click "save" button to save the file in the same folder of the project. i4uc will ask if you want to add the new file to the project, say yes. This only happends if the file is saved in the same folder of the project. In this example let's save the new file as main.c.


If you want to import files to the project just click "Import files" in the projects menu. You can select the file to import to the project that are in the same folder of the project or any other folder. For files that aren't in the project's folder i4uc will ask if you want to copy the files to the project's folder, if say yes the files will be copied and added to the project, if not no files will be copied or added to the project.
For building a project just click "Build project" in the toolbar or in the projects menu. i4uc will compile only source code files (i.e. c and asm file for C compilers).

With the edit button (on the right of the project's name) you can change the microcontroller, compiler, device and also the compiler and linker options.

Before programming (burning) the builded firmware to the microcontroller you should choose the programmer and the device in the side panel. In this case choose "PicKit 2" programmer, select the folder where PK2DeviceFile.dat is and the device to programm, in this case PIC18F2550.
Then click in "Program project" in the toolbar or in the project menu, it will ask you if you want to programm the microcontroller, say yes.
