Using the µVision Socket Interface: Project Option Codes

| Using the µVision Socket Interface Application Note 198 Control and monitor µVision via the built-in TCP/IP interface

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations
Project Option Codes
Enumerations

## Enumerations
enum | OPTSEL { OPT_LMISC = 1, OPT_CMISC = 2, OPT_AMISC = 3, OPT_CINCL = 4, OPT_AINCL = 5, OPT_CDEF = 6, OPT_ADEF = 7, OPT_CUNDEF = 8, OPT_AUNDEF = 9, OPT_COPTIMIZE = 10, OPT_CODEGEN = 11, OPT_MEMRANGES = 12, OPT_ASNMEMRANGES = 13, OPT_UBCOMP1 = 14, OPT_UBCOMP2 = 15, OPT_UBBUILD1 = 16, OPT_UBBUILD2 = 17, OPT_UABUILD1 = 18, OPT_UABUILD2 = 19, OPT_UBEEP = 20, OPT_USTARTDEB = 21, OPT_END }

## Description

## Enumeration Type Documentation

enum OPTSEL

Project option type definition

Identifies the type of uVision project option to get or set in the UV_PRJ_GET_OPTITEM and UV_PRJ_SET_OPTITEM commands

Enumerator
OPT_LMISC | Link-Misc string (valid for Target only)
OPT_CMISC | C-Misc string.
OPT_AMISC | Asm-Misc string.
OPT_CINCL | C-Include-path string.
OPT_AINCL | Asm-Include-path string.
OPT_CDEF | C-Defines string.
OPT_ADEF | Asm-Defines string.
OPT_CUNDEF | C-Undefines (valid for Group- and File-level only)
OPT_AUNDEF | Unused: Asm-Undefines, non-existant in uVision.
OPT_COPTIMIZE | C optimization options [Level, Time].
OPT_CODEGEN | ARM/Thumb mode for ARM7TDMI targets.
OPT_MEMRANGES | Memory ranges available to be assigned.
OPT_ASNMEMRANGES | Assigned memory ranges at specified level.
OPT_UBCOMP1 | Run User Programs Before Compilation of a C/C++ File 1.
OPT_UBCOMP2 | Run User Programs Before Compilation of a C/C++ File 2.
OPT_UBBUILD1 | Run User Programs Before Build / Rebuild 1 Format: bRUN bDOS16 PATH i.e.: 10c:\Execute\MyProgram.exe.
OPT_UBBUILD2 | Run User Programs Before Build / Rebuild 2 Format: bRUN bDOS16 PATH i.e.: 10c:\Execute\MyProgram.exe.
OPT_UABUILD1 | Run User Programs After Build / Rebuild 1 Format: bRUN bDOS16 PATH i.e.: 10c:\Execute\MyProgram.exe.
OPT_UABUILD2 | Run User Programs After Build / Rebuild 2 Format: bRUN bDOS16 PATH i.e.: 10c:\Execute\MyProgram.exe.
OPT_UBEEP | Beep When Complete Format: 'beep' or empty string.
OPT_USTARTDEB | Start Debugging Format: 'start debug' or empty string.
OPT_END | Always at end.