# sabariyogeshs32-efe/freertos-stm32-projects architecture

> Architecture diagram of the GitHub repository sabariyogeshs32-efe/freertos-stm32-projects, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sabariyogeshs32-efe/freertos-stm32-projects
- Repository: https://github.com/sabariyogeshs32-efe/freertos-stm32-projects

## Overview

This repository is a collection of embedded FreeRTOS demonstrations for the STM32F446RE, rather than one application with a single end-to-end workflow. An engineer selects a topic, runs its firmware example on the board, and observes behavior through LEDs, peripherals, or a UART terminal. The map groups the README’s major capability areas and highlights representative domain stages. Relationships are based on README descriptions; sampled source also confirms task creation and queue-set behavior, but the examples are independent, and many implementations were not sampled.

Main entry points: [`06_RTOS_DRIVERS`](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/06_RTOS_DRIVERS) (RTOS drivers), [`01_TASK_MANAGEMENT/1.Task_Creation`](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT/1.Task_Creation) (Task creation), [`01_TASK_MANAGEMENT`](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT) (Task control), [`02_TASK_SCHEDULING/11.BlockingATask`](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/02_TASK_SCHEDULING/11.BlockingATask) (Blocking tasks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_task["Task management"]
  node_task_create["Task creation<br/>[1.Task_Creation]"]
  node_task_control["Task control"]
  node_task_priority["Task priorities"]
end

subgraph group_sched["Scheduling"]
  node_blocking["Blocking tasks<br/>[11.BlockingATask]"]
  node_periodic["Periodic tasks"]
  node_scheduler["Scheduler behavior"]
end

subgraph group_comm["Communication"]
  node_queues["Queues and sets"]
end

subgraph group_sync["Synchronization"]
  node_semaphores["Semaphores and mutexes"]
  node_stepper["Stepper synchronization"]
end

subgraph group_extensions["RTOS extensions"]
  node_timers["Software timers"]
  node_event_groups["Event groups<br/>[29.EventGroups]"]
  node_drivers["RTOS drivers"]
  node_cmsis["CMSIS-RTOS v2"]
end

node_engineer(("Engineer"))
node_board{{"STM32F446RE"}}
node_terminal{{"UART terminal"}}

node_engineer -->|"selects example"| node_task_create
node_engineer -->|"selects example"| node_task_control
node_engineer -->|"selects example"| node_task_priority
node_engineer -->|"selects example"| node_blocking
node_engineer -->|"selects example"| node_periodic
node_engineer -->|"selects example"| node_scheduler
node_engineer -->|"selects example"| node_queues
node_engineer -->|"selects example"| node_semaphores
node_engineer -->|"selects example"| node_stepper
node_engineer -->|"selects example"| node_timers
node_engineer -->|"selects example"| node_event_groups
node_engineer -->|"selects example"| node_drivers
node_engineer -->|"selects example"| node_cmsis
node_task_create -->|"runs on"| node_board
node_task_control -->|"runs on"| node_board
node_task_priority -->|"runs on"| node_board
node_blocking -->|"runs on"| node_board
node_periodic -->|"runs on"| node_board
node_scheduler -->|"runs on"| node_board
node_queues -->|"runs on"| node_board
node_semaphores -->|"runs on"| node_board
node_stepper -->|"drives"| node_board
node_timers -->|"runs on"| node_board
node_event_groups -->|"runs on"| node_board
node_drivers -->|"runs on"| node_board
node_cmsis -->|"runs on"| node_board
node_drivers -->|"communicates through"| node_terminal

click node_task_create "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT/1.Task_Creation"
click node_task_control "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT"
click node_task_priority "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT"
click node_blocking "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/02_TASK_SCHEDULING/11.BlockingATask"
click node_periodic "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/02_TASK_SCHEDULING/12.RunningTaskPeriodically"
click node_scheduler "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/08_SCHEDULER"
click node_queues "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/03_INTER_TASK_COMMUNICATION"
click node_semaphores "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/04_SYNCHRONIZATION"
click node_stepper "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/04_SYNCHRONIZATION/20.Stepper_motor-NEMA17_driver_implement_with_binary_Semaphore"
click node_timers "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/05_SOFTWARE_TIMERS/24.WorkingWithSoftwareTimers"
click node_event_groups "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/05_SOFTWARE_TIMERS/29.EventGroups"
click node_drivers "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/06_RTOS_DRIVERS"
click node_cmsis "https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/07_CMSIS_RTOS_V2"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_task_create,node_task_control,node_task_priority toneBlue
class node_blocking,node_periodic,node_scheduler toneAmber
class node_queues toneMint
class node_semaphores,node_stepper toneRose
class node_timers,node_event_groups,node_drivers,node_cmsis,node_engineer,node_board,node_terminal toneIndigo
```

## Components

### Task management

- [Task creation](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT/1.Task_Creation): `01_TASK_MANAGEMENT/1.Task_Creation`
- [Task control](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT): `01_TASK_MANAGEMENT`
- [Task priorities](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/01_TASK_MANAGEMENT): `01_TASK_MANAGEMENT`

### Scheduling

- [Blocking tasks](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/02_TASK_SCHEDULING/11.BlockingATask): `02_TASK_SCHEDULING/11.BlockingATask`
- [Periodic tasks](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/02_TASK_SCHEDULING/12.RunningTaskPeriodically): `02_TASK_SCHEDULING/12.RunningTaskPeriodically`
- [Scheduler behavior](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/08_SCHEDULER): `08_SCHEDULER`

### Communication

- [Queues and sets](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/03_INTER_TASK_COMMUNICATION): `03_INTER_TASK_COMMUNICATION`

### Synchronization

- [Semaphores and mutexes](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/04_SYNCHRONIZATION): `04_SYNCHRONIZATION`
- [Stepper synchronization](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/04_SYNCHRONIZATION/20.Stepper_motor-NEMA17_driver_implement_with_binary_Semaphore): `04_SYNCHRONIZATION/20.Stepper_motor-NEMA17_driver_implement_with_binary_Semaphore`

### RTOS extensions

- [Software timers](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/05_SOFTWARE_TIMERS/24.WorkingWithSoftwareTimers): `05_SOFTWARE_TIMERS/24.WorkingWithSoftwareTimers`
- [Event groups](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/05_SOFTWARE_TIMERS/29.EventGroups): `05_SOFTWARE_TIMERS/29.EventGroups`
- [RTOS drivers](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/06_RTOS_DRIVERS): `06_RTOS_DRIVERS`
- [CMSIS-RTOS v2](https://github.com/sabariyogeshs32-efe/freertos-stm32-projects/tree/main/07_CMSIS_RTOS_V2): `07_CMSIS_RTOS_V2`

### Other components

- **Engineer**
- **STM32F446RE**
- **UART terminal**

## Connections

- Engineer → Task creation: selects example
- Engineer → Task control: selects example
- Engineer → Task priorities: selects example
- Engineer → Blocking tasks: selects example
- Engineer → Periodic tasks: selects example
- Engineer → Scheduler behavior: selects example
- Engineer → Queues and sets: selects example
- Engineer → Semaphores and mutexes: selects example
- Engineer → Stepper synchronization: selects example
- Engineer → Software timers: selects example
- Engineer → Event groups: selects example
- Engineer → RTOS drivers: selects example
- Engineer → CMSIS-RTOS v2: selects example
- Task creation → STM32F446RE: runs on
- Task control → STM32F446RE: runs on
- Task priorities → STM32F446RE: runs on
- Blocking tasks → STM32F446RE: runs on
- Periodic tasks → STM32F446RE: runs on
- Scheduler behavior → STM32F446RE: runs on
- Queues and sets → STM32F446RE: runs on
- Semaphores and mutexes → STM32F446RE: runs on
- Stepper synchronization → STM32F446RE: drives
- Software timers → STM32F446RE: runs on
- Event groups → STM32F446RE: runs on
- RTOS drivers → STM32F446RE: runs on
- CMSIS-RTOS v2 → STM32F446RE: runs on
- RTOS drivers → UART terminal: communicates through
