major changes for new makwBaseApp
This commit is contained in:
4
src/makeBaseApp/top/exampleBoot/Makefile
Normal file
4
src/makeBaseApp/top/exampleBoot/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
TOP = ..
|
||||
include $(TOP)/config/CONFIG_APP
|
||||
DIRS += $(wildcard *ioc*)
|
||||
include $(TOP)/config/RULES.iocBoot
|
||||
4
src/makeBaseApp/top/exampleBoot/ioc/Makefile
Normal file
4
src/makeBaseApp/top/exampleBoot/ioc/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
TOP = ../..
|
||||
include $(TOP)/config/CONFIG_APP
|
||||
ARCH = _ARCH_
|
||||
include $(TOP)/config/RULES.ioc
|
||||
17
src/makeBaseApp/top/exampleBoot/ioc/st.cmd
Normal file
17
src/makeBaseApp/top/exampleBoot/ioc/st.cmd
Normal file
@@ -0,0 +1,17 @@
|
||||
# Example vxWorks startup file
|
||||
|
||||
# Following must be added for many board support packages
|
||||
#cd <full path to target bin directory>
|
||||
|
||||
< cdcmds
|
||||
|
||||
cd appbin
|
||||
ld < iocCore
|
||||
ld < seq
|
||||
ld < exampleLib
|
||||
|
||||
cd startup
|
||||
dbLoadDatabase("../../dbd/exampleApp.dbd")
|
||||
dbLoadRecords("../../exampleApp/Db/dbExample.db","user=_USER_")
|
||||
iocInit
|
||||
seq &snctest
|
||||
28
src/makeBaseApp/top/exampleBoot/nfsCommands
Normal file
28
src/makeBaseApp/top/exampleBoot/nfsCommands
Normal file
@@ -0,0 +1,28 @@
|
||||
#Instructions for creating and using a real nfsCommands file
|
||||
#
|
||||
# in order to use nfs do the following:
|
||||
# 1) Create hostAdd and nfsMountAll commands for each nfs server
|
||||
# 2) In each st.cmd file add the following two commands BEFORE any load commands
|
||||
# ../nfs.cmd
|
||||
# cd "<iocname>
|
||||
#
|
||||
# The hostAdd and nfsMountAll commands have the form:
|
||||
# hostAdd("<host>","xxx.xxx.xxx.xxx")
|
||||
# nfsMountAll("<host>")
|
||||
#
|
||||
# You can also mount subdirectories as follows:
|
||||
# nfsMount("<host>", "/xxx/xxx/xxx", "/xxx")
|
||||
#
|
||||
# For example assume
|
||||
#
|
||||
# host is mercury with inet address 155.77.2.56
|
||||
# You want to mount the directory (which is a file system of mercury)
|
||||
# /home/mercury5/iocinfo
|
||||
# as
|
||||
# /iocinfo
|
||||
#
|
||||
# The commands would be
|
||||
#
|
||||
# hostAdd("mercury","155.77.2.56")
|
||||
# nfsMountAll("mercury")
|
||||
# nfsMount("mercury","/home/mercury5/iocinfo","/iocinfo")
|
||||
Reference in New Issue
Block a user