Commit b04bdf41 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Use different deployments for different platforms

parent a4eab3bd
---------------------------------------------------
-- AADL2.2
-- TASTE type deploymentview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE deploymentview::DV::leon3
PUBLIC
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
WITH deploymentview::DV;
WITH Memory_Properties;
WITH ARINC653;
PROCESS demo_c
END demo_c;
PROCESS IMPLEMENTATION demo_c.others
END demo_c.others;
END deploymentview::DV::leon3;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV::Simple_C_Function;
WITH ocarina_processors_leon;
WITH deploymentview::DV::leon3;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM leon3
END leon3;
SYSTEM IMPLEMENTATION leon3.others
SUBCOMPONENTS
IV_Simple_C_Function : SYSTEM interfaceview::IV::Simple_C_Function::Simple_C_Function.others {
Taste::FunctionName => "Simple_C_Function";
};
demo_c : PROCESS deploymentview::DV::leon3::demo_c.others {
Taste::coordinates => "1146 814 1852 1223";
Deployment::Port_Number => 0;
};
leon3_rtems51_posix : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix {
Taste::coordinates => "1053 697 1935 1281";
};
PROPERTIES
Taste::APLC_Binding => (reference (demo_c)) APPLIES TO IV_Simple_C_Function;
Actual_Processor_Binding => (reference (leon3_rtems51_posix)) APPLIES TO demo_c;
END leon3.others;
SYSTEM deploymentview
END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
leon3 : SYSTEM leon3.others {
Taste::coordinates => "943 530 2045 1364";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
END deploymentview.others;
PROPERTIES
Taste::coordinates => "0 0 2970 2100";
Taste::version => "2.4";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("../../../../tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
......@@ -24,7 +24,7 @@ END PI_cyclic_operation.others;
SYSTEM Simple_C_Function
FEATURES
PI_cyclic_operation : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::Simple_C_Function::PI_cyclic_operation.others {
Taste::coordinates => "1012 644";
Taste::coordinates => "1009 658";
Taste::RCMoperationKind => cyclic;
Taste::RCMperiod => 2000 ms;
Taste::Deadline => 2000 ms;
......@@ -56,7 +56,7 @@ END interfaceview;
SYSTEM IMPLEMENTATION interfaceview.others
SUBCOMPONENTS
Simple_C_Function : SYSTEM interfaceview::IV::Simple_C_Function::Simple_C_Function.others {
Taste::coordinates => "1012 492 1676 1181";
Taste::coordinates => "1009 506 1673 1195";
};
END interfaceview.others;
......
......@@ -15,19 +15,19 @@ all: c ada rtems
ada:
rm -rf output.ada
$(KAZOO) --gw -o output.ada --glue --debug
$(KAZOO) -c DeploymentView_Native.aadl --gw -o output.ada --glue --debug
cp simple_c_function/*.c output.ada/simple_c_function/C/src
$(MAKE) -C output.ada
c: # Polyorb_HI_C output
rm -rf work
$(KAZOO) -p -g --gw --glue -o work
$(KAZOO) -c DeploymentView_Native.aadl -p -g --gw --glue -o work
cp simple_c_function/*.c work/simple_c_function/C/src
$(MAKE) -C work
rtems:
rm -rf output.rtems
$(KAZOO) -p --gw --glue -o output.rtems
$(KAZOO) -c DeploymentView_Leon3.aadl -p --gw --glue -o output.rtems
cp simple_c_function/*.c output.rtems/simple_c_function/C/src
$(MAKE) -C output.rtems build-rtems-ada
......
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