Lwip Integration logo

Lwip Integration

Community
easyzoom
lwip-integration

Use when integrating, porting, configuring, or debugging lwIP TCP/IP stack, netif drivers, memory pools, sys_arch, DHCP, TCP, UDP, or embedded networking issues

Overview

Publishereasyzoom
Repositoryaix-skills
Skill namelwip-integration
Stars
39
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by easyzoom on GitHub. Read the source before you install it.

Installation

Install the Lwip Integration AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/easyzoom/aix-skills/tree/main/skills/lwip-integration
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/easyzoom/aix-skills.git /tmp/aix-skills
mkdir -p .claude/skills
cp -r /tmp/aix-skills/skills/lwip-integration .claude/skills/lwip-integration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lwip Integration in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lwip Integration on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lwip Integration is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

lwIP Integration

Overview

Use this skill to integrate lwIP by separating hardware Ethernet/Wi-Fi drivers, netif glue, memory pools, threading model, and protocol configuration. A successful port proves link, IP configuration, packet RX/TX, and resource stability under load.

When To Use

Use this skill when:

  • The user wants to add or debug lwIP on bare metal, FreeRTOS, RT-Thread, Zephyr, vendor SDKs, or custom network drivers.
  • The issue involves lwipopts.h, sys_arch, netif, DHCP, TCP/UDP, pbufs, memory pools, packet loss, or hard faults in networking.
  • The target uses Ethernet, Wi-Fi, PPP, SLIP, or a vendor network interface.

Do not use this skill when the physical link or board interface is not proven. Use hardware-interface-debug first for PHY, RMII/MII, clocks, or wiring issues. For FreeRTOS-native TCP/IP, use freertos-plus-tcp-integration. For MQTT over lwIP, use mqtt-embedded-integration after basic connectivity works.

First Questions

Ask for:

  • MCU/SoC, network interface, PHY/module, RTOS, and lwIP version.
  • Driver source: vendor SDK, custom MAC driver, Wi-Fi module, or simulator.
  • Threading model: NO_SYS raw API, tcpip_thread, socket/netconn API, or RTOS integration.
  • lwipopts.h, memory sizes, pbuf pool settings, and enabled protocols.
  • Current symptom: no link, no IP, DHCP timeout, ping fails, TCP stalls, memory exhaustion, or crash.
  • Packet/log evidence: link status, IP address, ARP, ping, Wireshark, counters, or asserts.

Integration Checklist

  1. Confirm link before IP. Verify PHY/module link, MAC address, link callbacks, and carrier status before debugging DHCP or TCP.

  2. Confirm netif glue. netif_add, input path, output path, MTU, flags, hostname, and link/status callbacks must match the driver.

  3. Match threading model. Do not call raw API from arbitrary threads. Use tcpip callbacks or socket/netconn APIs according to configuration.

  4. Size memory deliberately. Check MEM_SIZE, MEMP_NUM_*, PBUF_POOL_SIZE, TCP windows, mailbox sizes, and stack sizes.

  5. Implement OS abstraction if needed. For RTOS ports, sys_arch must provide semaphores, mutexes, mailboxes, timeouts, and critical sections.

  6. Verify with layered tests. Link, static IP, ARP, ping, UDP echo, TCP connect, sustained transfer, and reconnect.

Common Failures

  • DHCP fails because link callback never reports up.
  • Ping fails because ARP output path or MAC address is wrong.
  • TCP stalls because pbufs or mailboxes are exhausted.
  • Random crashes from raw API calls outside tcpip_thread.
  • Cache/DMA incoherency corrupts RX/TX buffers.
  • Stack overflow in tcpip_thread or network driver task.

Verification

Before claiming lwIP works:

  • State interface, RTOS mode, API style, and IP configuration.
  • Confirm link status, MAC address, IP address, gateway, and netmask.
  • Confirm ping or UDP/TCP test with counters.
  • Report memory pool usage or at least configured pool sizes.
  • If DMA/cache is involved, state cache maintenance policy.

Example

User:

text
lwIP DHCP 一直拿不到 IP。

Agent:

  1. Asks for PHY link status, netif setup, lwipopts.h, RTOS mode, and DHCP logs.
  2. Confirms link callback and RX path before changing DHCP settings.
  3. Tests static IP ping to separate driver/link problems from DHCP problems.

Frequently asked questions

What does the Lwip Integration AI skill do?

Use when integrating, porting, configuring, or debugging lwIP TCP/IP stack, netif drivers, memory pools, sys_arch, DHCP, TCP, UDP, or embedded networking issues

Why use Lwip Integration on TypingMind?

Because you install it once and use it with any model. Lwip Integration is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lwip Integration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/easyzoom/aix-skills/tree/main/skills/lwip-integration. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Lwip Integration?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lwip Integration?

As many as you like. As long as a model supports skills, you can use Lwip Integration with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lwip Integration AI skill free?

Yes. It is published on GitHub by easyzoom under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇