Commit 259e5b7a authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add -allboards when calling DMT

parent f51b34e2
Pipeline #2518 failed with stage
in 4 minutes and 4 seconds
......@@ -22,7 +22,7 @@
@_LOWER:Node_Name_@_simu: @_LOWER:REPLACE_ALL(,/):Partition_Names_@ DriversConfig/drivers_config.h simulation.asn
asn2dataModel -toAda -o ../dataview/Ada simulation.asn ../dataview/dataview-uniq.asn
asn2dataModel -toAda -allboards -o ../dataview/Ada simulation.asn ../dataview/dataview-uniq.asn
$(MAKE) -j -C @_Node_Name_@ -f Makefile.@_Node_Name_@ simulate
# Force build of node @_Node_Name_@ for RTEMS
......
......@@ -14,7 +14,7 @@
@@-- to the same file generated at different places The python code checks
@@-- that when this happens only one _datamodel.asn file is kept to avoid
@@-- an error that would otherwise be raised by asn2dataModel
@@INLINE( args=$$\(python3 -c "import os, sys; print\(' '.join\({os.path.basename\(f\):f for f in sys.argv[1:]}.values\(\)\)\)" )( )(\); \\\n mkdir -p ..\/dataview\/Ada; find $$args && asn2dataModel -toAda -o ..\/dataview\/Ada $$args || echo 'Ignore this error if you are using the OpenGEODE C Backend')@@
@@INLINE( args=$$\(python3 -c "import os, sys; print\(' '.join\({os.path.basename\(f\):f for f in sys.argv[1:]}.values\(\)\)\)" )( )(\); \\\n mkdir -p ..\/dataview\/Ada; find $$args && asn2dataModel -toAda -allboards -o ..\/dataview\/Ada $$args || echo 'Ignore this error if you are using the OpenGEODE C Backend')@@
@@TABLE@@
@@IF@@ @_Block_Languages_@ = SDL
@@-- Use wildcard because in the case of the SDL to C backend the _datamodel files are not generated (yet)
......
......@@ -137,7 +137,7 @@ ${DATAVIEW_AADLV2}: ${DATAVIEW_UNIQ}
@@TABLE@@
@@IF@@ not @_Is_Type_@
@_LOWER:Function_Names_@/@_Language_@/wrappers/aadl2glueC_built: @_LOWER:Function_Names_@/@_Language_@/wrappers/@_LOWER:Function_Names_@_mini_cv.aadl ${DATAVIEW_AADLV1}
aadl2glueC -o $(dir $@) $^
aadl2glueC -allboards -o $(dir $@) $^
touch $@
@@END_IF@@
......@@ -211,7 +211,7 @@ dataview/C/built: ${DATAVIEW_UNIQ} ${DATAVIEW_ACN} ${CP_FILES}
touch $@
@@ELSE@@
dataview/@_Unique_Languages_@/built: ${DATAVIEW_UNIQ} # no context parameters except for C and Ada
mkdir -p $(dir $@) && asn2dataModel -o $(dir $@) -to@_Unique_Languages_@ $^
mkdir -p $(dir $@) && asn2dataModel -allboards -o $(dir $@) -to@_Unique_Languages_@ $^
touch $@
@@END_IF@@
@@END_TABLE@@
......@@ -219,7 +219,7 @@ dataview/@_Unique_Languages_@/built: ${DATAVIEW_UNIQ} # no context parameters ex
@@IF@@ @_Need_Ada_@=TRUE
dataview/Ada/built: ${DATAVIEW_UNIQ} ${CP_FILES}
mkdir -p $(dir $@)
asn2dataModel -o $(dir $@) -toAda $^
asn2dataModel -allboards -o $(dir $@) -toAda $^
touch $@
cd dataview/Ada && rm -f gnat.cfg GPS_project.gpr IgnoredExaminerWarnings.wrn runSpark.sh
@@END_IF@@
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment