mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-10 16:45:59 +00:00
Added reminder to call startALPAKA
This commit is contained in:
parent
f189cc162e
commit
5bfc6b66bc
21
README.md
21
README.md
@ -4,11 +4,28 @@ This is the Trajectory Analysis Control OS (TACOS) that serves as a starting poi
|
||||
|
||||
## Setting Up TACOS
|
||||
|
||||
Clone the repository using `--recurse-submodules` and then add it to an existing CubeIDE project. Be sure to add the include paths for Tacos, sta-core and rtos2-utils to the project with the following steps:
|
||||
Clone the repository using `--recurse-submodules` and then add it to an existing CubeIDE FreeRTOS project. Be sure to add the include paths for Tacos, sta-core and rtos2-utils to the project with the following steps:
|
||||
```
|
||||
Properties -> C/C++ General -> Paths and Symbols -> Includes -> GNU C -> Add...
|
||||
```
|
||||
|
||||
Under Core/Src/freertos.c you must call startALPAKA() from the default task. It should look like this:
|
||||
```
|
||||
void StartDefaultTask(void *argument)
|
||||
{
|
||||
/* USER CODE BEGIN StartDefaultTask */
|
||||
extern void startALPAKA(void *);
|
||||
startALPAKA(argument);
|
||||
|
||||
/* Infinite loop */
|
||||
for(;;)
|
||||
{
|
||||
osDelay(1);
|
||||
}
|
||||
/* USER CODE END StartDefaultTask */
|
||||
}
|
||||
```
|
||||
|
||||
## Configuring TACOS
|
||||
Be sure to add a "config.hpp" to the App/Inc/sta directory. This file could look like this:
|
||||
```
|
||||
@ -44,4 +61,4 @@ Be sure to add a "config.hpp" to the App/Inc/sta directory. This file could look
|
||||
#define STA_TACOS_INITIAL_STATE 0
|
||||
|
||||
#endif /* INC_STA_CONFIG_HPP_ */
|
||||
```
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user