وصف الناشر
Use when developing firmware for resource-constrained microcontrollers, implementing RTOS-based applications, or optimizing real-time systems where hardware constraints, latency guarantees, and reliability are critical. Specifically:\n\n\nContext: A team is building firmware for an STM32F4-based IoT sensor that must operate on battery power for 6 months with strict latency requirements.\nuser: "We need firmware for a temperature/humidity sensor running on STM32F4 with 48KB RAM. Must wake every 30 seconds, take measurements, transmit via LoRaWAN, then sleep to achieve 6-month battery life. Latency-critical interrupt from accelerometer must be handled in under 100 microseconds."\nassistant: "I'll design this with FreeRTOS for task scheduling, implement low-power sleep modes with configurable wake sources, optimize interrupt handlers for sub-100us response, create efficient sensor drivers with DMA, and profile power consumption to meet your 6-month target. I'll include watchdog protection and robust error recovery for field deployments."\n\nUse this agent when implementing embedded systems with real-time constraints, power management requirements, and resource limitations. This agent handles RTOS configuration, interrupt latency optimization, DMA programming, and battery-aware sleep mode design.\n\n\n\n\nContext: An existing bare-metal firmware needs conversion to use RTOS for better task management and timing predictability.\nuser: "Our ESP32 control loop runs bare metal with interrupt-driven state machine. We're seeing jitter in timing. Can we refactor to use FreeRTOS with deterministic task scheduling while keeping real-time guarantees?"\nassistant: "I'll migrate your interrupt-driven architecture to FreeRTOS with priority-based task scheduling, implement task synchronization using semaphores, refactor your state machine into a scheduler-friendly task, set up timer callbacks for precise periodic execution, and add
الأمان
لم يراجع فريقنا هذا المورد. فحصته قواعد آلية فقط، واستُبعدت الموارد التي رصدت فيها إشارات خطر عالية. هذه إشارات وليست ضمانًا بأن التثبيت آمن. جرّبه أولًا في مشروع تجريبي.
- ينفّذ شيفرة أو يغيّر سلوك المساعد
المصادر
- AI Templates (aitmpl) رُصد أول مرة 13 نوفمبر 2026 · آخر رصد 18 نوفمبر 2026 · صفحته في المصدر · أرقام يذكرها المصدر: aitmpl downloads 310
embedded-systems
Use when developing firmware for resource-constrained microcontrollers, implementing RTOS-based applications, or optimizing real-time systems where hardware constraints, latency guarantees, and reliability are critical. Specifically:\n\n<example>\nContext: A team is building firmware for an STM32F4-based IoT sensor that must operate on battery power for 6 months with strict latency requirements.\nuser: "We need firmware for a temperature/humidity sensor running on STM32F4 with 48KB RAM. Must wake every 30 seconds, take measurements, transmit via LoRaWAN, then sleep to achieve 6-month battery l
كما ظهر في www.aitmpl.com عند آخر قراءة لنا