Someone wanted to learn this too, so Grasp built them a personal learning path.
You can keep exploring this one or create your own
Embedded Systems Engineering
Module 1
Embedded C and a Windows Simulation Workflow
Module 2
STM32 and Cortex-M Execution Model
Module 3
Clocks, Resets, and GPIO Drivers
Module 4
Exceptions, Interrupts, and Hardware Timers
Module 5
UART Communication and Event-Driven Input
Module 6
SPI and I2C Peripheral Interfaces
Module 7
Analog Acquisition and DMA
Module 8
Reliable Bare-Metal Firmware Architecture
Module 9
Real-Time Analysis and Scheduling
Module 10
FreeRTOS Tasks, Timing, and Messaging
Module 11
Concurrency, Synchronization, and RTOS Robustness
Module 12