some fixes
This commit is contained in:
parent
08fa7d9e8b
commit
c91497e4de
@ -15,7 +15,7 @@ CUSTOM_DEFINES :=
|
|||||||
|
|
||||||
# Chip & board used for compilation
|
# Chip & board used for compilation
|
||||||
# (can be overriden by adding CHIP=chip and BOARD=board to the command-line)
|
# (can be overriden by adding CHIP=chip and BOARD=board to the command-line)
|
||||||
BOARD_FILE_ROOT = hosted
|
BOARD_FILE_ROOT = bsp_hosted
|
||||||
BOARD = host
|
BOARD = host
|
||||||
OS_FSFW = host
|
OS_FSFW = host
|
||||||
CUSTOM_DEFINES += -D$(OS_FSFW)
|
CUSTOM_DEFINES += -D$(OS_FSFW)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "ObjectFactory.h"
|
#include "ObjectFactory.h"
|
||||||
|
|
||||||
#include <objects/systemObjectList.h>
|
|
||||||
#include <OBSWConfig.h>
|
#include <OBSWConfig.h>
|
||||||
|
#include <objects/systemObjectList.h>
|
||||||
#include <tmtc/apid.h>
|
#include <tmtc/apid.h>
|
||||||
#include <tmtc/pusIds.h>
|
#include <tmtc/pusIds.h>
|
||||||
|
|
@ -1,4 +1,5 @@
|
|||||||
#include "print.h"
|
#include "print.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
void printChar(const char* character, bool errStream) {
|
void printChar(const char* character, bool errStream) {
|
8
bsp_hosted/boardconfig/print.h
Normal file
8
bsp_hosted/boardconfig/print.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#ifndef BSP_HOSTED_BOARDCONFIG_PRINT_H_
|
||||||
|
#define BSP_HOSTED_BOARDCONFIG_PRINT_H_
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
void printChar(const char* character, bool errStream);
|
||||||
|
|
||||||
|
#endif /* BSP_HOSTED_BOARDCONFIG_PRINT_H_ */
|
@ -7,4 +7,5 @@ CSRC += $(wildcard $(CURRENTPATH)/boardconfig/*.c)
|
|||||||
CXXSRC += $(wildcard $(CURRENTPATH)/comIF/*.cpp)
|
CXXSRC += $(wildcard $(CURRENTPATH)/comIF/*.cpp)
|
||||||
CSRC += $(wildcard $(CURRENTPATH)/comIF/*.c)
|
CSRC += $(wildcard $(CURRENTPATH)/comIF/*.c)
|
||||||
|
|
||||||
INCLUDES += $(CURRENTPATH)/boardconfig
|
INCLUDES += $(CURRENTPATH)/boardconfig
|
||||||
|
INCLUDES += $(CURRENTPATH)/fsfwconfig
|
@ -1,6 +1,5 @@
|
|||||||
#include "ArduinoComIF.h"
|
#include <bsp_hosted/comIF/ArduinoComIF.h>
|
||||||
#include "ArduinoCookie.h"
|
#include <bsp_hosted/comIF/ArduinoCookie.h>
|
||||||
|
|
||||||
#include <fsfw/globalfunctions/DleEncoder.h>
|
#include <fsfw/globalfunctions/DleEncoder.h>
|
||||||
#include <fsfw/globalfunctions/CRC.h>
|
#include <fsfw/globalfunctions/CRC.h>
|
||||||
#include <fsfw/serviceinterface/ServiceInterfaceStream.h>
|
#include <fsfw/serviceinterface/ServiceInterfaceStream.h>
|
@ -1,4 +1,4 @@
|
|||||||
#include "ArduinoCookie.h"
|
#include <bsp_hosted/comIF/ArduinoCookie.h>
|
||||||
|
|
||||||
ArduinoCookie::ArduinoCookie(Protocol_t protocol, uint8_t address,
|
ArduinoCookie::ArduinoCookie(Protocol_t protocol, uint8_t address,
|
||||||
const size_t maxReplySize) :
|
const size_t maxReplySize) :
|
@ -1,5 +1,5 @@
|
|||||||
|
#include "MissionMessageTypes.h"
|
||||||
#include <fsfw/ipc/CommandMessage.h>
|
#include <fsfw/ipc/CommandMessage.h>
|
||||||
#include <hosted/fsfwconfig/ipc/MissionMessageTypes.h>
|
|
||||||
|
|
||||||
void messagetypes::clearMissionMessage(CommandMessage* message) {
|
void messagetypes::clearMissionMessage(CommandMessage* message) {
|
||||||
switch(message->getMessageType()) {
|
switch(message->getMessageType()) {
|
@ -1,7 +1,6 @@
|
|||||||
|
#include <bsp_hosted/fsfwconfig/OBSWVersion.h>
|
||||||
#include <bsp_linux/InitMission.h>
|
#include <bsp_linux/InitMission.h>
|
||||||
#include <fsfw/tasks/TaskFactory.h>
|
#include <fsfw/tasks/TaskFactory.h>
|
||||||
#include <hosted/fsfwconfig/OBSWVersion.h>
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
2
fsfw
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit ca34250e8d74cec8a75bed284bf0ec9252019b65
|
Subproject commit 81c00cd3dcdabf57142d488dd348e0cd335f55a8
|
@ -1,8 +0,0 @@
|
|||||||
#ifndef HOSTED_BOARDCONFIG_PRINT_H_
|
|
||||||
#define HOSTED_BOARDCONFIG_PRINT_H_
|
|
||||||
|
|
||||||
#include <stdbool.h>
|
|
||||||
|
|
||||||
void printChar(const char* character, bool errStream);
|
|
||||||
|
|
||||||
#endif /* HOSTED_BOARDCONFIG_PRINT_H_ */
|
|
Loading…
Reference in New Issue
Block a user