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

Add C++ code in RPI test case

parent 455cb823
......@@ -77,6 +77,6 @@ PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.4";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("../../../../tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
Taste::HWLibraries => ("/home/taste/tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
......@@ -10,7 +10,7 @@
#include "function1.h"
#include "function1_state.h"
//#include <iostream>
#include <iostream>
// Define and use function state inside this context structure
// avoid defining global/static variable elsewhere
......@@ -20,7 +20,7 @@ function1_state ctxt_function1;
void function1_startup(void)
{
// Write your initialisation code, but DO NOT CALL REQUIRED INTERFACES
// std::cout << "[Function1] Startup" << std::endl;
std::cout << "[Function1] Startup" << std::endl;
}
void function1_PI_pulse(void)
......
Markdown is supported
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