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": "notifications_0033", "category": "notifications", "tags": [ "compare", "semaphore" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTaskNotifyGive", "xSemaphoreCreateBinary" ], "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_0021", "category": "debug_troubleshoot", "tags": [ "assert" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "configASSERT" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "assert_configasser...
[ { "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_0072", "category": "queues", "tags": [ "static-alloc", "queue" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_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": "isr_critical_0024", "category": "isr_critical", "tags": [ "stack", "isr" ], "difficulty": "intermediate", "style": "debug", "apis": [ "IRAM_ATTR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "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": "ringbuf_0019", "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": "event_groups_0005", "category": "event_groups", "tags": [ "sync", "barrier", "rendezvous" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xEventGroupSync" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_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_0008", "category": "patterns", "tags": [ "isr", "deferred" ], "difficulty": "beginner", "style": "qa", "apis": [ "vTaskNotifyGiveFromISR", "xQueueSendFromISR" ], "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_0032", "category": "patterns", "tags": [ "fsm", "architecture" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueReceive", "xEventGroupSetBits", "xTimerStart" ], "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": "stream_msg_buffers_0038", "category": "stream_msg_buffers", "tags": [ "message-buffer" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xMessageBufferCreate", "xMessageBufferSend", "xMessageBufferReceive" ], "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": "patterns_0003", "category": "patterns", "tags": [ "actor", "message-passing" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_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": "event_groups_0042", "category": "event_groups", "tags": [ "init", "ready-flags" ], "difficulty": "intermediate", "style": "debug", "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": "isr_critical_0068", "category": "isr_critical", "tags": [ "float", "isr" ], "difficulty": "beginner", "style": "debug", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "float_in_isr_forbi...
[ { "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_0061", "category": "debug_troubleshoot", "tags": [ "smp", "race" ], "difficulty": "advanced", "style": "qa", "apis": [ "xSemaphoreTake", "taskENTER_CRITICAL" ], "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": "debug_troubleshoot_0054", "category": "debug_troubleshoot", "tags": [ "queue", "hang" ], "difficulty": "intermediate", "style": "qa", "apis": [ "uxQueueMessagesWaiting", "xQueueSend" ], "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_0029", "category": "debug_troubleshoot", "tags": [ "smp", "race" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xSemaphoreTake", "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": "stream_msg_buffers_0018", "category": "stream_msg_buffers", "tags": [ "query", "partial" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xStreamBufferSpacesAvailable", "xStreamBufferBytesAvailable" ], "esp_idf_version_note": "v5.x conceptual", "source": "generat...
[ { "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_0014", "category": "tasks_smp", "tags": [ "static", "pinToCore" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreateStaticPinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "stat...
[ { "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_0071", "category": "debug_troubleshoot", "tags": [ "heap", "OOM" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_get_free_size", "heap_caps_get_largest_free_block" ], "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": "queues_0045", "category": "queues", "tags": [ "zero-copy", "compare" ], "difficulty": "advanced", "style": "migrate", "apis": [ "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "zero_copy_patterns" }
[ { "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_0060", "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": "timers_freertos_0070", "category": "timers_freertos", "tags": [ "query", "debug" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTimerIsTimerActive", "xTimerGetExpiryTime" ], "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": "ringbuf_0031", "category": "ringbuf", "tags": [ "create", "types" ], "difficulty": "intermediate", "style": "compare", "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": "tasks_basic_0079", "category": "tasks_basic", "tags": [ "state", "eTaskGetState", "debug" ], "difficulty": "beginner", "style": "compare", "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": "tasks_smp_0002", "category": "tasks_smp", "tags": [ "static", "pinToCore" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreateStaticPinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "stat...
[ { "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_0005", "category": "notifications", "tags": [ "mailbox", "overwrite" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "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_0039", "category": "memory_heap", "tags": [ "pool", "pattern" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueCreate", "heap_caps_malloc" ], "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_freertos_0041", "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": "debug_troubleshoot_0005", "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": "ringbuf_0029", "category": "ringbuf", "tags": [ "compare" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xRingbufferSend", "xMessageBufferSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "vs_me...
[ { "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_0059", "category": "event_groups", "tags": [ "race", "lost-wakeup" ], "difficulty": "advanced", "style": "qa", "apis": [ "xEventGroupSetBits", "xEventGroupClearBits" ], "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": "debug_troubleshoot_0074", "category": "debug_troubleshoot", "tags": [ "brownout", "reset-reason" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_reset_reason" ], "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_0032", "category": "memory_heap", "tags": [ "high-water-mark", "stack" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "uxTaskGetStackHighWaterMark", "uxTaskGetStackHighWaterMark2" ], "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": "memory_heap_0066", "category": "memory_heap", "tags": [ "heap_caps", "DMA" ], "difficulty": "beginner", "style": "compare", "apis": [ "heap_caps_malloc", "heap_caps_free", "heap_caps_get_free_size" ], "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": "stream_msg_buffers_0058", "category": "stream_msg_buffers", "tags": [ "reset" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferReset" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "reset_stream" }
[ { "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_0059", "category": "notifications", "tags": [ "counting", "burst" ], "difficulty": "intermediate", "style": "debug", "apis": [ "vTaskNotifyGiveFromISR", "ulTaskNotifyTake" ], "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": "stream_msg_buffers_0007", "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": "timers_esp_0001", "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": "compare_choose_0035", "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": "queues_0089", "category": "queues", "tags": [ "backpressure", "overflow" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "uxQueueSpacesAvailable", "uxQueueMessagesWaiting" ], "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": "ringbuf_0005", "category": "ringbuf", "tags": [ "FromISR" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xRingbufferSendFromISR", "xRingbufferReceiveFromISR" ], "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": "ringbuf_0032", "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": "event_groups_0029", "category": "event_groups", "tags": [ "sync", "barrier", "rendezvous" ], "difficulty": "advanced", "style": "compare", "apis": [ "xEventGroupSync" ], "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_0062", "category": "tasks_smp", "tags": [ "static", "pinToCore" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreateStaticPinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "stat...
[ { "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_0076", "category": "tasks_basic", "tags": [ "delay", "vTaskDelay", "ticks" ], "difficulty": "beginner", "style": "compare", "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": "queues_0049", "category": "queues", "tags": [ "queue", "create" ], "difficulty": "beginner", "style": "migrate", "apis": [ "xQueueCreate", "vQueueDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xqueuecrea...
[ { "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_0056", "category": "queues", "tags": [ "static-alloc", "queue" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_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": "debug_troubleshoot_0057", "category": "debug_troubleshoot", "tags": [ "stats", "vTaskList" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskList", "vTaskGetRunTimeStats" ], "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": "semaphores_mutexes_0069", "category": "semaphores_mutexes", "tags": [ "priority-ceiling", "inversion" ], "difficulty": "advanced", "style": "migrate", "apis": [ "vTaskPrioritySet", "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": "notifications_0053", "category": "notifications", "tags": [ "mailbox", "overwrite" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "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_0027", "category": "memory_heap", "tags": [ "heap_caps", "DMA" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "heap_caps_malloc", "heap_caps_free", "heap_caps_get_free_size" ], "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": "hooks_tls_wdt_0009", "category": "hooks_tls_wdt", "tags": [ "logging", "tls" ], "difficulty": "intermediate", "style": "qa", "apis": [ "pvTaskGetThreadLocalStoragePointer", "vTaskSetThreadLocalStoragePointer" ], "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": "isr_critical_0022", "category": "isr_critical", "tags": [ "deadlock", "portMUX" ], "difficulty": "advanced", "style": "qa", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "nested_mux_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": "isr_critical_0051", "category": "isr_critical", "tags": [ "gpio", "interrupt-clear" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "level_...
[ { "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_0043", "category": "debug_troubleshoot", "tags": [ "isr", "flood" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueSendFromISR" ], "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": "isr_critical_0066", "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": "debug_troubleshoot_0051", "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": "patterns_0042", "category": "patterns", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "debug", "apis": [ "xTaskCreate", "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "pri...
[ { "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_0046", "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": "debug_troubleshoot_0023", "category": "debug_troubleshoot", "tags": [ "heap", "OOM" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "heap_caps_get_free_size", "heap_caps_get_largest_free_block" ], "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": "compare_choose_0029", "category": "compare_choose", "tags": [ "matrix", "ipc", "checklist" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xQueueSend", "xTaskNotify", "xEventGroupSetBits", "xSemaphoreTake", "xStreamBufferSend" ], "esp_idf_vers...
[ { "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_0047", "category": "patterns", "tags": [ "work-queue", "defer" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "work...
[ { "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_0063", "category": "timers_freertos", "tags": [ "change-period" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerChangePeriod", "xTimerChangePeriodFromISR" ], "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_0041", "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": "timers_freertos_0021", "category": "timers_freertos", "tags": [ "pend", "deferred", "isr" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xTimerPendFunctionCall", "xTimerPendFunctionCallFromISR" ], "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": "semaphores_mutexes_0029", "category": "semaphores_mutexes", "tags": [ "binary-semaphore", "signal" ], "difficulty": "beginner", "style": "checklist", "apis": [ "xSemaphoreCreateBinary", "xSemaphoreGive", "xSemaphoreTake" ], "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": "notifications_0052", "category": "notifications", "tags": [ "indexed", "notification" ], "difficulty": "advanced", "style": "qa", "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": "notifications_0037", "category": "notifications", "tags": [ "give", "take", "semaphore-like" ], "difficulty": "beginner", "style": "debug", "apis": [ "xTaskNotifyGive", "ulTaskNotifyTake" ], "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": "notifications_0032", "category": "notifications", "tags": [ "query" ], "difficulty": "advanced", "style": "compare", "apis": [ "xTaskNotifyAndQuery", "xTaskNotifyAndQueryFromISR" ], "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_0086", "category": "tasks_basic", "tags": [ "yield", "timeslice" ], "difficulty": "intermediate", "style": "qa", "apis": [ "taskYIELD", "vTaskDelay" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "yie...
[ { "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_0050", "category": "patterns", "tags": [ "isr", "deferred" ], "difficulty": "beginner", "style": "qa", "apis": [ "vTaskNotifyGiveFromISR", "xQueueSendFromISR" ], "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": "queues_0086", "category": "queues", "tags": [ "overwrite", "latest-value" ], "difficulty": "intermediate", "style": "code_lab", "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": "queues_0035", "category": "queues", "tags": [ "priority-message", "queue" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSendToFront", "xQueueSendToBack" ], "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_smp_0019", "category": "tasks_smp", "tags": [ "amp", "architecture", "smp" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskCreatePinnedToCore", "xQueueCreate" ], "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": "timers_esp_0037", "category": "timers_esp", "tags": [ "reconfigure" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "esp_timer_stop", "esp_timer_start_periodic" ], "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_0084", "category": "semaphores_mutexes", "tags": [ "debug", "counting-semaphore" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "uxSemaphoreGetCount" ], "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": "stream_msg_buffers_0045", "category": "stream_msg_buffers", "tags": [ "framing", "protocol" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xStreamBufferSend", "xStreamBufferReceive" ], "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": "stream_msg_buffers_0035", "category": "stream_msg_buffers", "tags": [ "compare", "uart" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xStreamBufferSend", "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, ...
[ { "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_0079", "category": "queues", "tags": [ "query", "queue" ], "difficulty": "beginner", "style": "qa", "apis": [ "uxQueueSpacesAvailable", "uxQueueMessagesWaiting" ], "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_0052", "category": "tasks_basic", "tags": [ "error-handling", "heap" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "abort_on_...
[ { "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_0074", "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": "hooks_tls_wdt_0038", "category": "hooks_tls_wdt", "tags": [ "compare", "design" ], "difficulty": "beginner", "style": "debug", "apis": [ "esp_register_freertos_tick_hook", "esp_timer_create", "xTimerCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generat...
[ { "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_0011", "category": "semaphores_mutexes", "tags": [ "lifecycle", "delete" ], "difficulty": "intermediate", "style": "qa", "apis": [ "vSemaphoreDelete" ], "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_0083", "category": "tasks_basic", "tags": [ "vTaskDelete", "lifecycle" ], "difficulty": "beginner", "style": "compare", "apis": [ "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "delete_self"...
[ { "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_0018", "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": "stream_msg_buffers_0050", "category": "stream_msg_buffers", "tags": [ "message-buffer" ], "difficulty": "intermediate", "style": "migrate", "apis": [ "xMessageBufferCreate", "xMessageBufferSend", "xMessageBufferReceive" ], "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": "tasks_basic_0034", "category": "tasks_basic", "tags": [ "error-handling", "heap" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "abort_on_create...
[ { "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_0054", "category": "queues", "tags": [ "overwrite", "latest-value" ], "difficulty": "intermediate", "style": "code_lab", "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": "patterns_0066", "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": "ringbuf_0008", "category": "ringbuf", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xRingbufferCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "static_ringbuf" }
[ { "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_0025", "category": "timers_esp", "tags": [ "defer", "pattern" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "esp_timer_create", "xTaskNotifyGive" ], "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_0046", "category": "queues", "tags": [ "multi-producer", "demux" ], "difficulty": "beginner", "style": "qa", "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": "semaphores_mutexes_0006", "category": "semaphores_mutexes", "tags": [ "FromISR", "semaphore" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateBinary" ], "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": "hooks_tls_wdt_0048", "category": "hooks_tls_wdt", "tags": [ "compare", "design" ], "difficulty": "beginner", "style": "qa", "apis": [ "esp_register_freertos_tick_hook", "esp_timer_create", "xTimerCreate" ], "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_0060", "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_0003", "category": "hooks_tls_wdt", "tags": [ "tls", "thread-local" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vTaskSetThreadLocalStoragePointer", "pvTaskGetThreadLocalStoragePointer" ], "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": "stream_msg_buffers_0032", "category": "stream_msg_buffers", "tags": [ "multi-writer", "mutex" ], "difficulty": "advanced", "style": "qa", "apis": [ "xStreamBufferSend", "xSemaphoreTake" ], "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": "isr_critical_0053", "category": "isr_critical", "tags": [ "hpw", "FromISR" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSendFromISR", "xSemaphoreGiveFromISR" ], "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": "timers_esp_0010", "category": "timers_esp", "tags": [ "lifecycle", "teardown" ], "difficulty": "intermediate", "style": "debug", "apis": [ "esp_timer_stop", "esp_timer_delete" ], "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": "stream_msg_buffers_0010", "category": "stream_msg_buffers", "tags": [ "reset" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferReset" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "reset_stream" }
[ { "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_0081", "category": "queues", "tags": [ "queue", "create" ], "difficulty": "beginner", "style": "debug", "apis": [ "xQueueCreate", "vQueueDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "xqueuecreate_...