跳到主要内容
知仓学习社ZHICANG

freertos-integration

Expert skill for FreeRTOS configuration, debugging, and optimization

不碰外部(只输出文字)无严重或高危命中a5c-ai/babysitter

它会碰到什么

扫了多少2 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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

#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

#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)

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,796
本站分层T1
该仓技能数2115
原文件路径library/specializations/embedded-systems/skills/freertos-integration/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 2115 个技能