用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AeonDave/malskill --skill esp32命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | esp32 |
| description | ESP32 programming: Wi-Fi/BLE integration, GPIO muxing, FreeRTOS tasks, and power management. |
Goal: Develop embedded applications on ESP32 MCUs, utilizing its dual-core CPU, Wi-Fi/BLE radios, and advanced peripheral matrix.
#include <WiFi.h>
void setup() {
WiFi.mode(WIFI_STA);
WiFi.begin("SSID", "PASSWORD");
while (WiFi.status() != WL_CONNECTED) { delay(500); }
}
ESP32 runs FreeRTOS by default. Avoid blocking loop(); instead, spawn isolated tasks (especially to pin 0 vs pin 1).
void myTask(void * parameter) {
for(;;) {
// Task logic
vTaskDelay(100 / portTICK_PERIOD_MS);
}
}
void setup() {
xTaskCreatePinnedToCore(
myTask, /* Function to implement the task */
"Task1", /* Name of the task */
10000, /* Stack size in words */
NULL, /* Task input parameter */
1, /* Priority of the task */
NULL, /* Task handle */
0); /* Core where the task should run */
}