
SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 15-17
SCIOPTA - Real-Time Kernel
15 Building SCIOPTA Systems
15.7.6 WIN32 Linker Script
The linking process and memory mapping is fully controlled and defined by the Microsoft® Visual C++ IDE.
15.7.6.1 Module Data RAM
In SCIOPTA system running in a real target CPU the module RAM memory map is defined in the linker scripts.
In the SCIOPTA SCSIM Simulator you need to declare the module RAM by a character array of the size of the
module.
For the system module the declaration looks as follows:
/* define module ram */
static char system_module[0x20000];
sc_module_addr_t system_mod = {
system_module,
sizeof(system_module),
0
};
In the delivered SCIOPTA examples the module data RAM declaration is usually included in the file system.c.
system.c SCIOPTA SCSIM Simulator setup.
File location: <installation_folder>\sciopta\<version>\exp\krn\win32\hello\
Comentários a estes Manuais