Generation working and Compilation of MARTe components
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
#############################################################
|
||||
#
|
||||
# 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=JASourceChoiseGAM.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
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/FileSystem/L1Portability
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/FileSystem/L3Streams
|
||||
|
||||
|
||||
|
||||
all: $(OBJS) $(SUBPROJ) \
|
||||
$(BUILD_DIR)/JASourceChoiseGAM$(LIBEXT) \
|
||||
$(BUILD_DIR)/JASourceChoiseGAM$(DLLEXT)
|
||||
echo $(OBJS)
|
||||
|
||||
include $(MAKEDEFAULTDIR)/MakeStdLibRules.$(TARGET)
|
||||
@@ -0,0 +1,306 @@
|
||||
record (bo,"EC-GN-P01-GBF-MCPS:PSU2120-YTS-RUP")
|
||||
{
|
||||
field(DESC, "GY2 SCM rampup comp")
|
||||
field(ONAM, "ON")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "Passive")
|
||||
field(SIML, "EC-GN-P01-GBF:STAT-DO-SIMM")
|
||||
field(VAL, "0")
|
||||
field(ZNAM, "OFF")
|
||||
}
|
||||
|
||||
record (bo,"EC-GN-P01-GBF-MCPS:STAT-MANM")
|
||||
{
|
||||
field(DESC, "Manual Mode SW for GY2 MCPS")
|
||||
field(ONAM, "ON")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "Passive")
|
||||
field(VAL, "1")
|
||||
field(ZNAM, "OFF")
|
||||
}
|
||||
|
||||
record (bo,"EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
{
|
||||
field(DESC, "GY2 MCPS Simulation Mode SW")
|
||||
field(ONAM, "YES")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "Passive")
|
||||
field(VAL, "0")
|
||||
field(ZNAM, "NO")
|
||||
}
|
||||
|
||||
record (mbbi,"EC-GN-P01-GBF-MCPS:PSU2120-ACT-RB")
|
||||
{
|
||||
field(DESC, "GY2 MCPS read act")
|
||||
field(DTYP, "stream")
|
||||
field(FRST, "ZERO")
|
||||
field(FRSV, "NO_ALARM")
|
||||
field(FRVL, "4")
|
||||
field(INP, "@JASTEC-SCMPS.proto readActivity MC2")
|
||||
field(ONST, "SET")
|
||||
field(ONSV, "NO_ALARM")
|
||||
field(ONVL, "1")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
field(THST, "FLAT TOP")
|
||||
field(THSV, "NO_ALARM")
|
||||
field(THVL, "3")
|
||||
field(TWST, "DOWN")
|
||||
field(TWSV, "NO_ALARM")
|
||||
field(TWVL, "2")
|
||||
field(ZRST, "HOLD")
|
||||
field(ZRSV, "NO_ALARM")
|
||||
field(ZRVL, "0")
|
||||
}
|
||||
|
||||
record (mbbo,"EC-GN-P01-GBF-MCPS:PSU2120-ACT-SP")
|
||||
{
|
||||
field(DESC, "GY2 MCPS set ACT")
|
||||
field(DTYP, "stream")
|
||||
field(ONST, "SET")
|
||||
field(ONSV, "NO_ALARM")
|
||||
field(ONVL, "1")
|
||||
field(OUT, "@JASTEC-SCMPS.proto setActivity MC2")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "Passive")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
field(TWST, "DOWN")
|
||||
field(TWSV, "NO_ALARM")
|
||||
field(TWVL, "2")
|
||||
field(ZRST, "HOLD")
|
||||
field(ZRSV, "NO_ALARM")
|
||||
field(ZRVL, "0")
|
||||
}
|
||||
|
||||
record (mbbo,"EC-GN-P01-GBF-MCPS:PSU2120-ACT-SP-MI")
|
||||
{
|
||||
field(DESC, "GY2 MCPS ACT set to Marte")
|
||||
field(ONST, "SET")
|
||||
field(ONSV, "NO_ALARM")
|
||||
field(ONVL, "1")
|
||||
field(PINI, "NO")
|
||||
field(SCAN, "Passive")
|
||||
field(TWST, "DOWN")
|
||||
field(TWSV, "NO_ALARM")
|
||||
field(TWVL, "2")
|
||||
field(ZRST, "HOLD")
|
||||
field(ZRSV, "NO_ALARM")
|
||||
field(ZRVL, "0")
|
||||
}
|
||||
|
||||
record (mbbo,"EC-GN-P01-GBF-MCPS:PSU2120-ACT-SP-MO")
|
||||
{
|
||||
field(DESC, "GY2 MCPS ACT Marte outputs")
|
||||
field(FLNK, "EC-GN-P01-GBF-MCPS:STAT-ACT-SP-CALC")
|
||||
field(ONST, "SET")
|
||||
field(ONSV, "NO_ALARM")
|
||||
field(ONVL, "1")
|
||||
field(PINI, "NO")
|
||||
field(SCAN, "Passive")
|
||||
field(TWST, "DOWN")
|
||||
field(TWSV, "NO_ALARM")
|
||||
field(TWVL, "2")
|
||||
field(ZRST, "HOLD")
|
||||
field(ZRSV, "NO_ALARM")
|
||||
field(ZRVL, "0")
|
||||
}
|
||||
|
||||
record (ai,"EC-GN-P01-GBF-MCPS:PSU2120-CURR-MON")
|
||||
{
|
||||
field(DESC, "GY2 MCPS monitored current")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "A")
|
||||
field(HOPR, "125")
|
||||
field(INP, "@JASTEC-SCMPS.proto readMeasCurrent MC2")
|
||||
field(LOPR, "-125")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
}
|
||||
|
||||
record (waveform,"EC-GN-P01-GBF-MCPS:PSU2120-ERR")
|
||||
{
|
||||
field(DESC, "GY2 MCPS read error")
|
||||
field(DTYP, "stream")
|
||||
field(INP, "@JASTEC-SCMPS.proto readErrStat MC2")
|
||||
field(NELM, "15")
|
||||
field(PINI, "YES")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
}
|
||||
|
||||
record (ai,"EC-GN-P01-GBF-MCPS:PSU2120-SWP-LIM")
|
||||
{
|
||||
field(DESC, "GY2 MCPS read sweep limit")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "A/min")
|
||||
field(HOPR, "99.99")
|
||||
field(INP, "@JASTEC-SCMPS.proto readSweepLim MC2")
|
||||
field(LOPR, "0.01")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
}
|
||||
|
||||
record (ai,"EC-GN-P01-GBF-MCPS:PSU2120-SWP-RB")
|
||||
{
|
||||
field(DESC, "GY2 MCPS read targ sweep rate")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "A/min")
|
||||
field(HOPR, "99.99")
|
||||
field(INP, "@JASTEC-SCMPS.proto readTargSweep MC2")
|
||||
field(LOPR, "0.01")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
}
|
||||
|
||||
record (ai,"EC-GN-P01-GBF-MCPS:PSU2120-TRG-CURR-RB")
|
||||
{
|
||||
field(DESC, "GY2 MCPS read target current")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "A")
|
||||
field(HOPR, "120")
|
||||
field(INP, "@JASTEC-SCMPS.proto readTargCurrent MC2")
|
||||
field(LOPR, "0")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
}
|
||||
|
||||
record (ao,"EC-GN-P01-GBF-MCPS:PSU2120-TRG-CURR-SET")
|
||||
{
|
||||
field(DESC, "GY2 MCPS set target current")
|
||||
field(DRVH, "120")
|
||||
field(DRVL, "0")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "A")
|
||||
field(FLNK, "EC-GN-P01-GBF-MCPS:PSU2120-ACT-SP")
|
||||
field(HOPR, "125")
|
||||
field(LOPR, "0")
|
||||
field(OUT, "@JASTEC-SCMPS.proto setCurrent MC2")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "3")
|
||||
field(SCAN, "Passive")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
record (ao,"EC-GN-P01-GBF-MCPS:PSU2120-TRG-CURR-SET-MI")
|
||||
{
|
||||
field(DESC, "GY2 MCPS target current input to Marte")
|
||||
field(DRVH, "120")
|
||||
field(DRVL, "-120")
|
||||
field(EGU, "A")
|
||||
field(HOPR, "125")
|
||||
field(LOPR, "-125")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "3")
|
||||
field(SCAN, "Passive")
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
record (ao,"EC-GN-P01-GBF-MCPS:PSU2120-TRG-CURR-SET-MO")
|
||||
{
|
||||
field(DESC, "GY2 MCPS target current Marte outputs")
|
||||
field(DRVH, "120")
|
||||
field(DRVL, "-120")
|
||||
field(EGU, "A")
|
||||
field(FLNK, "EC-GN-P01-GBF-MCPS:STAT-TRG-CURR-SET-CALC")
|
||||
field(HOPR, "125")
|
||||
field(LOPR, "-125")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "3")
|
||||
field(SCAN, "Passive")
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
record (ao,"EC-GN-P01-GBF-MCPS:PSU2120-TRG-SWPR-SET")
|
||||
{
|
||||
field(DESC, "GY2 MCPS set target swwp rate")
|
||||
field(DRVH, "5.0")
|
||||
field(DRVL, "0.01")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "A/min")
|
||||
field(HOPR, "99.99")
|
||||
field(LOPR, "0.01")
|
||||
field(OUT, "@JASTEC-SCMPS.proto setSweep MC2")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "Passive")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
field(VAL, "1.69")
|
||||
}
|
||||
|
||||
record (ai,"EC-GN-P01-GBF-MCPS:PSU2120-VOLT-MON")
|
||||
{
|
||||
field(DESC, "GY2 MCPS monitored voltage")
|
||||
field(DTYP, "stream")
|
||||
field(EGU, "V")
|
||||
field(HOPR, "10")
|
||||
field(INP, "@JASTEC-SCMPS.proto readMeasVoltage MC2")
|
||||
field(LOPR, "-10")
|
||||
field(PINI, "YES")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "1 second")
|
||||
field(SIML, "EC-GN-P01-GBF-MCPS:STAT-SIMM")
|
||||
}
|
||||
|
||||
record (calcout,"EC-GN-P01-GBF-MCPS:STAT-ACT-SP-CALC")
|
||||
{
|
||||
field(CALC, "A")
|
||||
field(DESC, "MCPS#2 state set by Marte")
|
||||
field(INPA, "EC-GN-P01-GBF-MCPS:PSU2120-ACT-SP-MO")
|
||||
field(OOPT, "On Change")
|
||||
field(OUT, "EC-GN-P01-GBF-MCPS:PSU2120-ACT-SP PP")
|
||||
field(SCAN, "Passive")
|
||||
}
|
||||
|
||||
record (waveform,"EC-GN-P01-GBF-MCPS:STAT-PREP-WF")
|
||||
{
|
||||
field(DESC, "GY2 MCPS prepro schedule")
|
||||
field(EGU, "A")
|
||||
field(FTVL, "FLOAT")
|
||||
field(NELM, "8000")
|
||||
field(PINI, "NO")
|
||||
field(PREC, "2")
|
||||
field(SCAN, "Passive")
|
||||
}
|
||||
|
||||
record (calcout,"EC-GN-P01-GBF-MCPS:STAT-RAMPUP-CMP")
|
||||
{
|
||||
field(CALC, "(A==3 andand B==3)?1:0")
|
||||
field(DESC, "GYB SMCPS rampup check")
|
||||
field(FLNK, "EC-GN-P01-GBF-MCPS:PSU2120-YTS-RUP")
|
||||
field(INPA, "EC-GN-P01-GBF-MCPS:PSU2120-ACT-RB")
|
||||
field(INPB, "EC-GN-P01-GBF-GCPS:PSU2130-ACT-RB")
|
||||
field(OOPT, "When Non-zero")
|
||||
field(OUT, "EC-GN-P01-GBF-MCPS:PSU2120-YTS-RUP")
|
||||
field(SCAN, "1 second")
|
||||
}
|
||||
|
||||
record (calcout,"EC-GN-P01-GBF-MCPS:STAT-RAMPUP-OFF")
|
||||
{
|
||||
field(CALC, "A==0?0:1")
|
||||
field(DESC, "GYB MC GC rampup comp off")
|
||||
field(INPA, "EC-GN-P01-GPS:PLC4110-YTS-ST1R")
|
||||
field(OOPT, "When Zero")
|
||||
field(OUT, "EC-GN-P01-GBF-MCPS:PSU2120-YTS-RUP PP")
|
||||
field(SCAN, "1 second")
|
||||
}
|
||||
|
||||
record (calcout,"EC-GN-P01-GBF-MCPS:STAT-TRG-CURR-SET-CALC")
|
||||
{
|
||||
field(CALC, "A")
|
||||
field(DESC, "MCPS#2 current set by Marte")
|
||||
field(INPA, "EC-GN-P01-GBF-MCPS:PSU2120-TRG-CURR-SET-MO")
|
||||
field(OOPT, "On Change")
|
||||
field(OUT, "EC-GN-P01-GBF-MCPS:PSU2120-TRG-CURR-SET PP")
|
||||
field(SCAN, "Passive")
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
#############################################################
|
||||
#
|
||||
# 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=JARampupGAM.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
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/FileSystem/L1Portability
|
||||
INCLUDES += -I$(MARTe2_DIR)/Source/Core/FileSystem/L3Streams
|
||||
|
||||
|
||||
|
||||
all: $(OBJS) $(SUBPROJ) \
|
||||
$(BUILD_DIR)/JARampupGAM$(LIBEXT) \
|
||||
$(BUILD_DIR)/JARampupGAM$(DLLEXT)
|
||||
echo $(OBJS)
|
||||
|
||||
include $(MAKEDEFAULTDIR)/MakeStdLibRules.$(TARGET)
|
||||
Reference in New Issue
Block a user