Skip to content

Commit

Permalink
Import from QD's example IOC for PandABlocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperVector committed Jan 3, 2022
1 parent d23b52c commit 8def85f
Show file tree
Hide file tree
Showing 20 changed files with 984 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ O.*
.project
RemoteSystemsTempFiles/
bin/
iocs/
documentation/
data/
db/
dbd/
Expand Down
16 changes: 16 additions & 0 deletions iocs/pandaIOC/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was automatically generated on Fri 07 Jun 2019 12:12:09 BST from
# source: /dls_sw/prod/R3.14.12.7/support/ADPandABlocks/4-4/etc/makeIocs/example.xml
#
# *** Please do not edit this file: edit the source file instead. ***
#
TOP = .
include $(TOP)/configure/CONFIG

DIRS += configure
DIRS += exampleApp/Db
DIRS += exampleApp/src
DIRS += iocBoot/iocexample
DIRS += exampleApp/opi/edl

include $(TOP)/configure/RULES_TOP

30 changes: 30 additions & 0 deletions iocs/pandaIOC/configure/CONFIG
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# CONFIG - Load build configuration data
#
# Do not make changes to this file!

# Allow user to override where the build rules come from
RULES = $(EPICS_BASE)

# RELEASE files point to other application tops
include $(TOP)/configure/RELEASE
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).Common
ifdef T_A
-include $(TOP)/configure/RELEASE.Common.$(T_A)
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
endif

CONFIG = $(RULES)/configure
include $(CONFIG)/CONFIG
-include $(CONFIG)/CONFIG.Dls

# Override the Base definition:
INSTALL_LOCATION = $(TOP)

# CONFIG_SITE files contain other build configuration settings
include $(TOP)/configure/CONFIG_SITE
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
ifdef T_A
-include $(TOP)/configure/CONFIG_SITE.Common.$(T_A)
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
endif

46 changes: 46 additions & 0 deletions iocs/pandaIOC/configure/CONFIG_SITE
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# CONFIG_SITE

# Make any application-specific changes to the EPICS build
# configuration variables in this file.
#
# Host/target specific settings can be specified in files named
# CONFIG_SITE.$(EPICS_HOST_ARCH).Common
# CONFIG_SITE.Common.$(T_A)
# CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)

# CHECK_RELEASE controls the consistency checking of the support
# applications pointed to by the RELEASE* files.
# Normally CHECK_RELEASE should be set to YES.
# Set CHECK_RELEASE to NO to disable checking completely.
# Set CHECK_RELEASE to WARN to perform consistency checking but
# continue building even if conflicts are found.
CHECK_RELEASE = YES

# Set this when you only want to compile this application
# for a subset of the cross-compiled target architectures
# that Base is built for.
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-ppc32

# To install files into a location other than $(TOP) define
# INSTALL_LOCATION here.
#INSTALL_LOCATION=</absolute/path/to/install/top>

# Set this when the IOC and build host use different paths
# to the install location. This may be needed to boot from
# a Microsoft FTP server say, or on some NFS configurations.
#IOCS_APPL_TOP = </IOC's/absolute/path/to/install/top>

# These allow developers to override the CONFIG_SITE variable
# settings without having to modify the configure/CONFIG_SITE
# file itself.
-include $(TOP)/../CONFIG_SITE.local
-include $(TOP)/configure/CONFIG_SITE.local

# This file was automatically generated on Fri 07 Jun 2019 12:12:08 BST from
# source: /dls_sw/prod/R3.14.12.7/support/ADPandABlocks/4-4/etc/makeIocs/example.xml
#
# *** Please do not edit this file: edit the source file instead. ***
#
CROSS_COMPILER_TARGET_ARCHS =
CHECK_RELEASE = YES

8 changes: 8 additions & 0 deletions iocs/pandaIOC/configure/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
TOP=..

include $(TOP)/configure/CONFIG

TARGETS = $(CONFIG_TARGETS)
CONFIGS += $(subst ../,,$(wildcard $(CONFIG_INSTALLS)))

include $(TOP)/configure/RULES
15 changes: 15 additions & 0 deletions iocs/pandaIOC/configure/RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file was automatically generated on Fri 07 Jun 2019 12:12:08 BST from
# source: /dls_sw/prod/R3.14.12.7/support/ADPandABlocks/4-4/etc/makeIocs/example.xml
#
# *** Please do not edit this file: edit the source file instead. ***
#
# Common prefixes
SUPPORT = /dls_sw/prod/R3.14.12.7/support
# Module definitions
ADCORE = $(SUPPORT)/ADCore/3-4dls2
ADPANDABLOCKS = $(SUPPORT)/ADPandABlocks/4-4
ADSUPPORT = $(SUPPORT)/ADSupport/1-4
ASYN = $(SUPPORT)/asyn/4-34
BUSY = $(SUPPORT)/busy/1-7dls1
# EPICS Base appears last
EPICS_BASE = /dls_sw/epics/R3.14.12.7/base
7 changes: 7 additions & 0 deletions iocs/pandaIOC/configure/RULES
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# RULES

-include $(CONFIG)/RULES.Dls
include $(CONFIG)/RULES

# Library should be rebuilt because LIBOBJS may have changed.
$(LIBNAME): ../Makefile
2 changes: 2 additions & 0 deletions iocs/pandaIOC/configure/RULES.ioc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#RULES.ioc
include $(CONFIG)/RULES.ioc
2 changes: 2 additions & 0 deletions iocs/pandaIOC/configure/RULES_DIRS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#RULES_DIRS
include $(CONFIG)/RULES_DIRS
3 changes: 3 additions & 0 deletions iocs/pandaIOC/configure/RULES_TOP
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#RULES_TOP
include $(CONFIG)/RULES_TOP

13 changes: 13 additions & 0 deletions iocs/pandaIOC/exampleApp/Db/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was automatically generated on Fri 07 Jun 2019 12:12:09 BST from
# source: /dls_sw/prod/R3.14.12.7/support/ADPandABlocks/4-4/etc/makeIocs/example.xml
#
# *** Please do not edit this file: edit the source file instead. ***
#
TOP = ../..
include $(TOP)/configure/CONFIG

PATH := $(PATH):/dls_sw/epics/R3.14.12.7/extensions/bin/linux-x86_64
DB += example_expanded.db

include $(TOP)/configure/RULES

Loading

0 comments on commit 8def85f

Please sign in to comment.