CompuLab SBC-X270 Manual do Utilizador Página 153

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 226
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 152
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\
Vista de página 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 225 226

Comentários a estes Manuais

Sem comentários