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_0038", "category": "tasks_basic", "tags": [ "task", "handle", "vTaskDelete" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTaskCreate", "vTaskDelete" ], "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": "event_groups_0001", "category": "event_groups", "tags": [ "create", "event-group" ], "difficulty": "beginner", "style": "qa", "apis": [ "xEventGroupCreate", "vEventGroupDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "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": "compare_choose_0028", "category": "compare_choose", "tags": [ "smp", "pinToCore" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreatePinnedToCore", "xTaskCreate" ], "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_0011", "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": "tasks_smp_0067", "category": "tasks_smp", "tags": [ "amp", "architecture", "smp" ], "difficulty": "advanced", "style": "compare", "apis": [ "xTaskCreatePinnedToCore", "xQueueCreate" ], "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_0020", "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": "ringbuf_0024", "category": "ringbuf", "tags": [ "bytebuf", "stream", "vRingbufferReturnItem" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xRingbufferSend", "xRingbufferReceiveUpTo", "vRingbufferReturnItem" ], "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_0026", "category": "patterns", "tags": [ "dma", "double-buffer" ], "difficulty": "advanced", "style": "qa", "apis": [ "xSemaphoreGiveFromISR", "heap_caps_malloc" ], "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": "timers_freertos_0017", "category": "timers_freertos", "tags": [ "timer-id", "context" ], "difficulty": "intermediate", "style": "qa", "apis": [ "pvTimerGetTimerID", "vTimerSetTimerID" ], "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_0073", "category": "semaphores_mutexes", "tags": [ "mutex", "critical-data" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake", "xSemaphoreGive" ], "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": "ringbuf_0036", "category": "ringbuf", "tags": [ "nosplit", "sizing" ], "difficulty": "advanced", "style": "qa", "apis": [ "xRingbufferCreateNoSplit", "xRingbufferSend" ], "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_0009", "category": "semaphores_mutexes", "tags": [ "deadlock", "lock-order" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xSemaphoreTake", "xSemaphoreCreateMutex" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_...
[ { "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_0024", "category": "memory_heap", "tags": [ "multi-heap", "DMA" ], "difficulty": "advanced", "style": "qa", "apis": [ "heap_caps_get_info" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "multi_heap_intern...
[ { "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_0065", "category": "timers_freertos", "tags": [ "timer-id", "context" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "pvTimerGetTimerID", "vTimerSetTimerID" ], "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_0072", "category": "patterns", "tags": [ "pipeline", "smp" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueSend", "xTaskNotifyGive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "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": "compare_choose_0056", "category": "compare_choose", "tags": [ "recursive-mutex", "mutex" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xSemaphoreCreateRecursiveMutex", "xSemaphoreCreateMutex" ], "esp_idf_version_note": "v5.x conceptual", "source": "generate...
[ { "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_0040", "category": "ringbuf", "tags": [ "ownership", "latency", "vRingbufferReturnItem" ], "difficulty": "advanced", "style": "qa", "apis": [ "xRingbufferReceive", "vRingbufferReturnItem" ], "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": "patterns_0059", "category": "patterns", "tags": [ "actor", "message-passing" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "a...
[ { "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_0078", "category": "debug_troubleshoot", "tags": [ "timer", "daemon" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerStart", "xTimerCreate" ], "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": "queues_0032", "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_0037", "category": "event_groups", "tags": [ "create", "event-group" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xEventGroupCreate", "vEventGroupDelete" ], "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_0004", "category": "notifications", "tags": [ "indexed", "notification" ], "difficulty": "advanced", "style": "debug", "apis": [ "xTaskNotifyIndexed", "xTaskNotifyWaitIndexed", "ulTaskNotifyTakeIndexed" ], "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": "event_groups_0067", "category": "event_groups", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_event_gr...
[ { "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_0050", "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": "isr_critical_0041", "category": "isr_critical", "tags": [ "error-handling", "isr" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "configASSERT" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "assert_...
[ { "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_0008", "category": "isr_critical", "tags": [ "deadlock", "portMUX" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "nested_...
[ { "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_0024", "category": "notifications", "tags": [ "handle" ], "difficulty": "beginner", "style": "compare", "apis": [ "xTaskNotifyGive", "xTaskGetCurrentTaskHandle" ], "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": "tasks_basic_0118", "category": "tasks_basic", "tags": [ "stack", "high-water-mark" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreate", "uxTaskGetStackHighWaterMark" ], "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_0029", "category": "tasks_smp", "tags": [ "wifi", "partitioning", "smp" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_ite...
[ { "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_0069", "category": "tasks_basic", "tags": [ "app_main", "scheduler", "idf" ], "difficulty": "beginner", "style": "qa", "apis": [ "vTaskStartScheduler" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "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": "timers_freertos_0009", "category": "timers_freertos", "tags": [ "pend", "deferred", "isr" ], "difficulty": "advanced", "style": "debug", "apis": [ "xTimerPendFunctionCall", "xTimerPendFunctionCallFromISR" ], "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": "patterns_0064", "category": "patterns", "tags": [ "isr", "deferred" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskNotifyGiveFromISR", "xQueueSendFromISR" ], "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": "semaphores_mutexes_0018", "category": "semaphores_mutexes", "tags": [ "recursive-mutex" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateRecursiveMutex", "xSemaphoreTakeRecursive", "xSemaphoreGiveRecursive" ], "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": "tasks_smp_0009", "category": "tasks_smp", "tags": [ "fpu", "isr", "smp" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "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": "timers_freertos_0068", "category": "timers_freertos", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_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": "tasks_smp_0041", "category": "tasks_smp", "tags": [ "wifi", "partitioning", "smp" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreatePinnedToCore" ], "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": "notifications_0014", "category": "notifications", "tags": [ "value", "eSetBits", "mailbox" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "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": "event_groups_0024", "category": "event_groups", "tags": [ "timeout", "partial" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "tim...
[ { "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_0053", "category": "debug_troubleshoot", "tags": [ "assert" ], "difficulty": "beginner", "style": "debug", "apis": [ "configASSERT" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "assert_configassert" }
[ { "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_0028", "category": "tasks_basic", "tags": [ "stack", "high-water-mark" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xTaskCreate", "uxTaskGetStackHighWaterMark" ], "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_0003", "category": "debug_troubleshoot", "tags": [ "priority-inversion" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreCreateBinary" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "mu...
[ { "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_0004", "category": "timers_esp", "tags": [ "compare", "choose" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_timer_start_periodic", "xTimerStart" ], "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": "memory_heap_0046", "category": "memory_heap", "tags": [ "static-alloc", "design" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueCreateStatic", "xTaskCreateStatic" ], "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": "tasks_basic_0114", "category": "tasks_basic", "tags": [ "priority", "scheduling" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskPrioritySet", "uxTaskPriorityGet" ], "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_0044", "category": "semaphores_mutexes", "tags": [ "counting-semaphore", "pool" ], "difficulty": "intermediate", "style": "compare", "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": "tasks_smp_0038", "category": "tasks_smp", "tags": [ "static", "pinToCore" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xTaskCreateStaticPinnedToCore" ], "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": "hooks_tls_wdt_0025", "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": "queues_0030", "category": "queues", "tags": [ "multi-producer", "demux" ], "difficulty": "beginner", "style": "checklist", "apis": [ "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "multi_producer" }
[ { "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_0035", "category": "patterns", "tags": [ "supervisor", "reliability" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskCreate", "vTaskDelete", "xEventGroupSetBits" ], "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_0063", "category": "memory_heap", "tags": [ "multi-heap", "DMA" ], "difficulty": "advanced", "style": "qa", "apis": [ "heap_caps_get_info" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "multi_heap_intern...
[ { "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_0032", "category": "hooks_tls_wdt", "tags": [ "tick-hook", "isr" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_register_freertos_tick_hook", "esp_register_freertos_tick_hook_for_cpu" ], "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": "stream_msg_buffers_0031", "category": "stream_msg_buffers", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "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": "notifications_0006", "category": "notifications", "tags": [ "state", "clear-masks" ], "difficulty": "advanced", "style": "qa", "apis": [ "xTaskNotifyStateClear", "xTaskNotifyWait" ], "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_0060", "category": "patterns", "tags": [ "fsm", "architecture" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueReceive", "xEventGroupSetBits", "xTimerStart" ], "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": "tasks_smp_0034", "category": "tasks_smp", "tags": [ "load-balance", "stats", "smp" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreatePinnedToCore", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": 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": "isr_critical_0050", "category": "isr_critical", "tags": [ "deadlock", "portMUX" ], "difficulty": "advanced", "style": "compare", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "nested_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_0033", "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": "hooks_tls_wdt_0026", "category": "hooks_tls_wdt", "tags": [ "lifecycle", "TWDT" ], "difficulty": "intermediate", "style": "compare", "apis": [ "esp_task_wdt_delete", "esp_task_wdt_deinit" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": 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": "queues_0043", "category": "queues", "tags": [ "reset", "queue" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueReset" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "reset_queue" }
[ { "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_0067", "category": "timers_freertos", "tags": [ "FromISR", "timer" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerStartFromISR", "xTimerResetFromISR", "xTimerStopFromISR" ], "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": "compare_choose_0011", "category": "compare_choose", "tags": [ "recursive-mutex", "mutex" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreCreateRecursiveMutex", "xSemaphoreCreateMutex" ], "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": "compare_choose_0021", "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": "memory_heap_0021", "category": "memory_heap", "tags": [ "DMA", "alignment" ], "difficulty": "advanced", "style": "compare", "apis": [ "heap_caps_aligned_alloc", "heap_caps_malloc" ], "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_0014", "category": "tasks_basic", "tags": [ "yield", "timeslice" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "taskYIELD", "vTaskDelay" ], "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": "tasks_basic_0023", "category": "tasks_basic", "tags": [ "delay", "periodic", "vTaskDelayUntil" ], "difficulty": "intermediate", "style": "compare", "apis": [ "vTaskDelayUntil", "xTaskGetTickCount" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "mu...
[ { "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_0029", "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": "event_groups_0031", "category": "event_groups", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xEventGroupCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "static_event_...
[ { "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_0081", "category": "semaphores_mutexes", "tags": [ "lifecycle", "delete" ], "difficulty": "intermediate", "style": "compare", "apis": [ "vSemaphoreDelete" ], "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": "compare_choose_0037", "category": "compare_choose", "tags": [ "ringbuf", "compare" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xRingbufferSend", "xMessageBufferSend", "xStreamBufferSend" ], "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": "timers_freertos_0015", "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": "event_groups_0054", "category": "event_groups", "tags": [ "init", "ready-flags" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xEventGroupSetBits", "xEventGroupWaitBits" ], "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": "tasks_basic_0104", "category": "tasks_basic", "tags": [ "yield", "timeslice" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "taskYIELD", "vTaskDelay" ], "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": "tasks_smp_0047", "category": "tasks_smp", "tags": [ "mutex", "smp", "synchronization" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_...
[ { "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_0074", "category": "queues", "tags": [ "pointer-queue", "ownership" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xQueueSend", "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": "memory_heap_0013", "category": "memory_heap", "tags": [ "pool", "pattern" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueCreate", "heap_caps_malloc" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_ite...
[ { "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_0052", "category": "semaphores_mutexes", "tags": [ "critical-section", "mutex", "compare" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreTake", "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generate...
[ { "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_0003", "category": "event_groups", "tags": [ "clear", "get" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xEventGroupClearBits", "xEventGroupGetBits" ], "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": "patterns_0067", "category": "patterns", "tags": [ "ownership", "bus", "i2c" ], "difficulty": "intermediate", "style": "compare", "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": "tasks_basic_0024", "category": "tasks_basic", "tags": [ "priority", "scheduling" ], "difficulty": "beginner", "style": "checklist", "apis": [ "vTaskPrioritySet", "uxTaskPriorityGet" ], "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_0064", "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": "debug_troubleshoot_0067", "category": "debug_troubleshoot", "tags": [ "priority-inversion" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreCreateBinary" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi...
[ { "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_0027", "category": "tasks_smp", "tags": [ "core-id", "smp" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xPortGetCoreID" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xport_get_core_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_0050", "category": "compare_choose", "tags": [ "counting-semaphore", "queue" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xSemaphoreCreateCounting", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi...
[ { "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_0026", "category": "notifications", "tags": [ "value", "eSetBits", "mailbox" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "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_0017", "category": "tasks_smp", "tags": [ "wifi", "partitioning", "smp" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreatePinnedToCore" ], "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": "timers_freertos_0056", "category": "timers_freertos", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_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": "tasks_basic_0109", "category": "tasks_basic", "tags": [ "task", "xTaskCreate", "stack-bytes" ], "difficulty": "beginner", "style": "checklist", "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": "patterns_0053", "category": "patterns", "tags": [ "ownership", "bus", "i2c" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "xSemaphoreCreateMutex" ], "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": "tasks_basic_0025", "category": "tasks_basic", "tags": [ "state", "eTaskGetState", "debug" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "eTaskGetState" ], "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_0012", "category": "compare_choose", "tags": [ "static-alloc", "dynamic" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueCreateStatic", "xQueueCreate" ], "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": "isr_critical_0014", "category": "isr_critical", "tags": [ "softirq", "pend" ], "difficulty": "advanced", "style": "compare", "apis": [ "xTimerPendFunctionCallFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "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": "isr_critical_0054", "category": "isr_critical", "tags": [ "float", "isr" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "float_in_isr_fo...
[ { "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_0006", "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": "timers_freertos_0011", "category": "timers_freertos", "tags": [ "scalability", "design" ], "difficulty": "advanced", "style": "compare", "apis": [ "xTimerCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "many_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": "event_groups_0033", "category": "event_groups", "tags": [ "wait-any", "wait-all" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "wait_...
[ { "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_0021", "category": "ringbuf", "tags": [ "create", "types" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xRingbufferCreate", "vRingbufferDelete" ], "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": "compare_choose_0016", "category": "compare_choose", "tags": [ "queue", "notification" ], "difficulty": "beginner", "style": "compare", "apis": [ "xQueueSend", "xTaskNotify" ], "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": "stream_msg_buffers_0024", "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": "debug_troubleshoot_0014", "category": "debug_troubleshoot", "tags": [ "timer", "daemon" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTimerStart", "xTimerCreate" ], "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": "ringbuf_0006", "category": "ringbuf", "tags": [ "nosplit", "sizing" ], "difficulty": "advanced", "style": "compare", "apis": [ "xRingbufferCreateNoSplit", "xRingbufferSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_it...