Skip to content
Development
Skill

/freertos-plus-tcp-integration

Use when integrating, porting, configuring, or debugging FreeRTOS+TCP networking, network interface drivers, buffer management, DHCP, sockets, or embedded TCP/IP issues

From plugin
aix-skills
3176 skills
Install
$ npx -y skills add easyzoom/aix-skills --skill freertos-plus-tcp-integration --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/freertos-plus-tcp-integration

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when integrating, porting, configuring, or debugging FreeRTOS+TCP networking, network interface drivers, buffer management, DHCP, sockets, or embedded TCP/IP issues

SKILL.md

freertos-plus-tcp-integration.SKILL.md
name: freertos-plus-tcp-integration
description: Use when integrating, porting, configuring, or debugging FreeRTOS+TCP networking, network interface drivers, buffer management, DHCP, sockets, or embedded TCP/IP issues

FreeRTOS+TCP Integration

Overview

Use this skill to integrate FreeRTOS+TCP by proving the network interface driver, buffer management, IP task, and socket behavior separately. Most failures come from driver callbacks, buffer ownership, or task priority/stack sizing.

When To Use

Use this skill when:

  • The user wants FreeRTOS+TCP on an MCU.
  • The issue involves network interface porting, DHCP, ARP, sockets, buffer descriptors, IP task, DNS, or TCP/UDP stalls.
  • The project uses FreeRTOS tasks and FreeRTOS+TCP APIs instead of lwIP.

Do not use this skill for lwIP projects. Use `lwip-integration` instead.

First Questions

Ask for:

  • MCU/SoC, PHY/module, MAC driver, FreeRTOS version, and FreeRTOS+TCP version.
  • Network interface source and buffer allocation scheme.
  • Static IP/DHCP config, MAC address, gateway, DNS, and hostname.
  • IP task priority/stack, driver task/ISR model, and heap size.
  • Current symptom and network logs/counters.

Integration Checklist

1. Prove link and MAC. Confirm PHY link, MAC address, RX/TX interrupts, and descriptor rings.

1. Configure buffer management. Choose and size network buffers intentionally; track leaks and ownership.

1. Verify IP task health. IP task stack, priority, event queue, and timer behavior must be stable.

1. Test layers. Link, ARP, ping, UDP, TCP connect, DNS, DHCP, and reconnect separately.

1. Check thread rules. Use FreeRTOS+TCP APIs from valid task contexts and avoid unsafe ISR use.

Common Failures

  • Network buffers leak after RX error paths.
  • IP task stack is too small.
  • MAC DMA cache maintenance is missing.
  • DHCP fails because link state is not reported correctly.
  • Socket timeouts are treated as fatal connection state.

Verification

Before claiming FreeRTOS+TCP works:

  • State driver, buffer scheme, IP config, IP task priority/stack, and heap.
  • Confirm link, IP address, ping, UDP/TCP test, and reconnect behavior.
  • Report buffer usage/leak evidence if available.
  • Confirm cache/DMA handling when relevant.

Example

User:

FreeRTOS+TCP DHCP 成功但 TCP 连接会卡死。

Agent:

1. Asks for socket code, IP task stack, buffer scheme, driver logs, and heap stats. 1. Checks buffer ownership and IP task health before protocol logic. 1. Verifies UDP and TCP separately.

Read more
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Get the whole plugin
Stats
32
Stars
3
Forks
Maintained
Maintenance
Python
Language
MIT
License
1mo ago
Last commit
4mo ago
Created

Repo: easyzoom/aix-skills

Other skills on aix-skills.