Source File List

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 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.

File Description
oalp_cmx.h CMX header file.
oalp_event.c and .h Event functions source code and header file.
oalp_isr.c and .h ISR functions source code and header file.
oalp_mutex.c and .h Mutex functions source code and header file.
oalp_task.c and .h Task functions source code and header file.
oalp_isr.h ISR 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.


  • 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.

The files are as follows:

psp_isr.c ISR functions source code.
psp_isr.h ISR functions header file.

The PSP also has a version file, ver_psp_isr.h.