arduino stuff added
This commit is contained in:
@ -22,6 +22,8 @@
|
||||
#include <fsfw/pus/Service9TimeManagement.h>
|
||||
#include <fsfw/pus/Service17Test.h>
|
||||
#include <fsfw/pus/CService200ModeCommanding.h>
|
||||
#include "../../fsfw/devicehandlers/CookieIF.h"
|
||||
#include "../../hosted/comIF/ArduinoComIF.h"
|
||||
#ifdef LINUX
|
||||
#include <fsfw/osal/linux/TcUnixUdpPollingTask.h>
|
||||
#include <fsfw/osal/linux/TmTcUnixUdpBridge.h>
|
||||
@ -33,10 +35,10 @@
|
||||
|
||||
|
||||
#if ADD_TEST_CODE == 1
|
||||
#include <test/TestCookie.h>
|
||||
#include <test/TestDeviceHandler.h>
|
||||
#include <mission/test/TestTask.h>
|
||||
#include <test/TestEchoComIF.h>
|
||||
//#include <test/TestCookie.h>
|
||||
//#include <test/TestDeviceHandler.h>
|
||||
#include <test/testtasks/TestTask.h>
|
||||
//#include <test/TestEchoComIF.h>
|
||||
#endif
|
||||
|
||||
void Factory::setStaticFrameworkObjectIds(){
|
||||
@ -129,9 +131,11 @@ void ObjectFactory::produce(){
|
||||
|
||||
/* Test Device Handler */
|
||||
#if ADD_TEST_CODE == 1
|
||||
CookieIF* testCookie = new TestCookie(0);
|
||||
new TestEchoComIF(objects::TEST_ECHO_COM_IF);
|
||||
new TestDevice(objects::TEST_DEVICE_HANDLER, objects::TEST_ECHO_COM_IF,
|
||||
testCookie, true);
|
||||
new TestTask(objects::TEST_TASK);
|
||||
// CookieIF* testCookie = new TestCookie(0);
|
||||
// new TestEchoComIF(objects::TEST_ECHO_COM_IF);
|
||||
// new TestDevice(objects::TEST_DEVICE_HANDLER, objects::TEST_ECHO_COM_IF,
|
||||
// testCookie, true);
|
||||
new ArduinoComIF(objects::ARDUINO_COM_IF, true, nullptr);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user