mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-02 08:41:54 +00:00
Added a note for faster include path setting
This commit is contained in:
parent
c652d23032
commit
6087a03c7e
@ -45,15 +45,18 @@ git submodule add https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure that you add the include paths for TACOS, sta-core and rtos2-utils to the project with the following steps:
|
Make sure that you add the include paths for TACOS, sta-core and rtos2-utils to the project with the following steps:
|
||||||
1. `Properties -> C/C++ General -> Paths and Symbols -> Includes -> GNU C -> Add...`
|
1. Right click your project in the `Project Explorer` and select `Properties -> C/C++ General -> Paths and Symbols -> Includes -> GNU C -> Add...`
|
||||||
2. Select `Add to all languages` and `Is a workspace path`
|
2. Select `Add to all languages` and `Is a workspace path`
|
||||||
3. Click on `Workspace` and select a folder from the `YOUR_PROJECT_FOLDER/(Libs|App)` directory
|
3. Click on `Workspace` and select a folder from the `YOUR_PROJECT_FOLDER/(Libs|App)` directory
|
||||||
- Always select the `include` or `Inc` folder for the include paths
|
- Always select the `include` or `Inc` folder for the include paths
|
||||||
- If the path you want to add is not in the list, refresh the project with `F5` in the `Project Explorer` and try again
|
- If the path you want to add is not in the list, refresh the project with `F5` in the `Project Explorer` and try again
|
||||||
4. Repeat for TACOS, sta-core, rtos2-utils and the App folder
|
4. Repeat for TACOS, sta-core, rtos2-utils and the App folder
|
||||||
5. `Properties -> C/C++ General -> Paths and Symbols -> Source Location -> Add Folder...`
|
5. Right click your project in the `Project Explorer` and select `Properties -> C/C++ General -> Paths and Symbols -> Source Location -> Add Folder...`
|
||||||
- Add the `App` and `Libs` folders
|
- Add the `App` and `Libs` folders
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> You often want to add more submodules during development. Here, a faster way to add the include path for a library is to right click the library's include folder in the `Project Explorer` and select `Add/remove include path`.
|
||||||
|
|
||||||
### Starting TACOS
|
### Starting TACOS
|
||||||
|
|
||||||
Navigate to the `Core/Src/freertos.c` file and add the following code to the `StartDefaultTask` function:
|
Navigate to the `Core/Src/freertos.c` file and add the following code to the `StartDefaultTask` function:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user