mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/ioc-collection.git
synced 2025-06-10 02:26:00 +00:00
44 lines
1.8 KiB
Markdown
44 lines
1.8 KiB
Markdown
# ioc-collection
|
|
|
|
A collection of .ioc-files for working with different STM32 μCs and TACOS. The .ioc-files are already correctly configured for TACOS-based projects.
|
|
|
|
## Using An .ioc
|
|
|
|
You can create a project from an existing .ioc-file (e.g. one of the .ioc's provided in this repository) by pressing `file > new > STM32 Project from an Existing STM32CubeMX Configuration File` and choosing the desired file under `STM32CubeMX .ioc file > Browse`.
|
|
|
|
## Creating An .ioc
|
|
|
|
If your microcontroller is not supported yet, you can create a .ioc-file by creating a new project with the desired microcontroller and selecting the following settings in the project's .ioc:
|
|
|
|
`Project Manager > Project`
|
|
|
|

|
|
|
|
`Project Manager > Code Generator`
|
|
|
|

|
|
|
|
`Pinout & Configuration > Middleware and Software Packs`
|
|
|
|

|
|
|
|
`Pinout & Configuration > Middleware and Software Packs > FREERTOS > Config Parameters`
|
|
|
|

|
|
|
|

|
|
|
|
`Pinout & Configuration > Middleware and Software Packs > FREERTOS > Advanced Settings`
|
|
|
|

|
|
|
|
> [!WARNING]
|
|
> Please note that 256 words (1 word = 4 bytes) of stack memory tend to be insufficient for many applications. You might want to increase that by adjusting the setting `Pinout & Configuration > Middleware and Software Packs > FREERTOS > Config parameters > Kernel Settings > MINIMAL_STACK_SIZE`.
|
|
> Don't forget to also change the stack size of the default thread in `FREERTOS > Tasks and Queues`.
|
|
|
|
> [!WARNING]
|
|
> Usually, you also have to increase the FreeRTOS heap size via
|
|
> * `Pinout & Configuration > Middleware and Software Packs > FREERTOS > Config parameters > Memory management settings > TOTAL_HEAP_SIZE`
|
|
> since the stack of each task is allocated on the FreeRTOS heap.
|
|
|
|
### |