AN 957: Time-Sensitive Networking for Drive-on-Chip Design Example

ID 683707
Date 10/30/2021
Public
Document Table of Contents

4.4. Getting and Building open62541

The OPC UA Publisher and Subscriber is based on the open source implementation of the OPC UA standard open62541.
  1. Access and download the standard from GitHub.
  2. Download and build the library following Open62541 documentation.
  3. Use an amalgamation for the Cyclone V SoC Development board of the open62541 library, allowing you to have all the functions and definitions for the program in a single .c and .h file
  4. Copy these files to the project in DS-5 and name open62541.c and open62541.h
  5. When building the open6541 library in a Linux machine, enable the following flags:
    UA_ENABLE_AMALGAMATION 
    UA_ENABLE_PUBSUB 
    UA_ENABLE_PUBSUB_ETH_UADP