µracoli Manual Version foo

- µracoli
- User Guide
- Reference Guide

Atmel Studio 6 Project Template

## Introduction

It might of some help, if a preconfigured Atmel Studio 6 template can be used as base for an the own µracoli software project.

Therefore we added the halimbawa to the source code package The tagalog word Halimbawa means example according to the Tagalog Dictionary

## Using the Template

### Step 1: copy the project and rename it.

- Change into the directory `uracoli-src-<version>/as6/`
- Copy the entire directory `halimbawa` and rename it to e.g. `testproject`
- Change to the directory `testproject` and rename the file `halimbawa.cproj` to `testproject.cproj`

Copy the Project

### Step 2: open the copied project with AS6

- Double click on `testproject.cproj` and wait until Atmel-Studio has started.

Snapshot of the solution explorer window in AS6

- Do a right click on testproject in the solution explorer window and choose Properties.

Property selection

### Step 3: Configure the project

- Find your board on http://uracoli.nongnu.org/hwlist.html.
- The yellow marked text is needed to update the AS6 configuration.

Board Info Page

- In the properties dialogue select the Toolchain tab.
- Adapt the the F_CPU value and enter the target name of the board. The preconfigured values are `F_CPU` set to 8MHz and target name `rbb128rfa1`.

GCC Symbols - add the target name and F_CPU

- Select the Device tab in the Properties dialogue.
- Press the Change Device button to select the MCU for your board.

Select the MCU of your board

### Step 4: add your code

Finally you can start with programming your own project. Just edit in the file `main.c`, and leave the other source files untouched ... unless you find a bug.