Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Commit daf66ae

Browse files
committed
asyn R4-36 in e3
1 parent 19548d8 commit daf66ae

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "asyn"]
22
path = asyn
33
url = https://github.com/epics-modules/asyn
4-
ignore = all
4+
ignore = dirty

asyn.Makefile

+18-5
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,21 @@
1717
#
1818
# Author : Jeong Han Lee
1919
20-
# Date : Thursday, April 4 17:57:31 CEST 2019
21-
# version : 0.1.5
20+
# Date : Wednesday, September 4 00:01:38 CEST 2019
21+
# version : 0.1.6
2222

23-
# LEGACY_RSET should be defined before driver.makefile
24-
# require-ess from 3.0.1
25-
LEGACY_RSET = YES
23+
# 0.1.5 : R4-33
24+
#
25+
# 0.1.6 : R4-36 : show two new files such as
26+
# SOURCES += $(MISCELLANEOUS)/asynInterposeDelay.c
27+
# SOURCES += $(MISCELLANEOUS)/asynInterposeEcho.c
28+
# So, this version of asyn.Makefile doesn't have backward compatibility.
2629

2730
where_am_I := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
2831
include $(E3_REQUIRE_TOOLS)/driver.makefile
2932
include $(E3_REQUIRE_CONFIG)/DECOUPLE_FLAGS
3033

34+
USR_CPPFLAGS += -DUSE_TYPED_RSET
3135

3236
USR_CFLAGS += -Wno-unused-variable
3337
USR_CFLAGS += -Wno-unused-function
@@ -158,12 +162,21 @@ HEADERS += $(MISCELLANEOUS)/asynShellCommands.h
158162
HEADERS += $(MISCELLANEOUS)/asynInterposeCom.h
159163
HEADERS += $(MISCELLANEOUS)/asynInterposeEos.h
160164
HEADERS += $(MISCELLANEOUS)/asynInterposeFlush.h
165+
161166
SOURCES += $(MISCELLANEOUS)/asynShellCommands.c
162167
SOURCES += $(MISCELLANEOUS)/asynInterposeCom.c
163168
SOURCES += $(MISCELLANEOUS)/asynInterposeEos.c
164169
SOURCES += $(MISCELLANEOUS)/asynInterposeFlush.c
165170

166171

172+
# From R4-36 : show two new files such as
173+
# SOURCES += $(MISCELLANEOUS)/asynInterposeDelay.c
174+
# SOURCES += $(MISCELLANEOUS)/asynInterposeEcho.c
175+
# We have to use the following tricks to keep the backward compatibility.
176+
asynInterposeDelay_src += $(MISCELLANEOUS)/asynInterposeDelay.c
177+
SOURCES += $(filter $(asynInterposeDelay_src), $(wildcard $(MISCELLANEOUS)/*.c))
178+
asynInterposeEcho_src += $(MISCELLANEOUS)/asynInterposeEcho.c
179+
SOURCES += $(filter $(asynInterposeEcho_src), $(wildcard $(MISCELLANEOUS)/*.c))
167180

168181
#
169182
HEADERS += $(ASYNPORTDRIVER)/exceptions/ParamListInvalidIndex.h

configure/CONFIG_MODULE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
EPICS_MODULE_NAME:=asyn
22
#
3-
EPICS_MODULE_TAG:=tags/R4-33
3+
EPICS_MODULE_TAG:=tags/R4-36
44
#
5-
E3_MODULE_VERSION:=4.33.0
5+
E3_MODULE_VERSION:=4.36.0
66
#
77
E3_MODULE_NAME:=$(EPICS_MODULE_NAME)
88
#

0 commit comments

Comments
 (0)