Added dummy task. Still a lot of compiler errors to be fixed

This commit is contained in:
dario
2023-09-22 15:50:26 +02:00
parent 326083e48a
commit 10bcad8203
13 changed files with 88 additions and 387 deletions

34
App/Src/tasks/dummy.cpp Normal file
View File

@@ -0,0 +1,34 @@
/*
* dummy.cpp
*
* Created on: 22 Sep 2023
* Author: Dario
*/
#include <tasks/dummy.hpp>
#include <sta/debug/debug.hpp>
#include <cmsis_os2.h>
namespace demo
{
DummyTask::DummyTask(const char* name)
: TacosThread(name, osPriorityNormal)
{
}
void DummyTask::init()
{
STA_DEBUG_PRINTLN("Initialized dummy task!");
}
void DummyTask::func()
{
STA_DEBUG_PRINT("Executing ");
STA_DEBUG_PRINTLN(this->getName());
}
} // namespace demo