Source File List

The following sections describe 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 file.

Configuration File

The file src/config/config_safe_nor_drv_spifi.h contains the configurable parameters of the system. Configure these as required. For detailed explanation of these options, see Configuration Options.

System Files

These files are in the directory src/safe-flash/nor/phy/spifi. These files should only be modified by HCC.

File Description
safe_nor_drv_spifi.c SPIFI driver source code.
safe_nor_drv_spifi.h SPIFI driver header file.

Version File

The file src/version/ver_safe_nor_drv_spifi.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) File

The file src/psp/target/spifi/psp_spifi.c provides functions and elements the core code needs to use, depending on the hardware. The PSP also has a version file, version/ver_psp_spifi.h.


  • This is a PSP implementation for the specific microcontroller and board. You may need to modify this to work with a different microcontroller and/or development board; see PSP Porting for details.
  • In the package this file is offset to avoid overwriting an existing implementation. Copy it to the root hcc directory for use.