Added envPaths functionality, and using these variables in st.cmd files
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#nothing to do
|
||||
ARCH = _ARCH_
|
||||
TARGETS = envPaths
|
||||
include $(TOP)/configure/RULES.ioc
|
||||
|
||||
@@ -3,20 +3,25 @@
|
||||
## You may have to change _APPNAME_ to something else
|
||||
## everywhere it appears in this file
|
||||
|
||||
< envPaths
|
||||
|
||||
cd ${TOP}
|
||||
|
||||
## Register all support components
|
||||
dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0)
|
||||
dbLoadDatabase("dbd/_APPNAME_.dbd",0,0)
|
||||
_APPNAME__registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
## Load record instances
|
||||
dbLoadRecords("../../db/dbExample1.db","user=_USER_Host")
|
||||
dbLoadRecords("../../db/dbExample2.db","user=_USER_Host,no=1,scan=1 second")
|
||||
dbLoadRecords("../../db/dbExample2.db","user=_USER_Host,no=2,scan=2 second")
|
||||
dbLoadRecords("../../db/dbExample2.db","user=_USER_Host,no=3,scan=5 second")
|
||||
dbLoadRecords("../../db/dbSubExample.db","user=_USER_Host")
|
||||
dbLoadRecords("db/dbExample1.db","user=_USER_Host")
|
||||
dbLoadRecords("db/dbExample2.db","user=_USER_Host,no=1,scan=1 second")
|
||||
dbLoadRecords("db/dbExample2.db","user=_USER_Host,no=2,scan=2 second")
|
||||
dbLoadRecords("db/dbExample2.db","user=_USER_Host,no=3,scan=5 second")
|
||||
dbLoadRecords("db/dbSubExample.db","user=_USER_Host")
|
||||
|
||||
## Set this to see messages from mySub
|
||||
#var mySubDebug 1
|
||||
|
||||
cd ${TOP}/iocBoot/${IOC}
|
||||
iocInit()
|
||||
|
||||
## Start any sequence programs
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
## You may have to change _APPNAME_ to something else
|
||||
## everywhere it appears in this file
|
||||
|
||||
#< envPaths
|
||||
|
||||
## Register all support components
|
||||
dbLoadDatabase("dbd/_APPNAME_.dbd",0,0)
|
||||
_APPNAME__registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
Reference in New Issue
Block a user