diff --git a/startup.script_common b/startup.script_common index 0cb6958..4323748 100644 --- a/startup.script_common +++ b/startup.script_common @@ -30,12 +30,20 @@ sprintf (STREAM_PROTOCOL_DIR, "%s/cfg", HOME) LIB=malloc(80) sprintf (LIB, "%s/iocBoot/%s/%s", INSTBASE, EPICS, ARCH) +DBD=malloc(80) +sprintf (DBD, "dbd:%s/iocBoot/%s/dbd", INSTBASE, EPICS) + +sprintf (STRINGBUFFER, "EPICS_DRIVER_PATH=.:bin:snl:%s", LIB) +putenv (STRINGBUFFER) + TEMPLATES=malloc(80) sprintf (TEMPLATES, ".:%s/iocBoot/templates", INSTBASE) -# Memory above 32 MB is blocked to avoid relocation problem -# Release it after libs are loaded and before iocInit -# Code loaded afer iocInit must be compiled with -mlongcall +# time server (must be set before any drivers are configured) +putenv("EPICS_TS_NTP_INET=129.129.190.1") + +# Release memory above 32 MB +# Code loaded after this must be compiled with -mlongcall EXTENDED_MEMORY=sysPhysMemTop()-sysMemTop() #Load EPICS version dependent script