This is the HCC Embedded Product Documentation.

HCC Embedded Main Website   |    HCC Documentation Home Page  |     Contacting HCC Embedded



This section describes all the source code files included in the system. These files follow the HCC Embedded standard source tree system, described in the HCC Source Tree Guide. All references to file pathnames refer to locations within this standard source tree, not within the package you initially receive.

Note: Do not modify any files except the configuration file and the PSP files.

Configuration File

The file src/config/config_oal_os.h contains configuration options specific to the system. Configure these as required. (Global configuration parameters are controlled by the base package's configuration file.)

Source Files

These files are in the directory src/oal/os. These files should only be modified by HCC.

FileDescription
oalp_defs.h System defines header file.
oalp_event.cEvent functions source code.
oalp_event.hEvent functions header file.
oalp_isr.c ISR functions source code.
oalp_isr.hISR functions header file.
oalp_mutex.c Mutex functions source code.
oalp_mutex.h Mutex functions header file.
oalp_task.cTask functions source code.
oalp_task.h Task functions header file.

Version File

The file src/version/ver_oal_os.h contains the version number of this module. This version number is checked by all modules that use this module to ensure system consistency over upgrades.

Platform Support Package (PSP) Files

These files in the directory src/psp/target/isr provide functions and elements the core code needs to use, depending on the hardware. Modify these files as required for your hardware.

Note:

  • These are PSP implementations for the specific microcontroller and board; you may need to modify these to work with a different microcontroller and/or development board. See PSP Porting for details.
  • In the package these files are offset to avoid overwriting an existing implementation. Copy them to the root hcc directory for use.

FileDescription
psp_isr.cISR functions source code.
psp_isr.hISR functions header file.