No hardware? The Keil uVision simulator can run entire RTOS tasks, test peripheral registers, and even simulate ADC/GPIO input. Under Debug → Settings , select "Use Simulator". Great for CI pipelines.

The , primarily integrated within the Keil Microcontroller Development Kit (MDK) , is the industry-standard software development environment for Arm Cortex-M based microcontrollers . It provides a comprehensive ecosystem of tools that allow developers to design, build, and debug embedded applications efficiently. Core Components of the Keil Arm Toolchain