From zephyr-skills
Optimizes power and performance in Zephyr RTOS via system states (Idle, Suspend, Off), device PM, residency hooks, and code/data relocation. For battery life, latency reduction, memory constraints.
npx claudepluginhub beriberikix/zephyr-agent-skills --plugin zephyr-moduleThis skill uses the workspace's default tool permissions.
Maximize the efficiency of your embedded system by balancing power consumption and computational performance.
Audits power management in embedded/IoT code: sleep modes, wake sources, power state machines, radio duty cycles, battery life estimates.
Develops firmware for microcontrollers like STM32 and ESP32, implements FreeRTOS RTOS applications, configures peripherals, writes interrupt handlers and DMA transfers, optimizes power consumption in real-time systems.
Implements low-power BLE connectivity for Zephyr RTOS covering GATT services, GAP advertising, connection parameters, power optimization, and Send-When-Idle pattern for battery-efficient wireless devices.
Share bugs, ideas, or general feedback.
Maximize the efficiency of your embedded system by balancing power consumption and computational performance.
Implement system-level and peripheral-specific power saving strategies.
pm_device_action_run, pm_state_set, Residency hooks.Optimize critical code paths and monitor system resources.
CONFIG_THREAD_ANALYZER, Linker Map, Code relocation.Relocate code and data to utilize the fastest memory available.
__ramfunc, Relocation scripts.#include <zephyr/pm/device.h>
const struct device *spi0 = DEVICE_DT_GET(DT_NODELABEL(spi0));
void sleep_spi(void) {
pm_device_action_run(spi0, PM_DEVICE_ACTION_SUSPEND);
}
power_management.md: System states, device PM, and hooks.performance_tuning.md: Optimization strategies and relocation.power_budget_estimator.py: Duty-cycle based battery-life estimator.power_budget_template.csv: Initial state/current budget template.