Skip to content

Commit

Permalink
example iocsh
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Feb 15, 2016
1 parent 07448a1 commit 28eaa23
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions exploreApp/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DBD += explore.dbd
# explore.dbd will be made up from these files:
explore_DBD += base.dbd
explore_DBD += system.dbd
explore_DBD += epicspci.dbd
explore_DBD += exploreSupport.dbd

# explore_registerRecordDeviceDriver.cpp derives from explore.dbd
Expand Down
6 changes: 6 additions & 0 deletions iocBoot/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TOP = ..
include $(TOP)/configure/CONFIG
DIRS += $(wildcard *ioc*)
DIRS += $(wildcard as*)
include $(CONFIG)/RULES_DIRS

5 changes: 5 additions & 0 deletions iocBoot/iocpci/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TOP = ../..
include $(TOP)/configure/CONFIG
ARCH = linux-x86_64
TARGETS = envPaths
include $(TOP)/configure/RULES.ioc
15 changes: 15 additions & 0 deletions iocBoot/iocpci/st.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!../../bin/linux-x86_64/explore

## You may have to change explore to something else
## everywhere it appears in this file

#< envPaths

## Register all support components
dbLoadDatabase("../../dbd/explore.dbd",0,0)
explore_registerRecordDeviceDriver(pdbbase)

## Load record instances
##dbLoadRecords("../../db/explore.db","")

iocInit()

0 comments on commit 28eaa23

Please sign in to comment.