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": "hooks_tls_wdt_0030", "category": "hooks_tls_wdt", "tags": [ "config", "TWDT" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "esp_task_wdt_init" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "wdt_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": "tasks_basic_0018", "category": "tasks_basic", "tags": [ "stack-overflow", "hook", "debug" ], "difficulty": "advanced", "style": "compare", "apis": [ "vApplicationStackOverflowHook" ], "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_0055", "category": "notifications", "tags": [ "pipeline", "pattern" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskNotifyGive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "give...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0057", "category": "tasks_smp", "tags": [ "fpu", "isr", "smp" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "floating...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0056", "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": "timers_freertos_0019", "category": "timers_freertos", "tags": [ "FromISR", "timer" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTimerStartFromISR", "xTimerResetFromISR", "xTimerStopFromISR" ], "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": "debug_troubleshoot_0008", "category": "debug_troubleshoot", "tags": [ "interrupt-wdt", "critical-section" ], "difficulty": "advanced", "style": "debug", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "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": "memory_heap_0008", "category": "memory_heap", "tags": [ "DMA", "alignment" ], "difficulty": "advanced", "style": "debug", "apis": [ "heap_caps_aligned_alloc", "heap_caps_malloc" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fac...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0012", "category": "patterns", "tags": [ "dma", "double-buffer" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xSemaphoreGiveFromISR", "heap_caps_malloc" ], "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": "stream_msg_buffers_0008", "category": "stream_msg_buffers", "tags": [ "multi-writer", "mutex" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xStreamBufferSend", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0033", "category": "stream_msg_buffers", "tags": [ "framing", "protocol" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xStreamBufferSend", "xStreamBufferReceive" ], "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": "debug_troubleshoot_0055", "category": "debug_troubleshoot", "tags": [ "heap", "OOM" ], "difficulty": "intermediate", "style": "compare", "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": "debug_troubleshoot_0070", "category": "debug_troubleshoot", "tags": [ "queue", "hang" ], "difficulty": "intermediate", "style": "debug", "apis": [ "uxQueueMessagesWaiting", "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": "isr_critical_0079", "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": "stream_msg_buffers_0001", "category": "stream_msg_buffers", "tags": [ "stream-buffer", "create" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xStreamBufferCreate", "xStreamBufferSend", "xStreamBufferReceive", "vStreamBufferDelete" ], "esp_idf_version_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0049", "category": "isr_critical", "tags": [ "interrupt-disable", "smp" ], "difficulty": "advanced", "style": "migrate", "apis": [ "portDISABLE_INTERRUPTS", "portENABLE_INTERRUPTS" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_tur...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0077", "category": "patterns", "tags": [ "supervisor", "reliability" ], "difficulty": "advanced", "style": "qa", "apis": [ "xTaskCreate", "vTaskDelete", "xEventGroupSetBits" ], "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": "queues_0021", "category": "queues", "tags": [ "peek", "queue" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueuePeek", "xQueuePeekFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xqueuepeek...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0051", "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": "stream_msg_buffers_0042", "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": "ringbuf_0035", "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": "tasks_basic_0046", "category": "tasks_basic", "tags": [ "stack", "high-water-mark" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreate", "uxTaskGetStackHighWaterMark" ], "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": "ringbuf_0016", "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": "tasks_basic_0048", "category": "tasks_basic", "tags": [ "idle", "starvation", "wdt" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreate", "vTaskDelay" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0012", "category": "queues", "tags": [ "debug", "queue-full" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "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": "debug_troubleshoot_0030", "category": "debug_troubleshoot", "tags": [ "timer", "daemon" ], "difficulty": "intermediate", "style": "compare", "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": "stream_msg_buffers_0055", "category": "stream_msg_buffers", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xStreamBufferCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0013", "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": "hooks_tls_wdt_0022", "category": "hooks_tls_wdt", "tags": [ "tick-hook", "isr" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "esp_register_freertos_tick_hook", "esp_register_freertos_tick_hook_for_cpu" ], "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_0016", "category": "notifications", "tags": [ "indexed", "notification" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskNotifyIndexed", "xTaskNotifyWaitIndexed", "ulTaskNotifyTakeIndexed" ], "esp_idf_version_note": "v5.x conceptual", "sour...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0014", "category": "hooks_tls_wdt", "tags": [ "TWDT", "watchdog" ], "difficulty": "beginner", "style": "debug", "apis": [ "esp_task_wdt_add", "esp_task_wdt_reset", "esp_task_wdt_delete" ], "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_0036", "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": "hooks_tls_wdt_0007", "category": "hooks_tls_wdt", "tags": [ "interrupt-wdt", "debug" ], "difficulty": "intermediate", "style": "debug", "apis": [ "taskENTER_CRITICAL", "taskEXIT_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": tr...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0006", "category": "timers_esp", "tags": [ "debug", "dump" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_timer_dump" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "esp_timer_dump_debug" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0037", "category": "tasks_smp", "tags": [ "pinToCore", "smp" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "pinned_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": "memory_heap_0037", "category": "memory_heap", "tags": [ "multi-heap", "DMA" ], "difficulty": "advanced", "style": "debug", "apis": [ "heap_caps_get_info" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "multi_heap_inte...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0005", "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": "queues_0051", "category": "queues", "tags": [ "priority-message", "queue" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xQueueSendToFront", "xQueueSendToBack" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "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": "timers_esp_0043", "category": "timers_esp", "tags": [ "timestamp", "profiling" ], "difficulty": "beginner", "style": "qa", "apis": [ "esp_timer_get_time" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "esp_timer_get_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0070", "category": "notifications", "tags": [ "lifecycle", "safety" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vTaskDelete", "xTaskNotifyGive" ], "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": "tasks_smp_0055", "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": "tasks_basic_0009", "category": "tasks_basic", "tags": [ "parameters", "lifetime" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "task_para...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0016", "category": "memory_heap", "tags": [ "pvPortMalloc", "malloc" ], "difficulty": "intermediate", "style": "compare", "apis": [ "pvPortMalloc", "vPortFree", "malloc" ], "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_0032", "category": "isr_critical", "tags": [ "portMUX", "critical-section" ], "difficulty": "intermediate", "style": "qa", "apis": [ "taskENTER_CRITICAL", "taskEXIT_CRITICAL", "portMUX_TYPE" ], "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_0024", "category": "hooks_tls_wdt", "tags": [ "TWDT", "watchdog" ], "difficulty": "beginner", "style": "debug", "apis": [ "esp_task_wdt_add", "esp_task_wdt_reset", "esp_task_wdt_delete" ], "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": "notifications_0065", "category": "notifications", "tags": [ "mailbox", "overwrite" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskNotify", "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": "isr_critical_0023", "category": "isr_critical", "tags": [ "gpio", "interrupt-clear" ], "difficulty": "intermediate", "style": "code_lab", "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_0080", "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": "notifications_0064", "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": "tasks_basic_0045", "category": "tasks_basic", "tags": [ "parameters", "lifetime" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "task_parameter_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0008", "category": "timers_esp", "tags": [ "init", "boot" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "early_init_order" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0017", "category": "notifications", "tags": [ "mailbox", "overwrite" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskNotify", "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": "notifications_0061", "category": "notifications", "tags": [ "give", "take", "semaphore-like" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTaskNotifyGive", "ulTaskNotifyTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_tu...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0025", "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": "queues_0015", "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": "debug_troubleshoot_0028", "category": "debug_troubleshoot", "tags": [ "context", "FromISR" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueSend", "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0076", "category": "queues", "tags": [ "debug", "queue-full" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueSend", "uxQueueMessagesWaiting" ], "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": "patterns_0071", "category": "patterns", "tags": [ "producer-consumer", "queue" ], "difficulty": "beginner", "style": "compare", "apis": [ "xQueueCreate", "xQueueSend", "xQueueReceive" ], "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": "tasks_smp_0021", "category": "tasks_smp", "tags": [ "fpu", "isr", "smp" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "floati...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0042", "category": "isr_critical", "tags": [ "softirq", "pend" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTimerPendFunctionCallFromISR" ], "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_0023", "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": "queues_0040", "category": "queues", "tags": [ "static-alloc", "queue" ], "difficulty": "intermediate", "style": "checklist", "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": "tasks_basic_0110", "category": "tasks_basic", "tags": [ "task", "handle", "vTaskDelete" ], "difficulty": "beginner", "style": "debug", "apis": [ "xTaskCreate", "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": 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": "queues_0001", "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_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0071", "category": "tasks_basic", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "max_priorit...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0060", "category": "memory_heap", "tags": [ "DMA", "alignment" ], "difficulty": "advanced", "style": "code_lab", "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": "semaphores_mutexes_0041", "category": "semaphores_mutexes", "tags": [ "priority-ceiling", "inversion" ], "difficulty": "advanced", "style": "debug", "apis": [ "vTaskPrioritySet", "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": "debug_troubleshoot_0052", "category": "debug_troubleshoot", "tags": [ "TWDT", "watchdog" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "esp_task_wdt_reset", "esp_task_wdt_add" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_tur...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0010", "category": "hooks_tls_wdt", "tags": [ "config", "TWDT" ], "difficulty": "intermediate", "style": "compare", "apis": [ "esp_task_wdt_init" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "wdt_time...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0116", "category": "tasks_basic", "tags": [ "suspend", "resume" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vTaskSuspend", "vTaskResume", "vTaskResumeFromISR" ], "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_0010", "category": "tasks_smp", "tags": [ "load-balance", "stats", "smp" ], "difficulty": "intermediate", "style": "qa", "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": "isr_critical_0043", "category": "isr_critical", "tags": [ "FromISR", "rules" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueSendFromISR", "xSemaphoreGiveFromISR", "vTaskNotifyGiveFromISR" ], "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_0062", "category": "event_groups", "tags": [ "wait", "set", "bits" ], "difficulty": "beginner", "style": "qa", "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": "notifications_0060", "category": "notifications", "tags": [ "handle" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTaskNotifyGive", "xTaskGetCurrentTaskHandle" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0016", "category": "debug_troubleshoot", "tags": [ "flash", "IRAM", "ota" ], "difficulty": "advanced", "style": "debug", "apis": [ "IRAM_ATTR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "cac...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0073", "category": "tasks_basic", "tags": [ "task", "xTaskCreate", "stack-bytes" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xta...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0017", "category": "stream_msg_buffers", "tags": [ "trigger-level" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xStreamBufferSetTriggerLevel", "xStreamBufferReceive" ], "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_0022", "category": "timers_esp", "tags": [ "one-shot", "esp_timer" ], "difficulty": "beginner", "style": "compare", "apis": [ "esp_timer_start_once", "esp_timer_stop" ], "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": "hooks_tls_wdt_0019", "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": "hooks_tls_wdt_0040", "category": "hooks_tls_wdt", "tags": [ "config", "TWDT" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_task_wdt_init" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "wdt_timeout_c...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0015", "category": "notifications", "tags": [ "FromISR", "notification" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vTaskNotifyGiveFromISR", "xTaskNotifyFromISR" ], "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": "timers_esp_0024", "category": "timers_esp", "tags": [ "compare", "choose" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "esp_timer_start_periodic", "xTimerStart" ], "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_0014", "category": "compare_choose", "tags": [ "matrix", "ipc", "checklist" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "xTaskNotify", "xEventGroupSetBits", "xSemaphoreTake", "xStreamBufferSend" ], "esp_idf_version_not...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0034", "category": "queues", "tags": [ "send", "receive", "timeout" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueSend", "xQueueReceive" ], "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": "timers_freertos_0030", "category": "timers_freertos", "tags": [ "daemon", "priority", "jitter" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTimerCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "debug_troubleshoot_0033", "category": "debug_troubleshoot", "tags": [ "stack-overflow" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "uxTaskGetStackHighWaterMark", "vApplicationStackOverflowHook" ], "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": "patterns_0079", "category": "patterns", "tags": [ "pubsub", "event-group" ], "difficulty": "intermediate", "style": "checklist", "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": "notifications_0058", "category": "notifications", "tags": [ "lifecycle", "safety" ], "difficulty": "intermediate", "style": "qa", "apis": [ "vTaskDelete", "xTaskNotifyGive" ], "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": "patterns_0046", "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": "timers_freertos_0058", "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": "tasks_smp_0006", "category": "tasks_smp", "tags": [ "ipc", "smp", "queue" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueSend", "xTaskNotify" ], "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_0043", "category": "compare_choose", "tags": [ "smp", "pinToCore" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskCreatePinnedToCore", "xTaskCreate" ], "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_0043", "category": "semaphores_mutexes", "tags": [ "binary-semaphore", "signal" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xSemaphoreCreateBinary", "xSemaphoreGive", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "sour...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0011", "category": "hooks_tls_wdt", "tags": [ "idle-hook" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_register_freertos_idle_hook", "esp_register_freertos_idle_hook_for_cpu" ], "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": "notifications_0001", "category": "notifications", "tags": [ "give", "take", "semaphore-like" ], "difficulty": "beginner", "style": "compare", "apis": [ "xTaskNotifyGive", "ulTaskNotifyTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_tur...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0040", "category": "event_groups", "tags": [ "FromISR", "event-group" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupSetBitsFromISR", "xEventGroupClearBitsFromISR" ], "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": "memory_heap_0052", "category": "memory_heap", "tags": [ "pool", "pattern" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueCreate", "heap_caps_malloc" ], "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": "debug_troubleshoot_0006", "category": "debug_troubleshoot", "tags": [ "queue", "hang" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "uxQueueMessagesWaiting", "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": f...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0062", "category": "timers_freertos", "tags": [ "one-shot", "auto-reload", "debounce" ], "difficulty": "beginner", "style": "migrate", "apis": [ "xTimerCreate", "xTimerStart", "xTimerReset" ], "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": "queues_0047", "category": "queues", "tags": [ "query", "queue" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "uxQueueSpacesAvailable", "uxQueueMessagesWaiting" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_i...