Energia

## Energia Preferences

Some preferences can be controlled from the Preferences dialog within the Energia environment. Access it from the File menu in Windows or Linux, or the Energia menu on the Mac.

Other preferences must be changed in the preferences.txt file. This file's location is displayed in the preferences dialog. It should be:

- /Users/<USERNAME>/Library/Energia/preferences.txt (Mac)
- c:\Documents and Settings\<USERNAME>\Application Data\Energia\preferences.txt (Windows XP)
- c:\Users\<USERNAME>\AppData\Roaming\Energia\preferences.txt (Windows Vista)
- ~/.energia/preferences.txt (Linux)

Only edit the file when Energia is not running - otherwise your changes will be overwritten when Energia exits.

The definitions that determine the contents of the Board menu are found in boards.txt in the hardware/ sub-directory of the Energia application directory. The definitions for the Burn Bootloader menu are in the programmers.txt file in the same directory. To create a new board or programmer definition, copy an existing one, change the prefix used in the preference keys, and alter the values to fit your hardware. Note that only certain board configurations are supported.

Getting Started Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Energia reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Energia reference is based on the Arduino reference. Code samples in the reference are released into the public domain.

©Energia | Edit Page | Page History | Printable View | All Recent Site Changes