logo

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Paul K  
#1 Posted : Monday, November 27, 2017 9:02:58 AM(UTC)
Paul K

Rank: Newbie

Joined: 11/2/2017(UTC)
Posts: 2

Hey,

I have problems with configuring the SDK (R400.1) for usage on an embedded platform.
Which defines in the "uasdk_default_build_config.h" do I have to set?
Usecase:
Development board: XMC4800
lwip-stack: taken from the "OPCUASERVER_LWIP_XMC47" example from the Infineon Website
IDE: DAVE
No security
usage of the C API

These is my configuration at the moment:
#define UASDK_INCLUDE_SECURITY 0
#define UASDK_USE_MBEDTLS 0

#define UASDK_INCLUDE_SERVER_LWIP_RAW 0/////
#define UASDK_INCLUDE_TIMERS_ANY_PLATFORM_POLLED 1
#define UASDK_INCLUDE_ATOMIC_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_REF_COUNT_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_THREAD_POOL_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_LOCKS_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_LIBRARY_BARE_METAL 1
#define UASDK_INCLUDE_TCPIP_LWIP_RAW 0////////
#define UASDK_INCLUDE_XML_SUPPORT 0
#define UASDK_INCLUDE_TCPIP_C_API 1/////
#define UASDK_INCLUDE_SERVER_C_API 1

#define UASDK_USE_HELPERS 1
#define UASDK_OPTIMISE_FOR_SPEED 0
#define UASDK_USE_SYSTEM_HEAP 0

The program compiles, but the controller gets stuck on the OPC initialization function.


Thank you for your help
Offline Shubhi Gogna  
#2 Posted : Tuesday, November 28, 2017 2:01:07 AM(UTC)
Shubhi Gogna

Rank: Member

Joined: 3/23/2017(UTC)
Posts: 14

Hi Paul,

Please use this configuration to build UA Server for XMC 4800 micro-controller in C-API.

#define UASDK_INCLUDE_SERVER_LWIP_RAW 1
#define UASDK_INCLUDE_TIMERS_ANY_PLATFORM_POLLED 1
#define UASDK_INCLUDE_ATOMIC_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_REF_COUNT_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_THREAD_POOL_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_LOCKS_ANY_PLATFORM_ST 1
#define UASDK_INCLUDE_LIBRARY_BARE_METAL 1
#define UASDK_INCLUDE_TCPIP_LWIP_RAW 1
#define UASDK_INCLUDE_XML_SUPPORT 0

#define UASDK_USE_HELPERS 1
#define UASDK_OPTIMISE_FOR_SPEED 0
#define UASDK_USE_SYSTEM_HEAP 0
#define UASDK_DEBUG 1

#define UASDK_INCLUDE_SERVER 1

Please let us know if you have any questions.

Regards,
MatrikonOPC Technical Support Team
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.