Generation working and Compilation of MARTe components
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
#############################################################
|
||||
#
|
||||
# Copyright 2015 F4E | European Joint Undertaking for ITER
|
||||
# and the Development of Fusion Energy ('Fusion for Energy')
|
||||
#
|
||||
# Licensed under the EUPL, Version 1.1 or - as soon they
|
||||
# will be approved by the European Commission - subsequent
|
||||
# versions of the EUPL (the "Licence");
|
||||
# You may not use this work except in compliance with the
|
||||
# Licence.
|
||||
# You may obtain a copy of the Licence at:
|
||||
#
|
||||
# http://ec.europa.eu/idabc/eupl
|
||||
#
|
||||
# Unless required by applicable law or agreed to in
|
||||
# writing, software distributed under the Licence is
|
||||
# distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
# express or implied.
|
||||
# See the Licence for the specific language governing
|
||||
# permissions and limitations under the Licence.
|
||||
#
|
||||
# $Id: Makefile.inc 3 2012-01-15 16:26:07Z aneto $
|
||||
#
|
||||
#############################################################
|
||||
OBJSX=JAConditionalSignalUpdateGAM.x
|
||||
|
||||
PACKAGE=GAMs
|
||||
|
||||
ROOT_DIR=../../../obj
|
||||
MAKEDEFAULTDIR=$(MARTe2_DIR)/MakeDefaults
|
||||
include $(MAKEDEFAULTDIR)/MakeStdLibDefs.$(TARGET)
|
||||
|
||||
INCLUDES += -I.
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L0Types
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L1Portability
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L2Objects
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L3Streams
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L4Messages
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L4Configuration
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/BareMetal/L5GAMs
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/Scheduler/L1Portability
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/Scheduler/L3Services
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/Scheduler/L4Messages
|
||||
|
||||
|
||||
all: $(OBJS) $(SUBPROJ) \
|
||||
$(BUILD_DIR)/JAConditionalSignalUpdateGAM$(LIBEXT) \
|
||||
$(BUILD_DIR)/JAConditionalSignalUpdateGAM$(DLLEXT)
|
||||
echo $(OBJS)
|
||||
|
||||
include $(MAKEDEFAULTDIR)/MakeStdLibRules.$(TARGET)
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
############################################################################
|
||||
## Save and restore
|
||||
############################################################################
|
||||
|
||||
### save_restore setup
|
||||
# status-PV prefix
|
||||
save_restoreSet_status_prefix("$(AUTOSAVE_SYSM_PV_PREFIX)")
|
||||
|
||||
# Use status-PV
|
||||
save_restoreSet_UseStatusPVs(1)
|
||||
|
||||
# Debug-output level
|
||||
save_restoreSet_Debug(0)
|
||||
|
||||
# Ok to save/restore save sets with missing values (no CA connection to PV)?
|
||||
save_restoreSet_IncompleteSetsOk(1)
|
||||
# Save dated backup files?
|
||||
save_restoreSet_DatedBackupFiles(1)
|
||||
|
||||
# Number of sequenced backup files to write
|
||||
save_restoreSet_NumSeqFiles(3)
|
||||
# Time interval between sequenced backups
|
||||
save_restoreSet_SeqPeriodInSeconds(300)
|
||||
|
||||
# specify where save files should be
|
||||
set_savefile_path("$(EPICS_AUTOSAVE_VAR)/$(UNIT_NAME)")
|
||||
|
||||
# specify what save files should be restored. Note these files must be
|
||||
# in the directory specified in set_savefile_path(), or, if that function
|
||||
# has not been called, from the directory current when iocInit is invoked
|
||||
|
||||
# Save files associated with the request files 'auto-output.req' and
|
||||
# 'auto-input.req'. These files are the standard way to use autosave
|
||||
|
||||
set_pass1_restoreFile(".sav")
|
||||
|
||||
# specify directories in which to to search for included request files
|
||||
set_requestfile_path("./")
|
||||
|
||||
dbLoadRecords("$(EPICS_ROOT)/db/save_restoreStatus.db", "P=$(AUTOSAVE_SYSM_PV_PREFIX)")
|
||||
|
||||
#- End-of-file marker - do not delete or add lines below!
|
||||
Reference in New Issue
Block a user