diff --git a/EPICS_R3.13.syncTS/startup.script_epicsdependent b/EPICS_R3.13.syncTS/startup.script_epicsdependent new file mode 100644 index 0000000..242a3e2 --- /dev/null +++ b/EPICS_R3.13.syncTS/startup.script_epicsdependent @@ -0,0 +1,38 @@ +cd LIB + +# load EPICS system core +ld < iocCore.syncTS +ld < seq + +# load EPICS tools like "require" +ld < utilitiesLib +ld < miscLib + +# disable floating point exceptions +slsFppInit + +# next line allows to continue even if mounting of /ioc failed +cd bootInfo("%H:") +cd HOME + +# insert boot infos into database +bootNotify (INSTBASE, "sls/bin/iocBootNotify.sh") + +# try for user-defined menus scan and convert +dbLoadDatabase("dbd/scan.dbd") +dbLoadDatabase("dbd/convert.dbd") +dbLoadDatabase("dbd/slsConvert.dbd") + +#load standard drivers +require "base" + +#temporary, some drivers still don't have dependency files +require "slsDev" + +# setup clock +require "mrcevg" +require "mrcevr" +require "TSstat" +TSconfigure(0,20,1000,18323,18322,250,0) + +# end of R3.13 specific script diff --git a/EPICS_R3.13/startup.script_epicsdependent b/EPICS_R3.13/startup.script_epicsdependent new file mode 100644 index 0000000..b000cdd --- /dev/null +++ b/EPICS_R3.13/startup.script_epicsdependent @@ -0,0 +1,35 @@ +cd LIB + +# load EPICS system core +ld < iocCore +ld < seq + +# load EPICS tools like "require" +ld < utilitiesLib +ld < miscLib + +# disable floating point exceptions +slsFppInit + +# next line allows to continue even if mounting of /ioc failed +cd bootInfo("%H:") +cd HOME + +# insert boot infos into database +bootNotify (INSTBASE, "sls/bin/iocBootNotify.sh") + +# try for user-defined menus scan and convert +dbLoadDatabase("dbd/scan.dbd") +dbLoadDatabase("dbd/convert.dbd") +dbLoadDatabase("dbd/slsConvert.dbd") + +#load standard drivers +require "base" + +#temporary, some drivers still don't have dependency files +require "slsDev" + +# setup clock +TSconfigure(0,10,10,18323,18322,250,1) + +# end of R3.13 specific script diff --git a/EPICS_R3.14.8/startup.script_epicsdependent b/EPICS_R3.14.8/startup.script_epicsdependent new file mode 100644 index 0000000..a95c12d --- /dev/null +++ b/EPICS_R3.14.8/startup.script_epicsdependent @@ -0,0 +1,38 @@ +cd LIB + +# load EPICS system core +ld < iocCoreLibrary.munch + +# load EPICS tools like "require" +ld < utilitiesLib.munch +ld < miscLib.munch +misc_registerRecordDeviceDriver + +# disable floating point exceptions +slsFppInit + +# next line allows to continue even if mounting of /ioc failed +cd bootInfo("%H:") +cd HOME + +# insert boot infos into database +bootNotify (INSTBASE, "sls/bin/iocBootNotify.sh") + +# try for user-defined menus scan and convert +dbLoadDatabase("dbd/scan.dbd") +dbLoadDatabase("dbd/convert.dbd") +dbLoadDatabase("dbd/slsConvert.dbd") + +# load standard drivers +require "base" +require "symbDev" +require "seq" + +# setup clock +require "generalTime" +#EvtTimeConfigure(master?, sync_rate_sec, clock_rate_hz, master_port, slave_port, time_out_msec) +EvtTimeConfigure(0, 5, 500000, 18323, 18322, 250) + +AUTOSRHOST=bootHost() + +# end of R3.14.8 specific script diff --git a/makelinks b/makelinks index 47ca6ec..8f6ee0c 100755 --- a/makelinks +++ b/makelinks @@ -1,4 +1,4 @@ -ln -s R3.13 R3.13.9 -ln -s R3.13 R3.13.10 -ln -s R3.13.syncTS R3.13.9.syncTS -ln -s R3.13.syncTS R3.13.10.syncTS +ln -s EPICS_R3.13 EPICS_R3.13.9 +ln -s EPICS_R3.13 EPICS_R3.13.10 +ln -s EPICS_R3.13.syncTS EPICS_R3.13.9.syncTS +ln -s EPICS_R3.13.syncTS EPICS_R3.13.10.syncTS diff --git a/startup.script_common b/startup.script_common index fbce5b5..2a5a13d 100644 --- a/startup.script_common +++ b/startup.script_common @@ -55,7 +55,7 @@ sprintf (TEMPLATES, ".:%s/iocBoot/templates", INSTBASE) EXTENDED_MEMORY=sysPhysMemTop()-sysMemTop() #Load EPICS version dependent script -sprintf (STRINGBUFFER, "%s/iocBoot/startup/%s", INSTBASE, EPICS) +sprintf (STRINGBUFFER, "%s/iocBoot/startup/EPICS_%s", INSTBASE, EPICS) cd STRINGBUFFER < startup.script_epicsdependent