Chapter 2. eCosPro CDT plug-in Macros

This chapter describes the eCosPro CDT plug-in Macros available to many of the plug-in's settings which are referenced throughout this documentation. Where these macros appear in a field value of a plug-in form, they are expanded to the values indicated below before they are passed to the underlying infrastructure. The macros and their default values are:

${eclipse_hostname}

This macro is the hostname on which Eclipse is currently running. It is often used as a parameter to the Ronetix PEEDI configuration script in order that the latter may correctly load the settings for accessing the target hardware from the Eclipse build host.

${eCosInstallDir}

This macro represents and has its value set to the installation directory where eCos sub- directories such as etc, include and lib are installed when the associated eCos Configuration Project is built.

This is the same value as the environment variables ${ECOS_INSTALL_DIR} for Linux or %ECOS_INSTALL_DIR% for Windows command shells.

${openocd_config_filename}

Current default value: openocd.cfg

This is the name of the OpenOCD configuration file that may be used to initialise and access the target hardware through OpenOCD. This file is placed in the ${eCosInstallDir}/etc sub-directory upon creation of the eCosPro RTOS library.

${peedi_config_filename}

Current default value: peedi.cfg

This is the name of the PEEDI configuration file that may be used to initialise and access the target hardware through the Ronetix PEEDI. This file is placed in the ${eCosInstallDir}/etc sub-directory upon creation of the eCosPro RTOS library.

${peedi_gdb_port}

Current default value: 2000

This is the GDB port for the Ronetix PEEDI which is normally defined within the peedi.cfg configuration file.

[Note]Note

The default values may change in later revisions of eCosPro and may also vary according to the eCosPro configuration.