updated STM32 FreeRTOS example

This commit is contained in:
2021-10-27 17:09:41 +02:00
parent cc5fdef7fb
commit 700a15bd80
12 changed files with 30 additions and 9 deletions

View File

@ -33,6 +33,7 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(FSFW_OSAL "freertos")
set(TGT_BSP "arm/stm32h743zi-nucleo")
set(FREERTOS_NAMESPACE FreeRTOS::STM32::H7::M7)

View File

@ -1,3 +1,4 @@
target_sources(${TARGET_NAME} PRIVATE
SpiTest.cpp
)

View File

@ -0,0 +1,4 @@
#include "SpiTest.h"
SpiTest::SpiTest(SpiComIF &spiComIF) {
}

View File

@ -0,0 +1,12 @@
#ifndef BSP_STM32H7_FREERTOS_BOARDTEST_SPITEST_H_
#define BSP_STM32H7_FREERTOS_BOARDTEST_SPITEST_H_
#include "fsfw_hal/stm32h7/spi/SpiComIF.h"
class SpiTest {
public:
SpiTest(SpiComIF& spiComIF);
private:
};
#endif /* BSP_STM32H7_FREERTOS_BOARDTEST_SPITEST_H_ */

View File

@ -3,8 +3,8 @@
#include "objects/systemObjectList.h"
#include "pollingsequence/pollingSequenceFactory.h"
#include "mission/utility/TaskCreation.h"
#include "mission/assemblies/TestAssembly.h"
#include "example/utility/TaskCreation.h"
#include "fsfw_tests/integration/assemblies/TestAssembly.h"
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
#include "fsfw/serviceinterface/ServiceInterface.h"

View File

@ -4,8 +4,8 @@
#include "objects/systemObjectList.h"
#include "hardware_init.h"
#include "mission/utility/TmFunnel.h"
#include "mission/core/GenericFactory.h"
#include "example/utility/TmFunnel.h"
#include "example/core/GenericFactory.h"
#include "example_common/stm32h7/networking/UdpTcLwIpPollingTask.h"
#include "example_common/stm32h7/networking/TmTcLwIpUdpBridge.h"

View File

@ -10,7 +10,7 @@
#include "core/InitMission.h"
#include "core/ObjectFactory.h"
#include "example_common/utility/utility.h"
#include "example/utility/utility.h"
#include <fsfw/objectmanager/ObjectManager.h>
#include <fsfw/serviceinterface/ServiceInterface.h>

2
fsfw

Submodule fsfw updated: 992784d7ae...105d59a1f5

View File

@ -56,6 +56,9 @@
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
<mapEntry key="[debug]" value="ilg.gnumcueclipse.debug.gdbjtag.openocd.core.dsfLaunchDelegate"/>
</mapAttribute>
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;memoryBlockExpressionList context=&quot;Context string&quot;/&gt;&#10;"/>
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
</launchConfiguration>