updated STM32 FreeRTOS example
This commit is contained in:
parent
cc5fdef7fb
commit
700a15bd80
@ -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)
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
target_sources(${TARGET_NAME} PRIVATE
|
target_sources(${TARGET_NAME} PRIVATE
|
||||||
|
SpiTest.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
4
bsp_stm32h7_freertos/boardtest/SpiTest.cpp
Normal file
4
bsp_stm32h7_freertos/boardtest/SpiTest.cpp
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#include "SpiTest.h"
|
||||||
|
|
||||||
|
SpiTest::SpiTest(SpiComIF &spiComIF) {
|
||||||
|
}
|
12
bsp_stm32h7_freertos/boardtest/SpiTest.h
Normal file
12
bsp_stm32h7_freertos/boardtest/SpiTest.h
Normal 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_ */
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit 992784d7aed08ced219d0decb8f66beab451b907
|
Subproject commit 105d59a1f5801629f9882f7c5cb25d0a9d36a5c2
|
@ -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="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList context="Context string"/> "/>
|
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList context="Context string"/> "/>
|
||||||
<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
|
Loading…
Reference in New Issue
Block a user