Precompile settings
The components of the PROFINET stack are configured and connected by the component PSI. PSI itself requires precompile settings.
Note
The configuration, except the parameters mentioned below, must not be changed. Changes to these values may cause faulty behavior of the communication stack.
Configuring the EDDS to a lower layer
One of the following definitions must be done in <config_file.h> in
accordance to the used lower layer.
-
When using the Packet32 lower layer:
#define EDDS_CFG_HW_PACKET32 -
When using AF_PACKET lower layer:
#define PSI_CFG_EDDS_AFPACKET
See section Integration of an EDDS lower layer implementation into PN Device Driver.
Configuring the EDDI for CP1625
#define EDDI_CFG_SOCin<config_file.h>.
Customer-specific LED handling
-
When using the EPS APP API for LED control:
#define EPS_CFG_USE_EXTERNAL_LEDin<config_file.h>.