use softIoc for 3.14 too
This commit is contained in:
@@ -49,9 +49,8 @@ putenv "EPICS_TS_FORCE_NTPTIME=YES"
|
||||
|
||||
# Load EPICS system core (different names for different EPICS versions)
|
||||
# 3.13: "iocCore"
|
||||
# 3.14: "iocCoreLibrary.munch"
|
||||
# 3.15+: "softIoc.munch" (could do this from 3.14.12 on)
|
||||
EPICS_APP = R3_13 ? "iocCore" : R3_14 ? "iocCoreLibrary.munch" : PVA ? "softIocPVA.munch" : "softIoc.munch"
|
||||
# 3.14+: "softIoc.munch"
|
||||
EPICS_APP = R3_13 ? "iocCore" : PVA ? "softIocPVA.munch" : "softIoc.munch"
|
||||
sprintf STRINGBUFFER, "/epics/base-%s/bin/%s/%s", EPICS+1, EPICS_HOST_ARCH, EPICS_APP
|
||||
printf "loading %s\n",STRINGBUFFER
|
||||
ld 0, 0, STRINGBUFFER
|
||||
@@ -74,10 +73,10 @@ execute STRINGBUFFER
|
||||
iocLogInit
|
||||
errlogPrintf "Starting EPICS %s\n", EPICS
|
||||
|
||||
sprintf STRINGBUFFER, R3_13||R3_14 ? ";" : "dbLoadDatabase \"/epics/base-%s/dbd/softIoc%s.dbd\"", EPICS+1, PVA ? "PVA" : ""
|
||||
sprintf STRINGBUFFER, R3_13 ? ";" : "dbLoadDatabase \"/epics/base-%s/dbd/softIoc%s.dbd\"", EPICS+1, PVA ? "PVA" : ""
|
||||
execute STRINGBUFFER
|
||||
|
||||
sprintf STRINGBUFFER, R3_13||R3_14 ? ";" : "softIoc%s_registerRecordDeviceDriver pdbbase", PVA ? "PVA" : ""
|
||||
sprintf STRINGBUFFER, R3_13 ? ";" : "softIoc%s_registerRecordDeviceDriver pdbbase", PVA ? "PVA" : ""
|
||||
execute STRINGBUFFER
|
||||
|
||||
# load "require"
|
||||
@@ -89,7 +88,8 @@ sprintf STRINGBUFFER, "%s/lib/%s/requireLib.munch", getenv("require_DIR"), EPICS
|
||||
ld 0, 0, STRINGBUFFER
|
||||
|
||||
#load standard drivers (allow user to specify version in environment variable)
|
||||
require "base", getenv("base_VERSION") ? getenv("base_VERSION") : "ifexists"
|
||||
require "base", getenv("base_VERSION") ? getenv("base_VERSION") : R3_13 ? "ifexists" : "none"
|
||||
|
||||
registerModule "require", getenv("require_VERSION"), getenv("require_DIR")
|
||||
sprintf STRINGBUFFER, R3_13 ? ";" : "require_registerRecordDeviceDriver pdbbase"
|
||||
execute STRINGBUFFER
|
||||
@@ -97,7 +97,7 @@ require "utilities", getenv("utilities_VERSION")
|
||||
require "misc", getenv("misc_VERSION")
|
||||
|
||||
# caPutLog
|
||||
require "caPutLog", getenv("caPutLog_VERSION")?getenv("caPutLog_VERSION"):"ifexists"
|
||||
require "caPutLog", getenv("caPutLog_VERSION") ? getenv("caPutLog_VERSION") : "ifexists"
|
||||
|
||||
# EPICS 3.13 needs this to not use synchronized timestamps
|
||||
sprintf STRINGBUFFER, R3_13 ? "TSconfigure(0,10,10,18323,18322,250,1)" : ";"
|
||||
|
||||
Reference in New Issue
Block a user