30 lines
693 B
Plaintext
30 lines
693 B
Plaintext
#- Example vxWorks startup file
|
|
|
|
#- The following is needed if your board support package doesn't at boot time
|
|
#- automatically cd to the directory containing its startup script
|
|
#cd "_TOP_/iocBoot/_IOC_"
|
|
|
|
< cdCommands
|
|
#< ../nfsCommands
|
|
|
|
cd topbin
|
|
|
|
## You may have to change _APPNAME_ to something else
|
|
## everywhere it appears in this file
|
|
ld 0,0, "_APPNAME_.munch"
|
|
|
|
## Register all support components
|
|
cd top
|
|
dbLoadDatabase "dbd/_APPNAME_.dbd"
|
|
_CSAFEAPPNAME__registerRecordDeviceDriver pdbbase
|
|
|
|
## Load record instances
|
|
#dbLoadTemplate "db/_APPNAME_.substitutions"
|
|
#dbLoadRecords "db/_APPNAME_.db", "user=_USER_"
|
|
|
|
cd startup
|
|
iocInit
|
|
|
|
## Start any sequence programs
|
|
#seq &sncxxx, "user=_USER_"
|