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": "queues_0039", "category": "queues", "tags": [ "queue-set", "multiplex" ], "difficulty": "advanced", "style": "debug", "apis": [ "xQueueCreateSet", "xQueueAddToSet", "xQueueSelectFromSet" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0049", "category": "patterns", "tags": [ "supervisor", "reliability" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskCreate", "vTaskDelete", "xEventGroupSetBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0048", "category": "timers_freertos", "tags": [ "stop", "start" ], "difficulty": "beginner", "style": "debug", "apis": [ "xTimerStop", "xTimerStart" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0043", "category": "event_groups", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xEventGroupCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_ev...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0050", "category": "timers_freertos", "tags": [ "one-shot", "auto-reload", "debounce" ], "difficulty": "beginner", "style": "compare", "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": "timers_freertos_0026", "category": "timers_freertos", "tags": [ "one-shot", "auto-reload", "debounce" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTimerCreate", "xTimerStart", "xTimerReset" ], "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_0048", "category": "patterns", "tags": [ "backpressure", "flow-control" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xQueueSend", "uxQueueSpacesAvailable" ], "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_0027", "category": "stream_msg_buffers", "tags": [ "FromISR", "stream-buffer" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xStreamBufferSendFromISR", "xStreamBufferReceiveFromISR" ], "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": "compare_choose_0008", "category": "compare_choose", "tags": [ "timer", "esp_timer" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTimerCreate", "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0015", "category": "stream_msg_buffers", "tags": [ "FromISR", "stream-buffer" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xStreamBufferSendFromISR", "xStreamBufferReceiveFromISR" ], "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": "isr_critical_0037", "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": "notifications_0049", "category": "notifications", "tags": [ "give", "take", "semaphore-like" ], "difficulty": "beginner", "style": "checklist", "apis": [ "xTaskNotifyGive", "ulTaskNotifyTake" ], "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": "memory_heap_0010", "category": "memory_heap", "tags": [ "calloc", "realloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_calloc", "heap_caps_realloc" ], "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_0020", "category": "semaphores_mutexes", "tags": [ "FromISR", "semaphore" ], "difficulty": "intermediate", "style": "debug", "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": "timers_esp_0005", "category": "timers_esp", "tags": [ "defer", "pattern" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_timer_create", "xTaskNotifyGive" ], "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_0068", "category": "event_groups", "tags": [ "fsm", "bits" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xEventGroupSetBits", "xEventGroupClearBits", "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0029", "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": "patterns_0076", "category": "patterns", "tags": [ "backpressure", "flow-control" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xQueueSend", "uxQueueSpacesAvailable" ], "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_0039", "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": "stream_msg_buffers_0020", "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": "stream_msg_buffers_0013", "category": "stream_msg_buffers", "tags": [ "stream-buffer", "create" ], "difficulty": "intermediate", "style": "code_lab", "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": "event_groups_0017", "category": "event_groups", "tags": [ "sync", "barrier", "rendezvous" ], "difficulty": "advanced", "style": "code_lab", "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_0035", "category": "tasks_smp", "tags": [ "mutex", "smp", "synchronization" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_t...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0051", "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": "patterns_0007", "category": "patterns", "tags": [ "supervisor", "reliability" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xTaskCreate", "vTaskDelete", "xEventGroupSetBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0063", "category": "tasks_smp", "tags": [ "core-id", "smp" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xPortGetCoreID" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "xport_get_core_id" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0039", "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": "compare_choose_0007", "category": "compare_choose", "tags": [ "ringbuf", "compare" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xRingbufferSend", "xMessageBufferSend", "xStreamBufferSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "genera...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0015", "category": "memory_heap", "tags": [ "PSRAM", "SPIRAM" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_malloc" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "psram_usage" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0068", "category": "semaphores_mutexes", "tags": [ "counting-semaphore", "isr" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateCounting" ], "esp_idf_version_note": "v5.x conceptual", "source": "gene...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0052", "category": "tasks_smp", "tags": [ "affinity", "smp" ], "difficulty": "advanced", "style": "migrate", "apis": [ "vTaskCoreAffinitySet", "vTaskCoreAffinityGet" ], "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": "semaphores_mutexes_0025", "category": "semaphores_mutexes", "tags": [ "lifecycle", "delete" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vSemaphoreDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0037", "category": "patterns", "tags": [ "pubsub", "event-group" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xEventGroupSetBits", "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "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": "event_groups_0052", "category": "event_groups", "tags": [ "FromISR", "event-group" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xEventGroupSetBitsFromISR", "xEventGroupClearBitsFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0070", "category": "tasks_smp", "tags": [ "load-balance", "stats", "smp" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreatePinnedToCore", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": 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": "semaphores_mutexes_0053", "category": "semaphores_mutexes", "tags": [ "lifecycle", "delete" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vSemaphoreDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0070", "category": "memory_heap", "tags": [ "OOM", "fragmentation" ], "difficulty": "intermediate", "style": "debug", "apis": [ "heap_caps_malloc", "heap_caps_get_largest_free_block" ], "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": "stream_msg_buffers_0019", "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": "tasks_smp_0061", "category": "tasks_smp", "tags": [ "pinToCore", "smp" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "pinned_crea...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0024", "category": "debug_troubleshoot", "tags": [ "interrupt-wdt", "critical-section" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0027", "category": "semaphores_mutexes", "tags": [ "priority-ceiling", "inversion" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "vTaskPrioritySet", "xSemaphoreTake" ], "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": "tasks_basic_0090", "category": "tasks_basic", "tags": [ "stack-overflow", "hook", "debug" ], "difficulty": "advanced", "style": "qa", "apis": [ "vApplicationStackOverflowHook" ], "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": "patterns_0038", "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": "debug_troubleshoot_0031", "category": "debug_troubleshoot", "tags": [ "triage", "multi-turn" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "uxTaskGetStackHighWaterMark", "esp_task_wdt_reset", "vTaskList" ], "esp_idf_version_note": "v5.x conceptual", "so...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0014", "category": "queues", "tags": [ "multi-producer", "demux" ], "difficulty": "beginner", "style": "code_lab", "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": "isr_critical_0076", "category": "isr_critical", "tags": [ "IRAM", "flash-cache" ], "difficulty": "advanced", "style": "debug", "apis": [ "IRAM_ATTR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "iram_attr_isr" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0019", "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": "isr_critical_0030", "category": "isr_critical", "tags": [ "yield", "latency" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "portYIELD_FROM_ISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "yield...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0031", "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": "hooks_tls_wdt_0028", "category": "hooks_tls_wdt", "tags": [ "compare", "design" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "esp_register_freertos_tick_hook", "esp_timer_create", "xTimerCreate" ], "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": "semaphores_mutexes_0083", "category": "semaphores_mutexes", "tags": [ "priority-ceiling", "inversion" ], "difficulty": "advanced", "style": "qa", "apis": [ "vTaskPrioritySet", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0042", "category": "hooks_tls_wdt", "tags": [ "tick-hook", "isr" ], "difficulty": "intermediate", "style": "compare", "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": "debug_troubleshoot_0011", "category": "debug_troubleshoot", "tags": [ "isr", "flood" ], "difficulty": "intermediate", "style": "checklist", "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": "semaphores_mutexes_0028", "category": "semaphores_mutexes", "tags": [ "debug", "counting-semaphore" ], "difficulty": "beginner", "style": "checklist", "apis": [ "uxSemaphoreGetCount" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "f...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0011", "category": "event_groups", "tags": [ "race", "lost-wakeup" ], "difficulty": "advanced", "style": "debug", "apis": [ "xEventGroupSetBits", "xEventGroupClearBits" ], "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": "event_groups_0053", "category": "event_groups", "tags": [ "sync", "barrier", "rendezvous" ], "difficulty": "advanced", "style": "qa", "apis": [ "xEventGroupSync" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "ev...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0033", "category": "isr_critical", "tags": [ "critical-isr", "portMUX" ], "difficulty": "intermediate", "style": "qa", "apis": [ "taskENTER_CRITICAL_ISR", "taskEXIT_CRITICAL_ISR", "portMUX_TYPE" ], "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": "semaphores_mutexes_0061", "category": "semaphores_mutexes", "tags": [ "priority-inversion", "inheritance" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "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": "debug_troubleshoot_0004", "category": "debug_troubleshoot", "tags": [ "TWDT", "watchdog" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "esp_task_wdt_reset", "esp_task_wdt_add" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_tu...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0054", "category": "compare_choose", "tags": [ "delay", "timer" ], "difficulty": "beginner", "style": "compare", "apis": [ "vTaskDelayUntil", "xTimerStart" ], "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_0072", "category": "tasks_basic", "tags": [ "stack-overflow", "hook", "debug" ], "difficulty": "advanced", "style": "qa", "apis": [ "vApplicationStackOverflowHook" ], "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_0006", "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": "timers_freertos_0045", "category": "timers_freertos", "tags": [ "pend", "deferred", "isr" ], "difficulty": "advanced", "style": "qa", "apis": [ "xTimerPendFunctionCall", "xTimerPendFunctionCallFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0038", "category": "timers_esp", "tags": [ "init", "boot" ], "difficulty": "beginner", "style": "qa", "apis": [ "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "early_init_order" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0012", "category": "tasks_basic", "tags": [ "idle", "starvation", "wdt" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreate", "vTaskDelay" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0036", "category": "queues", "tags": [ "FromISR", "queue", "yield" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueSendFromISR", "xQueueReceiveFromISR" ], "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_0027", "category": "hooks_tls_wdt", "tags": [ "interrupt-wdt", "debug" ], "difficulty": "intermediate", "style": "compare", "apis": [ "taskENTER_CRITICAL", "taskEXIT_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0093", "category": "tasks_basic", "tags": [ "task", "static-alloc", "xTaskCreateStatic" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskCreateStatic" ], "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": "stream_msg_buffers_0054", "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": "patterns_0016", "category": "patterns", "tags": [ "pipeline", "smp" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueSend", "xTaskNotifyGive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0014", "category": "semaphores_mutexes", "tags": [ "debug", "counting-semaphore" ], "difficulty": "beginner", "style": "qa", "apis": [ "uxSemaphoreGetCount" ], "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_0004", "category": "tasks_basic", "tags": [ "delay", "vTaskDelay", "ticks" ], "difficulty": "beginner", "style": "migrate", "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": "isr_critical_0059", "category": "isr_critical", "tags": [ "deferred", "pattern" ], "difficulty": "intermediate", "style": "debug", "apis": [ "vTaskNotifyGiveFromISR", "xTimerPendFunctionCallFromISR" ], "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": "notifications_0057", "category": "notifications", "tags": [ "compare", "semaphore" ], "difficulty": "beginner", "style": "debug", "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": "stream_msg_buffers_0022", "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": "isr_critical_0046", "category": "isr_critical", "tags": [ "portMUX", "critical-section" ], "difficulty": "intermediate", "style": "compare", "apis": [ "taskENTER_CRITICAL", "taskEXIT_CRITICAL", "portMUX_TYPE" ], "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": "tasks_basic_0105", "category": "tasks_basic", "tags": [ "app_main", "scheduler", "idf" ], "difficulty": "beginner", "style": "qa", "apis": [ "vTaskStartScheduler" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "s...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0011", "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": "isr_critical_0002", "category": "isr_critical", "tags": [ "yield", "latency" ], "difficulty": "intermediate", "style": "compare", "apis": [ "portYIELD_FROM_ISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "yield_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_esp_0039", "category": "timers_esp", "tags": [ "scalability" ], "difficulty": "advanced", "style": "debug", "apis": [ "esp_timer_create" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "multiple_esp_timers" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0052", "category": "compare_choose", "tags": [ "ringbuf", "compare" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xRingbufferSend", "xMessageBufferSend", "xStreamBufferSend" ], "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_0024", "category": "semaphores_mutexes", "tags": [ "critical-section", "mutex", "compare" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreTake", "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generate...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0029", "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": "tasks_basic_0033", "category": "tasks_basic", "tags": [ "app_main", "scheduler", "idf" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskStartScheduler" ], "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": "queues_0005", "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_esp_0020", "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": "isr_critical_0060", "category": "isr_critical", "tags": [ "portMUX", "critical-section" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "taskENTER_CRITICAL", "taskEXIT_CRITICAL", "portMUX_TYPE" ], "esp_idf_version_note": "v5.x conceptual", "source": "gene...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0030", "category": "notifications", "tags": [ "state", "clear-masks" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xTaskNotifyStateClear", "xTaskNotifyWait" ], "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_0073", "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": "tasks_basic_0088", "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": "compare_choose_0015", "category": "compare_choose", "tags": [ "migrate", "delay" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelay", "vTaskDelayUntil" ], "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": "memory_heap_0012", "category": "memory_heap", "tags": [ "sdkconfig", "SPIRAM" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "freertos_spiram...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0058", "category": "memory_heap", "tags": [ "high-water-mark", "stack" ], "difficulty": "beginner", "style": "qa", "apis": [ "uxTaskGetStackHighWaterMark", "uxTaskGetStackHighWaterMark2" ], "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": "timers_esp_0017", "category": "timers_esp", "tags": [ "reconfigure" ], "difficulty": "intermediate", "style": "debug", "apis": [ "esp_timer_stop", "esp_timer_start_periodic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "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": "ringbuf_0034", "category": "ringbuf", "tags": [ "bytebuf", "stream", "vRingbufferReturnItem" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xRingbufferSend", "xRingbufferReceiveUpTo", "vRingbufferReturnItem" ], "esp_idf_version_note": "v5.x conceptual"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0041", "category": "tasks_basic", "tags": [ "delay", "periodic", "vTaskDelayUntil" ], "difficulty": "intermediate", "style": "qa", "apis": [ "vTaskDelayUntil", "xTaskGetTickCount" ], "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": "hooks_tls_wdt_0043", "category": "hooks_tls_wdt", "tags": [ "tls", "thread-local" ], "difficulty": "intermediate", "style": "compare", "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": "semaphores_mutexes_0022", "category": "semaphores_mutexes", "tags": [ "timeout", "mutex" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "ti...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0108", "category": "tasks_basic", "tags": [ "stack-overflow", "hook", "debug" ], "difficulty": "advanced", "style": "qa", "apis": [ "vApplicationStackOverflowHook" ], "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_0037", "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...