How yacineamara/structuration_logiciel_embarquee works
This repository is a small STM32F446 bare-metal firmware project. Its demonstrated workflow initializes the floating-point unit, GPIO, USART2, and SysTick, then repeatedly delays, toggles a GPIO output, and prints a message. The application delegates hardware setup and timing to peripheral modules; CMSIS supplies the device/core definitions and compiler- and MPU-specific support. The README gives no further product capabilities. Unsampled implementation details are represented only where the source index supports them.
Main entry points: main.c Startup and loop · timer.c SysTick and DWT · usart.c USART2 I/O · stm32f446xx.h STM32F446 definitions
Components 16
Firmware application
- Startup and loop
Src/main.c - FPU and scan setup
Src/util.c - System calls
Src/syscalls.c - Heap memory
Src/sysmem.c
Peripheral drivers
- GPIO control
Src/gpio.c - SysTick and DWT
Src/timer.c - USART2 I/O
Src/usart.c - Interrupt handling
Src/interrupt.c
CMSIS platform
- STM32F446 definitions
Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f446xx.h - STM32F4 device headers
Drivers/CMSIS/Device/ST/STM32F4xx/Include - Cortex-M core headers
Drivers/CMSIS/Include - Compiler abstractions
Drivers/CMSIS/Include - MPU APIs
Drivers/CMSIS/Include - Compiler header variants
Drivers/CMSIS/Include
Other components
- Firmware execution
- STM32F446 MCU
Connections 16
- Firmware execution → Startup and loop: starts
- Startup and loop → FPU and scan setup: initializes FPU
Src/main.c - Startup and loop → GPIO control: initializes GPIO
Src/main.c - Startup and loop → USART2 I/O: initializes USART
Src/main.c - Startup and loop → SysTick and DWT: initializes SysTick
Src/main.c - Startup and loop → SysTick and DWT: requests delays
Src/main.c - Startup and loop → STM32F446 MCU: toggles pin
Src/main.c - GPIO control → STM32F446 MCU: controls GPIO
- SysTick and DWT → STM32F446 definitions: uses registers
Src/timer.c - Interrupt handling → STM32F446 definitions: uses registers
Src/interrupt.c - USART2 I/O → STM32F446 MCU: uses USART
- FPU and scan setup → USART2 I/O: uses USART
Src/util.c - STM32F4 device headers → STM32F446 definitions: includes device map
- Cortex-M core headers → Compiler abstractions: uses abstractions
Drivers/CMSIS/Include/core_cm33.h - Cortex-M core headers → MPU APIs: uses MPU API
Drivers/CMSIS/Include/core_cm33.h - Compiler abstractions → Compiler header variants: selects compiler header
Drivers/CMSIS/Include/cmsis_compiler.h