Прошивки для STM32 и ESP32

engineering

Embedded systems is a Claude Code skill that assists with firmware development for STM32 and ESP32 microcontrollers, RTOS implementation, and resource optimization on constrained embedded hardware. Reach for it when interrupt handlers or DMA transfers on STM32 aren't behaving as expected, when FreeRTOS tasks are missing deadlines, when a battery-powered device draws too much current, or when peripheral communication over I2C, SPI, UART, or CAN fails to initialize correctly. The skill follows a six-step workflow: analyze MCU constraints and memory limits, design task and interrupt architecture, write HAL and peripheral drivers, run static analysis with cppcheck and compile under -Wall -Werror, optimize flash and RAM footprint, then validate timing with a logic analyzer and uxTaskGetStackHighWaterMark. It covers register-level bare-metal programming with correct bit-field usage against datasheets, FreeRTOS queue and synchronization patterns, sleep modes, and power budget management. Ready-to-use code templates include a minimal ARM Cortex-M ISR, a periodic FreeRTOS task skeleton, and a bare-metal STM32 GPIO-plus-timer blink. Direction is firmware implementation and debugging, not schematic simulation or PCB layout. Best suited for C/C++ projects targeting STM32 and ESP32; not the right fit when the work is purely application logic with no hardware dependency.