updated STM32 FreeRTOS example

This commit is contained in:
Robin Müller 2021-10-27 17:09:41 +02:00
parent cc5fdef7fb
commit 700a15bd80
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
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(CMAKE_CXX_STANDARD_REQUIRED True)
set(FSFW_OSAL "freertos")
set(TGT_BSP "arm/stm32h743zi-nucleo") set(TGT_BSP "arm/stm32h743zi-nucleo")
set(FREERTOS_NAMESPACE FreeRTOS::STM32::H7::M7) set(FREERTOS_NAMESPACE FreeRTOS::STM32::H7::M7)

View File

@ -1,3 +1,4 @@
target_sources(${TARGET_NAME} PRIVATE 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 "objects/systemObjectList.h"
#include "pollingsequence/pollingSequenceFactory.h" #include "pollingsequence/pollingSequenceFactory.h"
#include "mission/utility/TaskCreation.h" #include "example/utility/TaskCreation.h"
#include "mission/assemblies/TestAssembly.h" #include "fsfw_tests/integration/assemblies/TestAssembly.h"
#include "fsfw/returnvalues/HasReturnvaluesIF.h" #include "fsfw/returnvalues/HasReturnvaluesIF.h"
#include "fsfw/serviceinterface/ServiceInterface.h" #include "fsfw/serviceinterface/ServiceInterface.h"

View File

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

View File

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

@ -1 +1 @@
Subproject commit a0d775e086c9fa0506ad656c5e2d863f8f8e7f9b Subproject commit 473461a61d7636f76607217396551de4c4c5e2dd

2
fsfw

@ -1 +1 @@
Subproject commit 992784d7aed08ced219d0decb8f66beab451b907 Subproject commit 105d59a1f5801629f9882f7c5cb25d0a9d36a5c2

View File

@ -56,6 +56,9 @@
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/> <listEntry value="4"/>
</listAttribute> </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="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"/> <stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
</launchConfiguration> </launchConfiguration>

@ -1 +1 @@
Subproject commit 117213a922e71f6a058998305c01d98c878cb856 Subproject commit 99ca187b50ad9cd6ee1ba4bcbf9db981bed653ae

@ -1 +1 @@
Subproject commit 8f2289ceef004334401127e8a756cb2d49b1ad0c Subproject commit 4d71822fa1f1cfc16ccd4d0fb750eb2900a263b2