This class provides methods to manage winIDEA configuration in Basic mode.
More...
#include <CWorkspaceController.h>
This class provides methods to manage winIDEA configuration in Basic mode.
Once the instance is configured, it can be used in CWorkspaceController's create, get_cfg_debug and set_cfg_debug functions.
Python example: test_close_open.py
◆ EPresetPC
How to preset the PC.
| Enumerator |
|---|
| none | PC is not preset. default SoC behaviour is used.
|
| EntryPoint | PC for primary core is preset to the application's symbols file's entry point.
|
| Address | PC for primary core is preset to strPresetPC.
|
◆ CCfg_debug_basic()
| isys::CCfg_debug_basic::CCfg_debug_basic |
( |
| ) |
|
◆ ~CCfg_debug_basic()
| virtual isys::CCfg_debug_basic::~CCfg_debug_basic |
( |
| ) |
|
|
virtual |
◆ get_AppName()
| std::string isys::CCfg_debug_basic::get_AppName |
( |
| ) |
const |
gets the application name
- Returns
- name of the application
- Since
- 9.12.288
◆ get_CreateSMP()
| bool isys::CCfg_debug_basic::get_CreateSMP |
( |
| ) |
const |
gets the SMP configuration
- Returns
- true if device cores are configured for SMP operation
- Since
- 9.12.288
◆ get_Device()
| std::string isys::CCfg_debug_basic::get_Device |
( |
| ) |
const |
gets the device(SoC) to use
- Returns
- manufacturer name of the device
- Since
- 9.12.288
◆ get_DeviceName()
| std::string isys::CCfg_debug_basic::get_DeviceName |
( |
| ) |
const |
gets the user name of the device(SoC)
- Returns
- user name of the device
- Since
- 9.12.288
◆ get_PgmPath()
| std::string isys::CCfg_debug_basic::get_PgmPath |
( |
| ) |
const |
gets the path to the program file
- Returns
- path to the program file
- Since
- 9.12.288
◆ get_PresetPC()
| EPresetPC isys::CCfg_debug_basic::get_PresetPC |
( |
| ) |
const |
gets the PC preset mode
- Returns
- EPresetPC the preset mode
- Since
- 9.21.271
◆ get_PresetPC_symbol()
| std::string isys::CCfg_debug_basic::get_PresetPC_symbol |
( |
| ) |
const |
gets the PC preset symbol
- Returns
- the preset symbol. used when preset mode is 'Symbol'
- Since
- 9.12.288
◆ get_Probe()
| std::string isys::CCfg_debug_basic::get_Probe |
( |
| ) |
const |
gets the probe name to use
- Returns
- probe name
- Since
- 9.12.288
◆ get_ReplaceDir()
| std::string isys::CCfg_debug_basic::get_ReplaceDir |
( |
| ) |
const |
gets the source file path remapping
- Returns
- source file path remapping rules string
- Since
- 9.12.288
◆ get_SymPath()
| std::string isys::CCfg_debug_basic::get_SymPath |
( |
| ) |
const |
gets the path to the application's symbol file
- Returns
- path to the application's symbol file
- Since
- 9.12.288
◆ get_UseSymForPgm()
| bool isys::CCfg_debug_basic::get_UseSymForPgm |
( |
| ) |
const |
gets the program file = symbol file setting
- Returns
- true if same file should be used for both symbolic information as well as FLASH/RAM programming
- Since
- 9.12.288
◆ set_AppName()
| CCfg_debug_basic & isys::CCfg_debug_basic::set_AppName |
( |
const std::string & | val | ) |
|
Sets the application name.
If this is not set, the default 'App' will be used. Setting a distinctive name is necessary when multiple applications are defined (in Full configuration mode)
- Parameters
-
- Since
- 9.12.288
◆ set_CreateSMP()
sets the SMP configuration
- Parameters
-
| val | true if applicable cores (those with identical core types) should be bound into SMP |
- Since
- 9.12.288
◆ set_Device()
| CCfg_debug_basic & isys::CCfg_debug_basic::set_Device |
( |
const std::string & | val | ) |
|
Sets the device(SoC) to use.
This parameter is required.
- Parameters
-
| val | manufacturer name of the device |
- Since
- 9.12.288
◆ set_DeviceName()
| CCfg_debug_basic & isys::CCfg_debug_basic::set_DeviceName |
( |
const std::string & | val | ) |
|
Sets the user name of the device(SoC).
If this parameter is not set, the manufacturer name will be used
- Parameters
-
| val | user name of the device |
- Since
- 9.12.288
◆ set_PgmPath()
| CCfg_debug_basic & isys::CCfg_debug_basic::set_PgmPath |
( |
const std::string & | val | ) |
|
Sets the program file.
This is typically a hex or an Elf file containing target program image. If more than one program file is required, use CConfigurationController::ide_SoC_files
- Parameters
-
| val | path to the program file |
- Since
- 9.12.288
◆ set_PresetPC()
Sets the PC preset for primary core.
- Parameters
-
| preset_mode | how to preset the PC |
| symbol | the symbol or numeric value to which the PC should be preset. used then ePresetPC is 'Symbol' |
- Since
- 9.12.288
◆ set_Probe()
Sets the probe name.
This parameter is required when multiple connections from the debugger to the SoC are possible. Available probes are displayed in winIDEA. Typically this needs to be specified only if multiple Active Probes are used.
- Parameters
-
- Since
- 9.12.288
◆ set_ReplaceDir()
| CCfg_debug_basic & isys::CCfg_debug_basic::set_ReplaceDir |
( |
const std::string & | val | ) |
|
Sets the source file path remapping rules.
Remapping is required when the Application was built on a different PC than the debug PC. ELF file then references files on the build PC and these cannot be found on the debug PC.
- Parameters
-
| val | source file path remapping rules string. "Syntax: [path old 1]=[path new 1];[path old 2]=[path new 2];...
"Example: /usr/src/kernel/=../kernel-source/
" |
- Since
- 9.12.288
◆ set_SymPath()
| CCfg_debug_basic & isys::CCfg_debug_basic::set_SymPath |
( |
const std::string & | val | ) |
|
Sets the application's symbol file.
This is typically the Elf file containing symbolic informatin. If more than one symbols file is required, use CConfigurationController::ide_app_files
- Parameters
-
| val | path to the application's symbol file |
- Since
- 9.12.288
◆ set_UseSymForPgm()
specifies whether same file should be used for both symbolic information as well as FLASH/RAM programming
- Parameters
-
| val | true if same file should be used. In such case the path set with set_PgmPath is ignored |
- Since
- 9.12.288