What it does
A Cursor rules file for firmware work on STM32 microcontrollers with the HAL. It covers project structure, handling of generated CubeMX code, peripheral setup, interrupts and concurrency, DMA buffer ownership, memory use and timing, so AI suggestions follow common embedded practice.
Use cases
- 01Keep generated CubeMX code apart from hand-written code
- 02Review interrupt handlers for short, deterministic work
- 03Check HAL calls for return values and timeouts