Esp8266 Rtos Sdk Skill logo

Esp8266 Rtos Sdk Skill

Community
JasonYANG170
esp8266-rtos-sdk-skill

AI Skill for ESP8266_RTOS_SDK (esp-idf style) firmware development on the ESP8266EX chip. Used when users need to create, modify, or debug ESP8266 FreeRTOS projects, including WiFi STA/AP/ESPNOW, peripheral drivers (GPIO/UART/I2C/SPI/PWM/ADC/hw_timer), sockets/HTTP/MQTT/SNTP networking, NVS/SPIFFS storage, partition tables, OTA firmware upgrade, and sleep/power management. Trigger words: "ESP8266", "ESP8266_RTOS_SDK", "ESP8266EX", "乐鑫", "安信可", "FreeRTOS", "esp-idf style", "xtensa-lx106", "IDF_PATH", "menuconfig", "SoftAP", "ESPNOW", "smartconfig", "OTA"

Overview

PublisherJasonYANG170
Repositoryesp-dev-skill
Skill nameesp8266-rtos-sdk-skill
Stars
32
Forks
3
Bundled files
24
LicenseApache-2.0
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.

  • 24 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Esp8266 Rtos Sdk Skill 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/JasonYANG170/esp-dev-skill/tree/main/repos/ESP8266_RTOS_SDK
  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/JasonYANG170/esp-dev-skill.git /tmp/esp-dev-skill
mkdir -p .claude/skills
cp -r /tmp/esp-dev-skill/repos/ESP8266_RTOS_SDK .claude/skills/esp8266-rtos-sdk-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Esp8266 Rtos Sdk Skill 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 Esp8266 Rtos Sdk Skill 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 Esp8266 Rtos Sdk Skill 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.

ESP8266_RTOS_SDK-skill

面向 ESP8266_RTOS_SDK(esp-idf style 框架)的 AI 固件开发技能。ESP8266_RTOS_SDK 是 Espressif 官方的 ESP8266EX 芯片开发框架,自 v3.0 起采用与 esp-idf 相同的框架(component 化、app_main 入口、Kconfig/menuconfig、partition table、event loop)���本技能提供场景化 recipes、真实 API 参考、Kconfig 速查、常见陷阱与示例索引,帮助 AI 正确编写、配置、构建与烧录 ESP8266 固件。

Core Principles

  1. 框架是 esp-idf style — 入口为 app_main()(非传统 user_init),项目由 main/ + components/ 组成,通过 make menuconfig 配置 sdkconfig,由 IDF_PATH 环境变量链接到 SDK。不要混用旧版(< v3.0)NonOS SDK / RTOS SDK v2 的 API。
  2. WiFi 初始化顺序固定 — nvs_flash_init() → tcpip_adapter_init()(或 esp_netif_init())→ esp_event_loop_create_default() → esp_wifi_init(&cfg) → 注册事件处理器 → esp_wifi_set_mode() → esp_wifi_set_config() → esp_wifi_start()。
  3. WiFi 事件走 esp_event — 连接、断开、拿到 IP 分别是 WIFI_EVENT / IP_EVENT 两个 base,需分别注册 handler;WIFI_EVENT_STA_DISCONNECTED 中要手动重连。
  4. 拿 IP 靠 IP_EVENT_STA_GOT_IP — esp_wifi_connect() 只表示关联到 AP,拿到 IP 由 IP_EVENT_STA_GOT_IP 通知,应用应等该事件再发起网络请求。
  5. 错误检查用 ESP_ERROR_CHECK — 对返回 esp_err_t 的初始化类 API,用 ESP_ERROR_CHECK(esp_xxx()) 断言,错误会打印 backtrace;不要忽略初始化返回值。
  6. app_main 不能死循环阻塞 — app_main 在主任务中运行,返回后该任务被删除。长时间逻辑应放到 xTaskCreate 创建的独立任务里,app_main 仅做初始化与创建任务。
  7. GPIO 编号 0-16 — ESP8266 只有 GPIO0GPIO16 共 17 个引脚;GPIO6GPIO11 连接 flash 不可用;GPIO16 是 RTC GPIO,无内部上拉、只能作为输入/输出且特殊。gpio_config() 用 pin_bit_mask 位掩码。
  8. partition table 决定 flash 布局 — 表烧到 0x8000,factory app 默认在 0x10000;app 分区必须落在单个 1MB 集成分区内,否则启动崩溃。OTA 需至少 ota_0/ota_1 两个 app 槽 + otadata 分区。
  9. 日志用 ESP_LOGx — ESP_LOGI/E/W/D/V,需 #include "esp_log.h" 并定义 static const char *TAG = "xxx";,等级由 menuconfig 的 CONFIG_LOG_DEFAULT_LEVEL 控制;不要直接用 printf 做正式日志。
  10. ADC 与 WiFi 互斥 — adc_read_fast() 测量期间需关闭 WiFi 与中断;ADC 仅 TOUT(A0) 单通道,模式由 menuconfig 的 CONFIG_ESP8266_PHY vdd33_const 决定(255=测系统电压,否则测外部电压)。
  11. 构建用 make/CMake 双轨 — 仓库同时支持 make(GNU Make + project.mk)与 cmake(CMakeLists.txt)。示例目录里同时有 Makefile 与 CMakeLists.txt;idf.py 在该分支上优先使用 make 风格命令(make menuconfig/make flash/make monitor)。
  12. 不臆造 API — 所有函数签名、结构体、宏、Kconfig 选项必须来自 components/esp8266/include/、components/*/include/ 或 docs;查不到即视为不存在,禁止编造。
  13. 睡眠前先停 WiFi — esp_deep_sleep / esp_light_sleep_start 不会优雅关闭 WiFi 与协议栈连接(见 esp_sleep.h attention 3)。进 deep/light sleep 前必须 esp_wifi_stop(),否则 esp_light_sleep_start 返回 ESP_ERR_INVALID_STATE。deep sleep 定时唤醒还需要硬件上 XPD_DCDC 经 0Ω 接到 EXT_RSTB。

When to Use

Applicable:

  • 创建新的 ESP8266_RTOS_SDK(esp-idf style)项目
  • WiFi Station / SoftAP / APSTA / 扫描 / smartconfig / ESPNOW 应用
  • 外设驱动:GPIO、UART、I2C、SPI、PWM、ADC、hw_timer、i2s、ir
  • 网络应用:BSD sockets(TCP/UDP/组播)、HTTP 请求、HTTP server、MQTT、SNTP、mDNS、CoAP
  • 存储:NVS、SPIFFS、partition table、自定义分区
  • 固件升级:native OTA(socket)、esp_https_ota、esp_https_ota 简易接口
  • 系统与功耗:日志、复位原因、deep sleep / light sleep、power save

Not applicable:

  • 旧版 ESP8266 NonOS SDK 或 RTOS_SDK v2(API 与本项目完全不同)
  • ESP32 / ESP32-S/C 系列芯片(寄存器、GPIO 数量、双核、蓝牙均不同)—— 用对应芯片的 esp-idf
  • Arduino-ESP8266 框架(setup()/loop() 与本框架不同)
  • PCB / 原理图设计、硬件选型咨询

Scenario Quick Reference (Recipes)

当用户意图匹配下方场景时,先读对应 recipe,其中包含完整调用链、分步说明、常见错误与真实代码。

入门 / 项目

recipe场景
recipes/hello_world_project.md从零创建第一个 ESP8266_RTOS_SDK 项目(hello_world),配置 / 构建 / 烧录 / 监视
recipes/build_and_flash.mdmake 与 cmake 双轨构建、menuconfig、make flash / make monitor / make erase_flash

WiFi 联网

recipe场景
recipes/wifi_station.mdWiFi Station 连接 AP(事件 + 重连 + 拿 IP)
recipes/wifi_softap.mdWiFi SoftAP 热点(SSID/密码/认证/sta 上下线)
recipes/smartconfig.md一键配网(Esptouch / AirKiss / Esptouch v2)
recipes/espnow.mdESPNOW 设备间免连接通信(广播/单播/加密)

外设驱动

recipe场景
recipes/gpio.mdGPIO 输入输出与中断(per-pin ISR service + 队列)
recipes/uart.mdUART 驱动安装、事件队列收发、uart_write_bytes / uart_read_bytes
recipes/pwm.md软件 PWM(多通道、占空比、相位)
recipes/i2c.mdI2C 主机读写(命令链 + MPU6050 实例)

网络 / 协议

recipe场景
recipes/http_request.mdPOSIX socket 发起 HTTP GET 请求
recipes/http_server.mdesp_http_server URI handler(GET/POST/PUT、读头/查询、分块响应、动态注册)
recipes/sockets.mdBSD socket:TCP 服务端(bind/listen/accept)、TCP 客户端、UDP 组播(IP_ADD_MEMBERSHIP)
recipes/mqtt.mdesp-mqtt 客户端(TCP/SSL/双向认证/PSK/WS/WSS,事件回调订阅发布)
recipes/sntp_time.mdLwIP SNTP 对时(sntp_setservername + time() + TZ 时区)
recipes/http_ota.mdnative OTA(socket 拉取 + esp_ota_* 写分区)与 esp_https_ota 简易升级

存储

recipe场景
recipes/spiffs.mdSPIFFS 文件系统挂载与 POSIX 文件读写

功耗 / 睡眠

recipe场景
recipes/deep_sleep_power_save.mdWiFi modem sleep(esp_wifi_set_ps NONE/MIN/MAX)、deep sleep(esp_deep_sleep 定时唤醒)、light sleep(GPIO 唤醒)

GPIO 速查(ESP8266)

ESP8266EX 可用 GPIO 仅 GPIO0~GPIO16(17 个)。注意大量引脚有引导/flash 复用:

GPIO说明 / 复用注意
GPIO0Boot 模式:上电为低进入下载模式;正常运行建议避免外部强下拉
GPIO1UART0 TX(默认),用作普通 IO 需 uart_disable_swap() 并注意日志
GPIO2上电需为高(Boot 模式);常用作 I2C SCL 等
GPIO3UART0 RX(默认)
GPIO4 / GPIO5普通 IO,最常用,无 boot 约束
GPIO6~GPIO11连接 SPI flash,禁止用作普通 IO
GPIO12MTDI;上电为高可能影响 flash voltage;PWM/HSPI MISO
GPIO13MTCK;HSPI MOSI
GPIO14MTMS;HSPI CLK
GPIO15MTDO;上电需为低(Boot 模式);HSPI CS / PWM
GPIO16RTC GPIO,无内部上拉,连接 RTC、可作 deep sleep 唤醒相关,gpio_set_pull_mode 的下拉对其它 IO 无效仅对 GPIO16 生效

引脚模式由 gpio_config(gpio_config_t) 统一配置:pin_bit_mask(位掩码,如 (1ULL<<4))、mode、pull_up_en、pull_down_en、intr_type。

WiFi 工作模式与认证

枚举含义
WIFI_MODE_NULL无
WIFI_MODE_STAStation 模式
WIFI_MODE_APSoftAP 模式
WIFI_MODE_APSTAStation + SoftAP 同时
WIFI_AUTH_OPEN ~ WIFI_AUTH_WPA2_WPA3_PSK认证等级;SoftAP 示例常用 WIFI_AUTH_WPA_WPA2_PSK,无密码时设 WIFI_AUTH_OPEN

Partition Table(内置布局)

配置分区(Name, Type, SubType, Offset, Size)
Single factory app, no OTAnvs data nvs 0x9000 0x6000 · phy_init data phy 0xf000 0x1000 · factory app factory 0x10000 0xF0000
Two OTA appnvs data nvs 0x9000 0x4000 · otadata data ota 0xd000 0x2000 · phy_init data phy 0xf000 0x1000 · ota_0 app ota_0 0x10000 0xF0000 · ota_1 app ota_1 0x110000 0xF0000

自定义分区表:menuconfig 选 "Custom partition table CSV",写 CSV 后 make partition_table 生成二进制表(烧到 0x8000)。


Critical Pitfalls (Must Read)

以下是最常见的错误,任何一条都会导致固件不工作。

1. app_main 中死循环阻塞初始化

c
// ❌ WRONG — app_main 被主任务阻塞,其它系统任务无法启动
void app_main() {
    wifi_init_sta();
    while (1) {                    // 主任务被占住
        do_something_blocking();
    }
}

// ✅ CORRECT — app_main 只做初始化,长逻辑放独立任务
void app_main() {
    ESP_ERROR_CHECK(nvs_flash_init());
    wifi_init_sta();
    xTaskCreate(my_loop_task, "my_loop", 4096, NULL, 5, NULL);
}

2. 漏掉 nvs_flash_init()

c
// ❌ WRONG — esp_wifi_init 默认需要 NVS 存储校准/配置,未初始化直接返回错误
void app_main() {
    wifi_init_sta();   // 内部 esp_wifi_init 失败但被 ESP_ERROR_CHECK 触发 abort
}

// ✅ CORRECT — 先初始化 NVS(WiFi 之前的固定第一步)
void app_main() {
    esp_err_t ret = nvs_flash_init();
    if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
        ESP_ERROR_CHECK(nvs_flash_erase());
        ret = nvs_flash_init();
    }
    ESP_ERROR_CHECK(ret);
    wifi_init_sta();
}

3. 等 esp_wifi_connect 返回就以为已联网

c
// ❌ WRONG — connect 只表示开始关联,未拿到 IP,此时发 socket 会失败
esp_wifi_connect();
int s = socket(...);              // ECONN / 路由表无 IP

// ✅ CORRECT — 用事件组等待 IP_EVENT_STA_GOT_IP
// 在 event_handler 中:
//   case IP_EVENT_STA_GOT_IP: xEventGroupSetBits(s_wifi_event_group, WIFI_CONNECTED_BIT);
EventBits_t bits = xEventGroupWaitBits(s_wifi_event_group,
        WIFI_CONNECTED_BIT, pdFALSE, pdFALSE, portMAX_DELAY);
// 拿到 bit 后再发请求

4. STA 断开不重连

c
// ❌ WRONG — 只 connect 一次,断线后再也连不上
if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) {
    esp_wifi_connect();
}

// ✅ CORRECT — 在 STA_DISCONNECTED 里带计数重连
} else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) {
    if (s_retry_num < EXAMPLE_ESP_MAXIMUM_RETRY) {
        esp_wifi_connect();
        s_retry_num++;
    } else {
        xEventGroupSetBits(s_wifi_event_group, WIFI_FAIL_BIT);
    }
}

5. 使用了 GPIO6~GPIO11 或 GPIO16 上拉

c
// ❌ WRONG — GPIO6~11 接 flash,作为普通 IO 会崩溃;GPIO16 无内部上拉
gpio_set_pull_mode(GPIO_NUM_6, GPIO_PULLUP_ONLY);   // 危险

// ✅ CORRECT — 只用 GPIO0/1/2/3/4/5/12/13/14/15/16
// GPIO16 只能下拉,普通 IO 只能上拉(见 driver/gpio.h 注释)
gpio_set_pull_mode(GPIO_NUM_4, GPIO_PULLUP_ONLY);

6. 混用 esp-idf 的 esp_netif 与本仓库 tcpip_adapter

c
// ❌ WRONG — WiFi 用 tcpip_adapter_init(),应用又调 esp_netif_init(),重复/冲突
// (不同示例沿用不同 API,需成套使用)

// ✅ CORRECT — 二选一并成套
// 旧风格(station/softap/espnow 示例):
tcpip_adapter_init();
ESP_ERROR_CHECK(esp_event_loop_create_default());
// 新风格(http_request/simple_ota 示例):
ESP_ERROR_CHECK(esp_netif_init());
ESP_ERROR_CHECK(esp_event_loop_create_default());

7. UART 驱动未 install 就 read/write

c
// ❌ WRONG — 直接调 uart_write_bytes,但没 uart_driver_install
uart_write_bytes(UART_NUM_0, "hi", 2);   // 驱动未安装,行为未定义

// ✅ CORRECT — 先 param_config + driver_install
uart_param_config(UART_NUM_0, &uart_config);
uart_driver_install(UART_NUM_0, BUF_SIZE * 2, BUF_SIZE * 2, 100, &uart0_queue, 0);
uart_write_bytes(UART_NUM_0, "hi", 2);

8. PWM 改完配置不调 pwm_start

c
// ❌ WRONG — set_duty 后不 start,输出不变
pwm_set_duty(0, 200);

// ✅ CORRECT — 改 period / duty / phase / invert 后都要 pwm_start
pwm_set_duty(0, 200);
pwm_start();

9. OTA 不设 boot 分区 / 不重启

c
// ❌ WRONG — 写完镜像但不 set_boot_partition,下次仍启动旧分区
esp_ota_end(update_handle);

// ✅ CORRECT — end 成功后 set_boot_partition 再 restart
if (esp_ota_end(update_handle) == ESP_OK) {
    ESP_ERROR_CHECK(esp_ota_set_boot_partition(update_partition));
    esp_restart();
}

10. 把 factory app 偏移改成跨 1M 边界

c
# ❌ WRONG — CSV 里 ota_0/ota_1 跨越 1MB 集成分区
ota_0, app, ota_0, 0x10000,  0xF0000
ota_1, app, ota_1, 0x100000, 0xF0000   # 如果改大可能跨边界,启动崩溃

# ✅ CORRECT — app 分区必须完整落在一个 1MB 集成分区内
# 修改起始偏移时,ota_1 = ota_0 + 0x100000,并保持各自不跨边界

11. SPIFFS 挂载前分区表里没有 storage 分区

c
// ❌ WRONG — 默认 "Single factory app" 分区表没有 SPIFFS 分区,注册失败
esp_vfs_spiffs_register(&conf);   // 返回 ESP_ERR_NOT_FOUND

// ✅ CORRECT — 使用含 storage 分区的 CSV(参考 examples/storage/spiffs/partitions_example.csv)
// 并在 sdkconfig 里 CONFIG_PARTITION_TABLE_CUSTOM=y + CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv"

12. ADC 测量时未关 WiFi

c
// ❌ WRONG — WiFi 开着直接 adc_read_fast,结果抖动/无效
adc_read_fast(buf, 16);

// ✅ CORRECT — 关 WiFi 与中断后再批量读(见 driver/adc.h 注释)
// esp_wifi_stop(); / 关中断
adc_read_fast(buf, 16);
// 恢复

13. 事件 handler 注册用错 base / event_id

c
// ❌ WRONG — 拿 IP 用 WIFI_EVENT 注册(拿不到)
esp_event_handler_register(WIFI_EVENT, IP_EVENT_STA_GOT_IP, &h, NULL);

// ✅ CORRECT — IP 事件属于 IP_EVENT
esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &h, NULL);
esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &h, NULL);

14. IDF_PATH 未设置 / 工具链不在 PATH

bash
# ❌ WRONG — 直接 make,找不到 SDK 或 xtensa-lx106-elf-gcc
make menuconfig

# ✅ CORRECT — 先 export IDF_PATH 并把工具链 bin 加入 PATH
export IDF_PATH=~/esp/ESP8266_RTOS_SDK
export PATH=$PATH:~/esp/xtensa-lx106-elf/bin
make menuconfig

Execution Workflow

StepNameDescription
1明确需求确认芯片就是 ESP8266EX(不是 ESP32),确认用 esp-idf style(v3.0+)而非 NonOS
2选 recipe按意图在 recipes/ 找最接近场景,读其调用链与代码
3查 API未覆盖的函数查 resources/api_reference.md,配置项查 resources/config_reference.md
4校验确认头文件 include、函数签名、枚举、Kconfig 符号都来自仓库
5确认方案向用户说明:需要哪些 component、引脚分配、partition 表、初始化顺序、任务划分
6执行新项目:复制最接近的示例(见 resources/example_list.md)再改;已有项目:原地编辑
7自检检查 app_main 不阻塞、NVS 已初始化、GPIO 未用 6-11、错误用 ESP_ERROR_CHECK、事件 base 正确
8构建make menuconfig → make -jN(或 cmake/idf.py)
9烧录监视make flash / make flash monitor;串口波特率常用 74880(boot ROM 日志)或 115200

Step 6 Detail — 项目创建策略

目标目录尚无项目(首次创建):

  1. 根据 resources/example_list.md 选最接近的示例目录:
    • 入门 → examples/get-started/hello_world
    • WiFi STA → examples/wifi/getting_started/station
    • WiFi AP → examples/wifi/getting_started/softAP
    • 配网 → examples/wifi/smart_config
    • ESPNOW → examples/wifi/espnow
    • GPIO / UART / PWM / I2C → examples/peripherals/<name>
    • HTTP → examples/protocols/http_request;socket → examples/protocols/sockets/{tcp_client,tcp_server,udp_client,udp_server,udp_multicast}
    • MQTT → examples/protocols/mqtt/{tcp,ssl,ssl_mutual_auth,ssl_psk,ws,wss}
    • SNTP → examples/protocols/sntp;mDNS → examples/protocols/mdns
    • HTTP server → examples/protocols/http_server/{simple,persistent_sockets}
    • OTA → examples/system/ota/native_ota、examples/system/ota/simple_ota_example
    • SPIFFS → examples/storage/spiffs
  2. 复制整个示例目录到用户工作目录,保留 main/、CMakeLists.txt、Makefile、sdkconfig.defaults、partitions_*.csv 结构。
  3. 在副本上修改:改 main/*.c、调 menuconfig、改分区表。
  4. 向用户说明复制了什么、为什么。

目标目录已有项目: 就地编辑,不覆盖。


Failure Strategies

情境处理
用户其实是 ESP32 / ESP32-S3停止,告知用对应芯片的 esp-idf,本技能不适用
API 在 resources/ 查不到停止,告知用户该 API 在本仓库不存在,禁止臆造
WiFi 一直连不上检查 SSID/密码、threshold.authmode 是否过高、是否在 DISCONNECTED 里重连、信号强度
esp_wifi_init abort多半漏了 nvs_flash_init() 或 NVS 分区缺失
GPIO 中断不触发是否 gpio_install_isr_service(0) + gpio_isr_handler_add();引脚是否设为 INPUT
OTA 写完不启动新镜像漏 esp_ota_set_boot_partition 或分区表无 ota_0/ota_1/otadata
拿不到 IP是否 tcpip_adapter_init()/esp_netif_init() + esp_event_loop_create_default();DHCP 是否开启
编译报 xtensa-lx106-elf-gcc not found工具链未装/未加 PATH;装 v8.4.0 工具链
make menuconfig 报 IDF_PATH未 export IDF_PATH 或路径含空格

References

  • 场景 recipes → recipes/ 目录
  • API 速查(WiFi / 外设 / 系统 / 网络 / 存储) → resources/api_reference.md
  • Kconfig / menuconfig 常用配置 → resources/config_reference.md
  • 常见陷阱汇总 → resources/pitfalls.md
  • 示例项目索引(真实路径) → resources/example_list.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Esp8266 Rtos Sdk Skill AI skill do?

AI Skill for ESP8266_RTOS_SDK (esp-idf style) firmware development on the ESP8266EX chip. Used when users need to create, modify, or debug ESP8266 FreeRTOS projects, including WiFi STA/AP/ESPNOW, peripheral drivers (GPIO/UART/I2C/SPI/PWM/ADC/hw_timer), sockets/HTTP/MQTT/SNTP networking, NVS/SPIFFS storage, partition tables, OTA firmware upgrade, and sleep/power management. Trigger words: "ESP8266", "ESP8266_RTOS_SDK", "ESP8266EX", "乐鑫", "安信可", "FreeRTOS", "esp-idf style", "xtensa-lx106", "IDF_PATH", "menuconfig", "SoftAP", "ESPNOW", "smartconfig", "OTA"

Why use Esp8266 Rtos Sdk Skill on TypingMind?

Because you install it once and use it with any model. Esp8266 Rtos Sdk Skill 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 Esp8266 Rtos Sdk Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/JasonYANG170/esp-dev-skill/tree/main/repos/ESP8266_RTOS_SDK. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Esp8266 Rtos Sdk Skill?

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 Esp8266 Rtos Sdk Skill?

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

Is the Esp8266 Rtos Sdk Skill AI skill free?

Yes. It is published on GitHub by JasonYANG170 under the Apache-2.0 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 👇