Guides lwIP TCP/IP stack integration and debugging for embedded systems: netif drivers, memory pools, sys_arch, DHCP, TCP/UDP, and threading model.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Use this skill when:
lwipopts.h, sys_arch, netif, DHCP, TCP/UDP, pbufs, memory pools, packet loss, or hard faults in networking.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.
Ask for:
lwipopts.h, memory sizes, pbuf pool settings, and enabled protocols.Confirm link before IP. Verify PHY/module link, MAC address, link callbacks, and carrier status before debugging DHCP or TCP.
Confirm netif glue.
netif_add, input path, output path, MTU, flags, hostname, and link/status callbacks must match the driver.
Match threading model. Do not call raw API from arbitrary threads. Use tcpip callbacks or socket/netconn APIs according to configuration.
Size memory deliberately.
Check MEM_SIZE, MEMP_NUM_*, PBUF_POOL_SIZE, TCP windows, mailbox sizes, and stack sizes.
Implement OS abstraction if needed.
For RTOS ports, sys_arch must provide semaphores, mutexes, mailboxes, timeouts, and critical sections.
Verify with layered tests. Link, static IP, ARP, ping, UDP echo, TCP connect, sustained transfer, and reconnect.
Before claiming lwIP works:
User:
lwIP DHCP 一直拿不到 IP。
Agent:
netif setup, lwipopts.h, RTOS mode, and DHCP logs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/aix-skills:lwip-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumpsOther plugins' skills for the same job