
Chapter 3
File structure
Safety is only a small part of the whole SDK package for your device. The IEC60730 library and examples are located in the
middleware and in the board folders. The IEC60730 library is independent of the SDK and can be used stand-alone.
3.1 Library source files location
The library source files are in the
middleware/safety_iec60730b/safety/v4_2
folder in the SDK package.
The folder has the following structure:
Figure 4. Folder structure
Where:
• The
common_test
folder contains the source files for the peripheral test – this is a common cross core. These tests are
compiled to library
libIEC60730B_<core>_COM_<compiler>_<version>.a
.
• The
compiler
folder contains compiler support files.
• The
core_test
folder contains the source files for the core-dependent test. These tests are compiled to library
libIEC60730B_<core>_<compiler>_<version>.a
.
•
iec60730b.h
is the main library header file.
•
iec60730b_types.h
is the header file with the necessary defines for the library.
The folder also contains binary
*.lib
files, which are compiled for the IAR, Keil, and MCUXpresso IDEs (see the release notes
for details).
NXP Semiconductors
LPC CM0 Safety Example , Rev. 3, 07/2021
User's Guide
8 / 28