Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CodeVision AVR 1.25.7, user manual.pdf
Скачиваний:
236
Добавлен:
12.08.2013
Размер:
1.22 Mб
Скачать

CodeVisionAVR

2.4 IDE Settings

The CodeVisionAVR IDE is configured using the View and Settings menus.

2.4.1 The View Menu

The folowing settings can be configured using the View menu command:

If the View|Toolbar option is checked the command buttons toolbar will be displayed;

If the View|Navigator/Code Templates/Clipboard History option is checked the Navigator, Code Templates and Clipboard History window is displayed at the left of the Editor window;

If the View|Messages option is checked, the Message window located under the Editor window will be displayed;

If the View|Information Window after Compile/Make option is checked, there will be an Information window displayed after Compiling or Making.

© 1998-2007 HP InfoTech S.R.L.

Page 54

CodeVisionAVR

2.4.2 Configuring the Editor

The Editor can be configured using the Settings|Editor menu command.

The Show Line Numbers check box, allows enabling or disabling the displaying of line numbers in the Editor windows.

The Autoindent check box, allows enabling or disabling the text autoindenting during file editing. The Auto Load Modified Files check box, allows enabling or disabling the automatic loading of files that are opened in the Editor and that were modified by an external program.

The Convert Tabs to Spaces check box, allows enabling or disabling the replacement of the tab character with the appropriate number of spaces while typing. The number of spaces, inserted when pressing the Tab key, can be specified using the Tab Size spin edit.

The Auto Collapsible Blocks Enabled check box allows enabling or disabling the automatic display of the vertical bar which delimits the collapsible blocks in the left of the Editor window

The Automatic Collapsible Blocks|Bar Color list box specifies the color of the collapsible blocks vertical bar.

The font, used by the text Editor and the Terminal, can be specified using the Font button.

By checking or unchecking the Syntax Highlighting Enabled check box, you can enable or disable the C syntax color highlighting of the files displayed in the Editor windows.

The different colors, respectively attributes (Bold and Italic), used for displaying the text in the Editor windows and for C syntax highlighting, can be specified in the appropriate listboxes,

respectively B and I check boxes, in the Syntax Highlighting group.

The Background and Text color settings are the same for both the EditorEdit File and the TerminalTerminal.

The User Defined Keywords List can contain additional keywords for which syntax highlighting is necessary. Their text color, respectively attributes (Bold and Italic), can be specified using the User Defined Keywords list box, respectively B and I check boxes.

© 1998-2007 HP InfoTech S.R.L.

Page 55

CodeVisionAVR

The Editor configuration changes can be saved, respectively canceled, using the OK, respectively Cancel buttons.

By pressing the Default button the default Editor settings are restored.

2.4.3 Configuring the Assembler

The Assembler can be configured using the Settings|Assembler menu command.

The On Assembler Error options allow to select which file will be automatically opened by the Editor in the case of an assembly error.

The Assembler configuration changes can be saved, respectively canceled, using the OK, respectively Cancel buttons.

© 1998-2007 HP InfoTech S.R.L.

Page 56

CodeVisionAVR

2.4.4 Setting the Debugger Path

The CodeVisionAVR C Compiler is designed to work in conjunction with the Atmel AVR Studio debugger version 3 and 4.06 (or later).

Before you can invoke the debugger, you must first specify its location and file name using the

Settings|Debugger menu command.

The AVR Studio version must be specified in the Debugger list box.

Changes can be saved, respectively canceled, using the OK, respectively Cancel buttons.

Pressing the Browse button opens a dialog window that allows selecting the debugger's directory and filename.

© 1998-2007 HP InfoTech S.R.L.

Page 57