freertos-integration

Expert skill for FreeRTOS configuration, debugging, and optimization

509 stars

Best use case

freertos-integration is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Expert skill for FreeRTOS configuration, debugging, and optimization

Teams using freertos-integration should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/freertos-integration/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/embedded-systems/skills/freertos-integration/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/freertos-integration/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How freertos-integration Compares

Feature / Agentfreertos-integrationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Expert skill for FreeRTOS configuration, debugging, and optimization

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# FreeRTOS Integration Skill

## Overview

This skill provides expert-level support for FreeRTOS configuration, integration, debugging, and optimization. It covers all aspects of FreeRTOS development from initial setup to performance tuning.

## Capabilities

### Configuration Management
- Generate optimal FreeRTOSConfig.h settings
- Configure kernel tick rate and timing
- Memory allocation scheme selection (heap_1 through heap_5)
- Tickless idle mode configuration
- Software timer configuration

### Task Management
- Task creation and priority analysis
- Stack size calculation and optimization
- Task timing analysis and WCET estimation
- Priority assignment strategies
- Task notification configuration

### Synchronization Primitives
- Queue configuration and sizing
- Semaphore and mutex configuration
- Event group setup
- Stream and message buffer configuration
- Deadlock prevention strategies

### Debugging Support
- Kernel-aware debugging interpretation
- Stack overflow detection configuration
- Runtime statistics collection
- Task state monitoring
- Trace facility configuration (Tracealyzer, SystemView)

### Optimization
- Stack usage analysis and right-sizing
- Memory pool optimization
- Context switch overhead reduction
- Interrupt-safe API usage
- Co-routine configuration (legacy)

## Target Processes

- `rtos-integration.js` - FreeRTOS integration and setup
- `real-time-performance-validation.js` - RTOS performance testing
- `low-power-design.js` - Tickless idle and power optimization
- `execution-speed-profiling.js` - Task timing analysis

## Dependencies

- FreeRTOS kernel source
- Kernel-aware debugger plugins (optional)
- Trace tools (Tracealyzer, SystemView - optional)

## Usage Context

This skill is invoked when tasks require:
- Initial FreeRTOS project setup
- Configuration optimization for specific requirements
- Task design and priority assignment
- Synchronization primitive selection
- Performance analysis and tuning

## Configuration Templates

### Minimal Configuration
```c
#define configUSE_PREEMPTION            1
#define configUSE_IDLE_HOOK             0
#define configUSE_TICK_HOOK             0
#define configCPU_CLOCK_HZ              SystemCoreClock
#define configTICK_RATE_HZ              1000
#define configMAX_PRIORITIES            5
#define configMINIMAL_STACK_SIZE        128
#define configTOTAL_HEAP_SIZE           (10 * 1024)
```

### Low-Power Configuration
```c
#define configUSE_TICKLESS_IDLE         1
#define configEXPECTED_IDLE_TIME_BEFORE_SLEEP  2
#define configPRE_SLEEP_PROCESSING(x)   preSleepProcessing(x)
#define configPOST_SLEEP_PROCESSING(x)  postSleepProcessing(x)
```

Related Skills

Debugger Integration Skill

509
from a5c-ai/babysitter

Advanced debugging integration for vulnerability research

ros-integration

509
from a5c-ai/babysitter

Deep integration with ROS/ROS2 middleware for node development, launch files, package management, and robot communication. Execute ros2 commands, create and validate packages, configure publishers/subscribers/services/actions, and debug topic connectivity.

maya-integration

509
from a5c-ai/babysitter

Maya to engine pipeline skill for FBX export and rigging workflows.

blender-integration

509
from a5c-ai/babysitter

Blender to engine pipeline skill for GLTF/FBX export.

mixed-methods-integration

509
from a5c-ai/babysitter

Design and execute convergent, explanatory sequential, and exploratory sequential mixed methods research designs

health-data-integration

509
from a5c-ai/babysitter

Facilitate interoperability between health IT systems including EHR, HIE, and clinical decision support through HL7, FHIR, and other healthcare data standards

avionics-integration

509
from a5c-ai/babysitter

Skill for avionics architecture design and system integration

ats-integration

509
from a5c-ai/babysitter

Integration with Applicant Tracking Systems and automated recruitment workflow management

support-platform-integration

509
from a5c-ai/babysitter

Integration with support and ticketing platforms

crm-integration

509
from a5c-ai/babysitter

Deep integration with CRM platforms for customer data and actions

amplitude-desktop-integration

509
from a5c-ai/babysitter

Integrate Amplitude analytics with privacy controls for desktop applications

wallet-integration

509
from a5c-ai/babysitter

Wallet connection and transaction management for dApps using wagmi and viem. Supports multiple connectors, chain switching, EIP-712 signing, and hardware wallet integration.