mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-12-16 22:38:02 +00:00
refactor: moved startup from rtos2-utils to TACOS
This commit is contained in:
@@ -11,13 +11,13 @@ Properties -> C/C++ General -> Paths and Symbols -> Includes -> GNU C++ -> Add..
|
||||
Properties -> C/C++ General -> Paths and Symbols -> Source Location -> Add Folder...
|
||||
```
|
||||
|
||||
Create a new thread via the project's IOC and call `startALPAKA()` from this thread. If your thread is called `defaultTask`, the corresponding function `StartDefaultTask` generated in `Core/Src/freertos.c` should look like this:
|
||||
Create a new thread via the project's IOC and call `startTACOS()` from this thread. If your thread is called `defaultTask`, the corresponding function `StartDefaultTask` generated in `Core/Src/freertos.c` should look like this:
|
||||
```
|
||||
void StartDefaultTask(void *argument)
|
||||
{
|
||||
/* USER CODE BEGIN StartDefaultTask */
|
||||
extern void startALPAKA(void *);
|
||||
startALPAKA(argument);
|
||||
extern void startTACOS(void *);
|
||||
startTACOS(argument);
|
||||
|
||||
/* Infinite loop */
|
||||
for(;;)
|
||||
|
||||
Reference in New Issue
Block a user