Skip to content

Commit 219f087

Browse files
committed
added AG33220A-02
1 parent 320d547 commit 219f087

File tree

5 files changed

+77
-0
lines changed

5 files changed

+77
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* AG33220A-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+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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=AG33220A-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)/AG33220A-IOC-01App/src/build.mak
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!../../bin/Windows-x64/AG33220A-IOC-02
2+
3+
#- You may have to change AG33220A-IOC-02 to something else
4+
#- everywhere it appears in this file
5+
6+
#< envPaths
7+
8+
## Register all support components
9+
dbLoadDatabase("../../dbd/AG33220A-IOC-02.dbd",0,0)
10+
AG33220A_IOC_02_registerRecordDeviceDriver(pdbbase)
11+
12+
## Load record instances
13+
dbLoadRecords("../../db/AG33220A-IOC-02.db","user=xup33938")
14+
15+
iocInit()
16+
17+
## Start any sequence programs
18+
#seq sncAG33220A-IOC-02,"user=xup33938"

0 commit comments

Comments
 (0)