Threaded version 0.7
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#define _GNU_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#include "../src/atom_bridge.h"
|
||||
#include "CmpStd.h"
|
||||
@@ -31,3 +32,5 @@ void CDECL CDECL_EXT atmbcall_cext(atmbcall_cext_struct *p)
|
||||
#include "../src/atom_rtu.c"
|
||||
#include "../src/atom_server.c"
|
||||
#include "../src/atom_bridge.c"
|
||||
|
||||
#include "../src/atom_worker.c"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Generated from supplied ExtensionSDK; native build on ARM64 Pi.
|
||||
# Generated from supplied ExtensionSDK; build with target Linux toolchain.
|
||||
SDKDIR ?= ../../ExtensionSDK
|
||||
MAJORVER=0
|
||||
MINORVER=3
|
||||
CMPVERSION=0x00030000
|
||||
MINORVER=7
|
||||
CMPVERSION=0x00040000
|
||||
# Local development ID; check no other component uses this ID.
|
||||
CMPID=0x2001
|
||||
DOS2UNIX=dos2unix
|
||||
@@ -10,4 +10,6 @@ M4=m4
|
||||
CC ?= gcc
|
||||
# The SDK otherwise includes CmpFrame in its component identity wildcard.
|
||||
override CSRC := CmpAtomModbus.c
|
||||
CFLAGS += -pthread
|
||||
LDLIBS += -pthread
|
||||
include $(SDKDIR)/makefile
|
||||
|
||||
Reference in New Issue
Block a user