CompuLab SBC-X270 Bedienungsanleitung Seite 138

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 226
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 137
SCIOPTA - Real-Time Kernel
15-2 Manual Version 4.1 User’s Manual
SCIOPTA - Real-Time Kernel
15 Building SCIOPTA Systems
15.2 Configuration
The kernel of a SCIOPTA system needs to be configured before you can generated the whole system.
In the SCIOPTA configuration utility SCONF (sconf.exe) you will define the parameters for SCIOPTA systems
such as name of systems, static modules, processes and pools etc. Configure the system with the SCONF config
-
uration tool (see chapter 16 “SCONF Kernel Configuration” on page 16-1).
The SCONF tool generates the C file sconf.c (system defines and startup) and the include files sciopta.cnf (not
for ARM architecture) and sconf.h.
15.3 Include Files
15.3.1 Include Files Search Directories
Please make sure that the environment variable SCIOPTA_HOME is defined as explained in chapter 2.4.6
SCIOPTA_HOME Environment Variable” on page 2-4.
Define the following entries the include files search directories field of your IDE:
.
%(SCIOPTA_HOME)\include
%(SCIOPTA_HOME)\include\sciopta\<arch>
Depending on the CPU and board you are using:
%(SCIOPTA_HOME)\bsp\<arch>\include
%(SCIOPTA_HOME)\bsp\<arch>\<cpu>\include
%(SCIOPTA_HOME)\bsp\<arch>\<cpu>\<board>\include
15.3.2 Main Include File sciopta.h
The file sciopta.h contains some main definitions and the SCIOPTA Application Programming Interface. Each
module or file which is using SCIOPTA system calls and definitions must include this file.
The file sciopta.h in-
cludes all specific API header files.
sciopta.h Main SCIOPTA include file.
File location: <installation_folder>\sciopta\<version>\include\
15.3.3 Configuration Definitions sconf.h
Files or modules which are SCIOPTA configuration dependent need to include first the file sconf.h and then the
file sciopta.h.
The file sconf.h needs to be included if for instance you want to know the maximum number of modules allowed
in a system. This information is stored in SC_MAX_MODULES in the file sconf.h.
Please remember that sconf.h is automatically generated by the SCONF configuration tool and placed at a con-
venient location in your project folder.
Seitenansicht 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 225 226

Kommentare zu diesen Handbüchern

Keine Kommentare