Visible to Intel only — GUID: ylt1634206794853
Ixiasoft
About the IO Module Design Example for Intel® MAX® 10 Devices for OPC UA
Getting Started with the IO Module Design Example for OPC UA
Functional Description
Known Issues with the IO Module Design Example
Document Revision History for AN 961: IO Module Design Example for Intel® MAX® 10 Devices for OPC UA
Hardware and Software Requirements for the IO Module Design Example for OPC UA
Downloading the IO Module Design Example for OPC UA
Installing FreeRTOS and LwIP Templates on Nios Eclipse IDE
Generating an open62541 OPC UA Amalgamation (optional)
Preparing the IO Module Project for Build
Adding IO Module Software
Running the IO Module Design Example
Achieving Timing Closure on a Design Example
Visible to Intel only — GUID: ylt1634206794853
Ixiasoft
Generating an open62541 OPC UA Amalgamation (optional)
Open62541 provides the alternative for building the library in different modes. In an embedded software project, such as the IO Module Design Example, you can build an amalgamation of the library into a single source and header file (open62541.c and open62541.h) using CMake for Windows and Eclipse.
- Download and extract open62541.
- Open <project directory>/opcua_nios/SdkNios.cmake and change the UA_ARCH_EXTRA_INCLUDES to point to the project BSP directory.
- Open CMake, navigate to open62541 directory for source.
- Create a /BUILD_/ directory for the binaries.
- Click on Configure.
- Select Eclipse CDT4 - Unix Makefiles as a generator and Specify toolchain for cross-compiling.
- Specify the toolchain file: <project directory>/opcua_nios/SdkNios.cmake and click Finish.
- Click Generate.
- Open Nios II Software Build Tools for Eclipse.
- Right click BSP > Import > Existing Projects into Workspace, browse to ../BUILD_/ directory.
- Click Window > Show View > Other > Make > Make Target.
- Click Make Target Window > <open62541> > @BUILD_ > all.
Ignore any fail messages.
- Open open62541.c and find the line: include <task.h>.
- In the line above add: include <FreeRTOS.h> and save.
- Copy the generated open62541.c and .h files to the FreeRTOS project.
Related Information