Covers the practical bits of FreeRTOS development: creating tasks with proper stack sizing, using queues and mutexes for inter-task communication, and enabling stack overflow detection before things crash mysteriously at 3am. The examples show actual task function signatures, queue setup with structs, and the difference between semaphores (for signaling) and mutexes (for shared resources with priority inheritance). Configuration guidance is solid, especially the FreeRTOSConfig.h essentials and stack watermark checking. The GDB section assumes you're already running OpenOCD and jumps straight to thread-aware debugging commands. If you're moving from bare metal to an RTOS or debugging why your embedded system locks up under load, this gets you oriented quickly.

skills.sh installs
691
GitHub stars
279
last updated
Aug 21, 2026

Install

$ npx -y skills add mohitmishra786/low-level-dev-skills --skill freertos --agent claude-code

Installs into .claude/skills of the current project.

Files

FreeRTOS

Purpose

Guide agents through FreeRTOS application development: task creation and priorities, inter-task communication with queues and semaphores, stack overflow detection, configASSERT, and FreeRTOS-aware debugging with GDB and OpenOCD.

Triggers

  • "How do I create a FreeRTOS task?"
  • "How do I pass data between FreeRTOS tasks?"
  • "My FreeRTOS task is crashing — how do I detect stack overflow?"
  • "How do I use FreeRTOS mutexes?"
  • "How do I debug FreeRTOS tasks with GDB?"
  • "How do I configure FreeRTOSConfig.h?"

Workflow

1. Task creation and priorities

#include "FreeRTOS.h"
#include "task.h"

// Task function signature
void vMyTask(void *pvParameters) {
    const char *name = (const char *)pvParameters;
    for (;;) {
        // Task body — must never return
        printf("Task %s running\n", name);
        vTaskDelay(pdMS_TO_TICKS(500));  // yield for 500ms
    }
}

Sponsors

Details

Repository
github.com/mohitmishra786/low-level-dev-skills
Category
Debugging
First seen
Jun 3, 2026

More from mohitmishra786/low-level-dev-skills

All 54

Recommended

More Debugging
1akin-ozer avatargithub-actions-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, fix GitHub Actions workflows (.github/workflows).686skills.sh installs
2joellewis avatarproposal-generationjoellewis/finance_skillsGenerate end-to-end investment proposals covering risk profiling, model portfolio recommendation, fee illustration, projections, and compliance review. Use when684skills.sh installs
3new-silvermoon avatarkotlin-concurrency-expertnew-silvermoon/awesome-android-agent-skillsKotlin Coroutines review and remediation for Android. Use when asked to review concurrency usage, fix coroutine-related bugs, improve thread safety, or resolve 684skills.sh installs
4patternsdev avatarvite-bundle-optimizationpatternsdev/skillsTeaches Vite-specific bundle optimization patterns. Use when configuring Vite builds, code splitting, managing dependencies, or troubleshooting slow Vite builds683skills.sh installs
5mindrally avatargraalvmmindrally/skillsExpert guidance for GraalVM native image development with Java frameworks, build optimization, and high-performance application deployment679skills.sh installs
6alirezarezvani avatarseo-auditalirezarezvani/claude-skillsWhen the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking,678skills.sh installs