File tree Expand file tree Collapse file tree 6 files changed +83
-0
lines changed
iocBoot/iocFZJDDFCH-IOC-02 Expand file tree Collapse file tree 6 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 1+ TOP =../..
2+ include $(TOP ) /configure/CONFIG
3+ # ----------------------------------------
4+ # ADD MACRO DEFINITIONS AFTER THIS LINE
5+
6+ # ----------------------------------------------------
7+ # Create and install (or just install) into <top>/db
8+ # databases, templates, substitutions like this
9+ # DB += xxx.db
10+
11+ # ----------------------------------------------------
12+ # If <anyname>.db template is not named <anyname>*.template add
13+ # <anyname>_template = <templatename>
14+
15+ include $(TOP ) /configure/RULES
16+ # ----------------------------------------
17+ # ADD RULES AFTER THIS LINE
18+
Original file line number Diff line number Diff line change 1+ TOP = ..
2+ include $(TOP ) /configure/CONFIG
3+ DIRS := $(DIRS ) $(filter-out $(DIRS ) , $(wildcard * src* ) )
4+ DIRS := $(DIRS ) $(filter-out $(DIRS ) , $(wildcard * Src* ) )
5+ DIRS := $(DIRS ) $(filter-out $(DIRS ) , $(wildcard * db* ) )
6+ DIRS := $(DIRS ) $(filter-out $(DIRS ) , $(wildcard * Db* ) )
7+ DIRS := $(DIRS ) $(filter-out $(DIRS ) , $(wildcard * protocol* ) )
8+ include $(TOP ) /configure/RULES_DIRS
9+
Original file line number Diff line number Diff line change 1+ /* FZJDDFCH-IOC-02Main.cpp */
2+ /* Author: Marty Kraimer Date: 17MAR2000 */
3+
4+ #include < stddef.h>
5+ #include < stdlib.h>
6+ #include < stddef.h>
7+ #include < string.h>
8+ #include < stdio.h>
9+
10+ #include " epicsExit.h"
11+ #include " epicsThread.h"
12+ #include " iocsh.h"
13+
14+ int main (int argc,char *argv[])
15+ {
16+ if (argc>=2 ) {
17+ iocsh (argv[1 ]);
18+ epicsThreadSleep (.2 );
19+ }
20+ iocsh (NULL );
21+ epicsExit (0 );
22+ return (0 );
23+ }
Original file line number Diff line number Diff line change 1+ TOP =../..
2+ # This file should do very little - it's purpose is to set the APPNAME and then load build.mak
3+
4+ # this definition is used in build.mak
5+ APPNAME =FZJDDFCH-IOC-02
6+
7+ # If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory
8+ # there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory
9+ include $(TOP ) /FZJDDFCH-IOC-01App/src/build.mak
Original file line number Diff line number Diff line change 1+ TOP = ../..
2+ include $(TOP ) /configure/CONFIG
3+ # ARCH = windows-x64-debug
4+ ARCH = $(EPICS_HOST_ARCH )
5+ TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh
6+ include $(TOP ) /configure/RULES.ioc
Original file line number Diff line number Diff line change 1+ #!../../bin/windows-x64-debug/FZJDDFCH-IOC-02
2+
3+ ## You may have to change FZJDDFCH-IOC-02 to something else
4+ ## everywhere it appears in this file
5+
6+ # Increase this if you get << TRUNCATED>> or discarded messages warnings in your errlog output
7+ errlogInit2(65536, 256)
8+
9+ < envPaths
10+
11+ cd " ${TOP}"
12+
13+ ## Register all support components
14+ dbLoadDatabase " dbd/FZJDDFCH-IOC-02.dbd"
15+ FZJDDFCH_IOC_02_registerRecordDeviceDriver pdbbase
16+
17+ ## call ing common command file in ioc 01 boot dir
18+ < ${TOP}/iocBoot/ioc_01_APP_NAME_/st-common.cmd
You can’t perform that action at this time.
0 commit comments