CompuLab SBC-X270 Uživatelský manuál Strana 153

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 226
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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\
Zobrazit stránku 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 225 226

Komentáře k této Příručce

Žádné komentáře