STM32
STM32 HAL Unit Testing: Mocking STM32CubeHAL and Testing Peripheral Drivers
```tldr STM32 HAL firmware can be unit tested on the host by mocking the STM32CubeHAL functions with CMock. Your application code links against mock HAL functions instead of real hardware peripherals — tests run fast, without an STM32 board, and integrate into CI/CD. ``` ```takeaways Mock HAL functions, not registers. STM32CubeHAL