messages
listlengths
3
5
meta
dict
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0030", "category": "tasks_basic", "tags": [ "idle", "starvation", "wdt" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreate", "vTaskDelay" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0008", "category": "event_groups", "tags": [ "fsm", "bits" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xEventGroupSetBits", "xEventGroupClearBits", "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated",...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0050", "category": "timers_esp", "tags": [ "lifecycle", "teardown" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_timer_stop", "esp_timer_delete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_it...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0054", "category": "timers_freertos", "tags": [ "daemon", "priority", "jitter" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTimerCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0005", "category": "isr_critical", "tags": [ "critical-isr", "portMUX" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "taskENTER_CRITICAL_ISR", "taskEXIT_CRITICAL_ISR", "portMUX_TYPE" ], "esp_idf_version_note": "v5.x conceptual", "source": "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0078", "category": "patterns", "tags": [ "isr", "deferred" ], "difficulty": "beginner", "style": "compare", "apis": [ "vTaskNotifyGiveFromISR", "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_it...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0018", "category": "timers_esp", "tags": [ "init", "boot" ], "difficulty": "beginner", "style": "qa", "apis": [ "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "early_init_order" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0049", "category": "hooks_tls_wdt", "tags": [ "logging", "tls" ], "difficulty": "intermediate", "style": "debug", "apis": [ "pvTaskGetThreadLocalStoragePointer", "vTaskSetThreadLocalStoragePointer" ], "esp_idf_version_note": "v5.x conceptual", "source": "genera...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0040", "category": "compare_choose", "tags": [ "event-group", "notification" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupSetBits", "xTaskNotify" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": fals...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0054", "category": "memory_heap", "tags": [ "PSRAM", "SPIRAM" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "heap_caps_malloc" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "psram_usage...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0022", "category": "queues", "tags": [ "overwrite", "latest-value" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueOverwrite", "xQueueOverwriteFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0094", "category": "tasks_basic", "tags": [ "delay", "vTaskDelay", "ticks" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelay", "pdMS_TO_TICKS" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0038", "category": "notifications", "tags": [ "value", "eSetBits", "mailbox" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0069", "category": "tasks_smp", "tags": [ "fpu", "isr", "smp" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "flo...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0033", "category": "timers_esp", "tags": [ "timestamp", "profiling" ], "difficulty": "beginner", "style": "compare", "apis": [ "esp_timer_get_time" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "esp_timer...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0037", "category": "queues", "tags": [ "peek", "queue" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueuePeek", "xQueuePeekFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xque...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0016", "category": "queues", "tags": [ "isr", "tuning", "queue" ], "difficulty": "advanced", "style": "compare", "apis": [ "xQueueSendFromISR", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0038", "category": "isr_critical", "tags": [ "stack", "isr" ], "difficulty": "intermediate", "style": "qa", "apis": [ "IRAM_ATTR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "isr_stack" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0053", "category": "stream_msg_buffers", "tags": [ "trigger-level" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferSetTriggerLevel", "xStreamBufferReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_tu...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0004", "category": "compare_choose", "tags": [ "mutex", "critical-section" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xSemaphoreTake", "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0052", "category": "patterns", "tags": [ "periodic", "event-driven" ], "difficulty": "intermediate", "style": "qa", "apis": [ "vTaskDelayUntil", "xQueueReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0097", "category": "queues", "tags": [ "queue", "create" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueCreate", "vQueueDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xqueuecreate_ba...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0076", "category": "debug_troubleshoot", "tags": [ "context", "FromISR" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueSend", "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0038", "category": "compare_choose", "tags": [ "timer", "esp_timer" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xTimerCreate", "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0017", "category": "compare_choose", "tags": [ "queue", "event-group" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueSend", "xEventGroupSetBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0051", "category": "patterns", "tags": [ "pubsub", "event-group" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xEventGroupSetBits", "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0057", "category": "patterns", "tags": [ "producer-consumer", "queue" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueCreate", "xQueueSend", "xQueueReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0057", "category": "compare_choose", "tags": [ "static-alloc", "dynamic" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueCreateStatic", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "f...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0032", "category": "event_groups", "tags": [ "fsm", "bits" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupSetBits", "xEventGroupClearBits", "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "m...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0023", "category": "tasks_smp", "tags": [ "mutex", "smp", "synchronization" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0074", "category": "semaphores_mutexes", "tags": [ "recursive-mutex" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreCreateRecursiveMutex", "xSemaphoreTakeRecursive", "xSemaphoreGiveRecursive" ], "esp_idf_version_note": "v5.x conceptual"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0057", "category": "tasks_basic", "tags": [ "task", "static-alloc", "xTaskCreateStatic" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xTaskCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0023", "category": "queues", "tags": [ "queue-set", "multiplex" ], "difficulty": "advanced", "style": "debug", "apis": [ "xQueueCreateSet", "xQueueAddToSet", "xQueueSelectFromSet" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0102", "category": "tasks_basic", "tags": [ "idle", "starvation", "wdt" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreate", "vTaskDelay" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0027", "category": "tasks_basic", "tags": [ "parameters", "lifetime" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "task_paramete...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0011", "category": "notifications", "tags": [ "counting", "burst" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vTaskNotifyGiveFromISR", "ulTaskNotifyTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": f...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0007", "category": "ringbuf", "tags": [ "metrics", "debug" ], "difficulty": "intermediate", "style": "debug", "apis": [ "vRingbufferGetInfo", "xRingbufferGetMaxItemSize" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fac...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0015", "category": "hooks_tls_wdt", "tags": [ "idle", "starvation", "TWDT" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_task_wdt_reset", "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "mult...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0012", "category": "ringbuf", "tags": [ "send", "receive", "return", "vRingbufferReturnItem" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xRingbufferSend", "xRingbufferReceive", "vRingbufferReturnItem" ], "esp_idf_version_note": "v5.x conce...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0006", "category": "hooks_tls_wdt", "tags": [ "lifecycle", "TWDT" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_task_wdt_delete", "esp_task_wdt_deinit" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0016", "category": "tasks_smp", "tags": [ "affinity", "smp" ], "difficulty": "advanced", "style": "qa", "apis": [ "vTaskCoreAffinitySet", "vTaskCoreAffinityGet" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0051", "category": "stream_msg_buffers", "tags": [ "FromISR", "stream-buffer" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferSendFromISR", "xStreamBufferReceiveFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "gener...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0035", "category": "memory_heap", "tags": [ "leak", "debug" ], "difficulty": "intermediate", "style": "debug", "apis": [ "heap_caps_get_free_size" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "heap_traci...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0058", "category": "isr_critical", "tags": [ "yield", "latency" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "portYIELD_FROM_ISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "yield_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0013", "category": "semaphores_mutexes", "tags": [ "priority-ceiling", "inversion" ], "difficulty": "advanced", "style": "qa", "apis": [ "vTaskPrioritySet", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0031", "category": "patterns", "tags": [ "actor", "message-passing" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0036", "category": "compare_choose", "tags": [ "stream-buffer", "message-buffer", "queue" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferSend", "xMessageBufferSend", "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "s...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0096", "category": "queues", "tags": [ "isr", "tuning", "queue" ], "difficulty": "advanced", "style": "qa", "apis": [ "xQueueSendFromISR", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0046", "category": "event_groups", "tags": [ "compare", "notification" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupSetBits", "xTaskNotify" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fa...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0082", "category": "semaphores_mutexes", "tags": [ "counting-semaphore", "isr" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateCounting" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0043", "category": "stream_msg_buffers", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xStreamBufferCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0060", "category": "event_groups", "tags": [ "timeout", "partial" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "timeout_p...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0055", "category": "tasks_basic", "tags": [ "task", "xTaskCreate", "stack-bytes" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0047", "category": "memory_heap", "tags": [ "DMA", "alignment" ], "difficulty": "advanced", "style": "qa", "apis": [ "heap_caps_aligned_alloc", "heap_caps_malloc" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0041", "category": "timers_esp", "tags": [ "esp_timer", "periodic" ], "difficulty": "beginner", "style": "qa", "apis": [ "esp_timer_create", "esp_timer_start_periodic", "esp_timer_stop", "esp_timer_delete" ], "esp_idf_version_note": "v5.x conceptual", "sou...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0026", "category": "semaphores_mutexes", "tags": [ "counting-semaphore", "isr" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateCounting" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0043", "category": "tasks_basic", "tags": [ "state", "eTaskGetState", "debug" ], "difficulty": "beginner", "style": "debug", "apis": [ "eTaskGetState" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "ta...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0066", "category": "debug_troubleshoot", "tags": [ "deadlock", "mutex" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xSemaphoreTake", "uxTaskGetSystemState" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0003", "category": "compare_choose", "tags": [ "mutex", "semaphore" ], "difficulty": "beginner", "style": "qa", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreCreateBinary" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": fal...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0020", "category": "ringbuf", "tags": [ "ownership", "latency", "vRingbufferReturnItem" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xRingbufferReceive", "vRingbufferReturnItem" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated",...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0060", "category": "timers_freertos", "tags": [ "stop", "start" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTimerStop", "xTimerStart" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0038", "category": "semaphores_mutexes", "tags": [ "critical-section", "mutex", "compare" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xSemaphoreTake", "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "gen...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0053", "category": "memory_heap", "tags": [ "heap_caps", "DMA" ], "difficulty": "beginner", "style": "debug", "apis": [ "heap_caps_malloc", "heap_caps_free", "heap_caps_get_free_size" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "mul...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0061", "category": "tasks_basic", "tags": [ "state", "eTaskGetState", "debug" ], "difficulty": "beginner", "style": "debug", "apis": [ "eTaskGetState" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "ta...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0084", "category": "tasks_basic", "tags": [ "idle", "starvation", "wdt" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreate", "vTaskDelay" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0045", "category": "semaphores_mutexes", "tags": [ "mutex", "critical-data" ], "difficulty": "beginner", "style": "qa", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake", "xSemaphoreGive" ], "esp_idf_version_note": "v5.x conceptual", "source": "gener...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0006", "category": "patterns", "tags": [ "backpressure", "flow-control" ], "difficulty": "advanced", "style": "qa", "apis": [ "xQueueSend", "uxQueueSpacesAvailable" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0048", "category": "tasks_smp", "tags": [ "boot", "smp", "init" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "star...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0001", "category": "patterns", "tags": [ "producer-consumer", "queue" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueCreate", "xQueueSend", "xQueueReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0005", "category": "compare_choose", "tags": [ "counting-semaphore", "queue" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreCreateCounting", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0002", "category": "debug_troubleshoot", "tags": [ "deadlock", "mutex" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xSemaphoreTake", "uxTaskGetSystemState" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0051", "category": "compare_choose", "tags": [ "stream-buffer", "message-buffer", "queue" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xStreamBufferSend", "xMessageBufferSend", "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual",...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0011", "category": "patterns", "tags": [ "ownership", "bus", "i2c" ], "difficulty": "intermediate", "style": "migrate", "apis": [ "xQueueSend", "xSemaphoreCreateMutex" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0048", "category": "queues", "tags": [ "isr", "tuning", "queue" ], "difficulty": "advanced", "style": "debug", "apis": [ "xQueueSendFromISR", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0012", "category": "semaphores_mutexes", "tags": [ "counting-semaphore", "isr" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateCounting" ], "esp_idf_version_note": "v5.x conceptual", "source": "gene...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0092", "category": "tasks_basic", "tags": [ "task", "handle", "vTaskDelete" ], "difficulty": "beginner", "style": "debug", "apis": [ "xTaskCreate", "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fac...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0008", "category": "tasks_smp", "tags": [ "isr", "smp", "deferred" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "isr_cor...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0040", "category": "debug_troubleshoot", "tags": [ "interrupt-wdt", "critical-section" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0024", "category": "timers_freertos", "tags": [ "stop", "start" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTimerStop", "xTimerStart" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "re...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0032", "category": "compare_choose", "tags": [ "queue", "event-group" ], "difficulty": "beginner", "style": "debug", "apis": [ "xQueueSend", "xEventGroupSetBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0027", "category": "timers_freertos", "tags": [ "change-period" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTimerChangePeriod", "xTimerChangePeriodFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0057", "category": "memory_heap", "tags": [ "OOM", "fragmentation" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_malloc", "heap_caps_get_largest_free_block" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0072", "category": "semaphores_mutexes", "tags": [ "counting-semaphore", "pool" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateCounting", "xSemaphoreTake", "xSemaphoreGive" ], "esp_idf_version_note": "v5.x conceptual", ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0022", "category": "memory_heap", "tags": [ "leak", "debug" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_get_free_size" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "heap_tracing...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0034", "category": "stream_msg_buffers", "tags": [ "reset" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xStreamBufferReset" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "reset_str...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0001", "category": "debug_troubleshoot", "tags": [ "stack-overflow" ], "difficulty": "intermediate", "style": "compare", "apis": [ "uxTaskGetStackHighWaterMark", "vApplicationStackOverflowHook" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0079", "category": "debug_troubleshoot", "tags": [ "triage", "multi-turn" ], "difficulty": "intermediate", "style": "debug", "apis": [ "uxTaskGetStackHighWaterMark", "esp_task_wdt_reset", "vTaskList" ], "esp_idf_version_note": "v5.x conceptual", "sourc...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0002", "category": "ringbuf", "tags": [ "send", "receive", "return", "vRingbufferReturnItem" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xRingbufferSend", "xRingbufferReceive", "vRingbufferReturnItem" ], "esp_idf_version_note": "v5.x co...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0039", "category": "ringbuf", "tags": [ "compare" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xRingbufferSend", "xMessageBufferSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "vs_mess...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0012", "category": "stream_msg_buffers", "tags": [ "query" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xStreamBufferIsEmpty", "xStreamBufferIsFull" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0033", "category": "hooks_tls_wdt", "tags": [ "tls", "thread-local" ], "difficulty": "intermediate", "style": "qa", "apis": [ "vTaskSetThreadLocalStoragePointer", "pvTaskGetThreadLocalStoragePointer" ], "esp_idf_version_note": "v5.x conceptual", "source": "gene...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0036", "category": "notifications", "tags": [ "handle" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTaskNotifyGive", "xTaskGetCurrentTaskHandle" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0049", "category": "timers_esp", "tags": [ "scalability" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "multiple_esp_timers" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0033", "category": "compare_choose", "tags": [ "mutex", "semaphore" ], "difficulty": "beginner", "style": "qa", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreCreateBinary" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": fal...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0033", "category": "memory_heap", "tags": [ "static-alloc", "design" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueCreateStatic", "xTaskCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": fals...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0059", "category": "tasks_smp", "tags": [ "mutex", "smp", "synchronization" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_t...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0043", "category": "notifications", "tags": [ "pipeline", "pattern" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskNotifyGive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "give...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0089", "category": "tasks_basic", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "qa", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "max_priorities_de...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0046", "category": "timers_freertos", "tags": [ "query", "debug" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTimerIsTimerActive", "xTimerGetExpiryTime" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": tru...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0075", "category": "semaphores_mutexes", "tags": [ "priority-inversion", "inheritance" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "genera...