From 36ef7350677292721ec257943431c29831a67f36 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 30 Sep 2020 21:21:41 +0200 Subject: [PATCH] binary renamed --- Makefile-Hosted | 2 +- mission/core/ObjectFactory.cpp | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile-Hosted b/Makefile-Hosted index b1568fd3..50953643 100644 --- a/Makefile-Hosted +++ b/Makefile-Hosted @@ -67,7 +67,7 @@ BSP_PATH = $(BOARD_FILE_ROOT) BOARDTEST_PATH = $(BOARD_FILE_ROOT)/boardtest # Output file basename -BASENAME = sourceobsw +BASENAME = eiveobsw BINARY_NAME = $(BASENAME)-$(BOARD) # Output files will be put in this directory inside OUTPUT_FOLDER = $(OS_FSFW) diff --git a/mission/core/ObjectFactory.cpp b/mission/core/ObjectFactory.cpp index 6ebafbd2..0517b733 100644 --- a/mission/core/ObjectFactory.cpp +++ b/mission/core/ObjectFactory.cpp @@ -25,6 +25,9 @@ #ifdef LINUX #include #include +#elif WIN32 +#include +#include #endif #include @@ -99,6 +102,12 @@ void ObjectFactory::produce(){ objects::CCSDS_PACKET_DISTRIBUTOR, objects::TM_STORE, objects::TC_STORE); new TcUnixUdpPollingTask(objects::UDP_POLLING_TASK, objects::UDP_BRIDGE); +#elif WIN32 + new TmTcWinUdpBridge(objects::UDP_BRIDGE, + objects::CCSDS_PACKET_DISTRIBUTOR, objects::TM_STORE, + objects::TC_STORE); + new TcWinUdpPollingTask(objects::UDP_POLLING_TASK, + objects::UDP_BRIDGE); #endif