How eng-mahmoudayman/master-embedded-systems works
This repository is a collection of embedded-systems course exercises, not one integrated product. Its main workflows range from standalone C assignments and data-structure exercises to STM32 peripheral demos and a Cortex-M RTOS application. The graph highlights those distinct strands and the sampled driver, scheduler, and CMSIS layers. The README gives no feature overview, and many listed implementations were not sampled; unverified subsystem links are omitted.
Main entry points: Src/main.c STM32 Demo · Lesson2/main.c State Machine Demo · core_cm3.h Cortex-M3 Core · Src/main.c RTOS Application
Components 28
C Lessons
- C Assignments
Unit2 - Register Demos
Unit3 - UART Lesson
Unit3/EmbeddedC_lesson2/App.c - State Machine Demo
Unit4/Lesson2/main.c - Ultrasonic Sensor
Unit4/Lesson2/US.c - Control Algorithm
Unit4/Lesson2/CA.c - DC Motor
Unit4/Lesson2/DC_Motor.c
Data Structures
- FIFO Exercise
Unit4/FIFO/Fifo_Buffer.c - LIFO Buffer
Unit4/LIFO/src/LIFO_Buffer.c - Student List
Unit4/LINKED_LIST/Linked_List_Students.c - FIFO Demo
Unit4/FIFO/main.c
STM32 Drivers
- STM32 Demo
Drivers/Src/main.c - GPIO Driver
Drivers/MCAL_Stm32F103x8/GPIO_Stm32F103x8/GPIO_Stm32F103x8.c - EXTI Driver
Drivers/MCAL_Stm32F103x8/EXTI_Stm32F103x8/EXTI_Stm32F103x8.c - UART Driver
Drivers/MCAL_Stm32F103x8/UART_Stm32F103x8/UART_Stm32F103x8.c - SPI Driver
Drivers/MCAL_Stm32F103x8/SPI_Stm32F103x8/SPI_Stm32F103x8.c - Clock Driver
Drivers/MCAL_Stm32F103x8/RCC_Stm32F103x8/RCC_Stm32F103x8.c - Peripheral Definitions
Drivers/MCAL_Stm32F103x8/Inc/Stm32F103x8.h
RTOS
- RTOS Application
ARM Assembly/Src/main.c - Scheduler
ARM Assembly/MY_RTOS/Scheduler.c - Scheduler API
ARM Assembly/MY_RTOS/INC/Scheduler.h - RTOS FIFO
ARM Assembly/MY_RTOS/MY_RTOS_FIFO.c
CMSIS Platform
- Cortex-M3 Core
ARM Assembly/CMSIS_V6/core_cm3.h - CMSIS Compiler
ARM Assembly/CMSIS_V6/cmsis_compiler.h - CMSIS Version
ARM Assembly/CMSIS_V6/cmsis_version.h - MPU Support
ARM Assembly/CMSIS_V6/m-profile/armv7m_mpu.h - GCC Support
ARM Assembly/CMSIS_V6/m-profile/cmsis_gcc_m.h
Other components
- Learner
Connections 24
- Learner → C Assignments: completes exercises
- Learner → Register Demos: runs demos
- Learner → FIFO Demo: runs demo
- Learner → State Machine Demo: runs demo
- Learner → STM32 Demo: runs tests
- Learner → RTOS Application: runs application
- FIFO Demo → FIFO Exercise: uses buffer
Unit4/FIFO/main.c - State Machine Demo → Ultrasonic Sensor: calls state
Unit4/Lesson2/main.c - State Machine Demo → Control Algorithm: calls state
Unit4/Lesson2/main.c - State Machine Demo → DC Motor: calls state
Unit4/Lesson2/main.c - STM32 Demo → GPIO Driver: calls
Drivers/Src/main.c - STM32 Demo → EXTI Driver: configures
Drivers/Src/main.c - STM32 Demo → UART Driver: calls
Drivers/Src/main.c - STM32 Demo → SPI Driver: calls
Drivers/Src/main.c - STM32 Demo → Peripheral Definitions: imports definitions
Drivers/Src/main.c - RTOS Application → Scheduler: invokes scheduler
ARM Assembly/Src/main.c - Scheduler → Scheduler API: uses API
ARM Assembly/MY_RTOS/Scheduler.c - Scheduler → RTOS FIFO: uses FIFO
ARM Assembly/MY_RTOS/Scheduler.c - Scheduler API → RTOS FIFO: includes interface
- RTOS Application → Cortex-M3 Core: imports core
ARM Assembly/Src/main.c - Cortex-M3 Core → CMSIS Compiler: imports
ARM Assembly/CMSIS_V6/core_cm3.h - Cortex-M3 Core → CMSIS Version: imports
ARM Assembly/CMSIS_V6/core_cm3.h - Cortex-M3 Core → MPU Support: imports
ARM Assembly/CMSIS_V6/core_cm3.h - CMSIS Compiler → GCC Support: includes
ARM Assembly/CMSIS_V6/cmsis_compiler.h