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": "stream_msg_buffers_0049", "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": "semaphores_mutexes_0050", "category": "semaphores_mutexes", "tags": [ "timeout", "mutex" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "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": "timers_esp_0046", "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": "isr_critical_0072", "category": "isr_critical", "tags": [ "yield", "latency" ], "difficulty": "intermediate", "style": "qa", "apis": [ "portYIELD_FROM_ISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "yield_from_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_0005", "category": "semaphores_mutexes", "tags": [ "priority-inversion", "inheritance" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xSemaphoreCreateMutex", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0067", "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": "patterns_0027", "category": "patterns", "tags": [ "command", "queue" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueSend", "xQueueReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "command_pat...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0019", "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": "patterns_0054", "category": "patterns", "tags": [ "dma", "double-buffer" ], "difficulty": "advanced", "style": "debug", "apis": [ "xSemaphoreGiveFromISR", "heap_caps_malloc" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "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": "semaphores_mutexes_0077", "category": "semaphores_mutexes", "tags": [ "static-alloc", "mutex" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xSemaphoreCreateMutexStatic", "xSemaphoreCreateBinaryStatic", "xSemaphoreCreateCountingStatic" ], "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_0021", "category": "event_groups", "tags": [ "wait-any", "wait-all" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "wait_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0002", "category": "timers_freertos", "tags": [ "one-shot", "auto-reload", "debounce" ], "difficulty": "beginner", "style": "debug", "apis": [ "xTimerCreate", "xTimerStart", "xTimerReset" ], "esp_idf_version_note": "v5.x conceptual", "source": "genera...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0061", "category": "timers_freertos", "tags": [ "xTimerCreate", "callback" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xTimerCreate", "xTimerStart", "xTimerDelete" ], "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_0028", "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": "tasks_basic_0011", "category": "tasks_basic", "tags": [ "vTaskDelete", "lifecycle" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "delete_self...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0023", "category": "stream_msg_buffers", "tags": [ "compare", "uart" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xStreamBufferSend", "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0065", "category": "isr_critical", "tags": [ "gpio", "interrupt-clear" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "leve...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0047", "category": "event_groups", "tags": [ "race", "lost-wakeup" ], "difficulty": "advanced", "style": "compare", "apis": [ "xEventGroupSetBits", "xEventGroupClearBits" ], "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_0069", "category": "debug_troubleshoot", "tags": [ "assert" ], "difficulty": "beginner", "style": "qa", "apis": [ "configASSERT" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "assert_configassert" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0073", "category": "patterns", "tags": [ "actor", "message-passing" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0015", "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": "compare_choose_0039", "category": "compare_choose", "tags": [ "delay", "timer" ], "difficulty": "beginner", "style": "qa", "apis": [ "vTaskDelayUntil", "xTimerStart" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0063", "category": "isr_critical", "tags": [ "interrupt-disable", "smp" ], "difficulty": "advanced", "style": "compare", "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": "semaphores_mutexes_0015", "category": "semaphores_mutexes", "tags": [ "binary-semaphore", "signal" ], "difficulty": "beginner", "style": "compare", "apis": [ "xSemaphoreCreateBinary", "xSemaphoreGive", "xSemaphoreTake" ], "esp_idf_version_note": "v5.x conceptual", "sourc...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0060", "category": "compare_choose", "tags": [ "migrate", "delay" ], "difficulty": "beginner", "style": "migrate", "apis": [ "vTaskDelay", "vTaskDelayUntil" ], "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": "timers_freertos_0018", "category": "timers_freertos", "tags": [ "daemon", "priority", "jitter" ], "difficulty": "advanced", "style": "checklist", "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": "queues_0082", "category": "queues", "tags": [ "send", "receive", "timeout" ], "difficulty": "beginner", "style": "debug", "apis": [ "xQueueSend", "xQueueReceive" ], "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_0016", "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": "isr_critical_0077", "category": "isr_critical", "tags": [ "interrupt-disable", "smp" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "portDISABLE_INTERRUPTS", "portENABLE_INTERRUPTS" ], "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": "timers_freertos_0003", "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": "hooks_tls_wdt_0021", "category": "hooks_tls_wdt", "tags": [ "idle-hook" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "esp_register_freertos_idle_hook", "esp_register_freertos_idle_hook_for_cpu" ], "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_0008", "category": "timers_freertos", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTimerCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "static_timer...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0031", "category": "timers_freertos", "tags": [ "FromISR", "timer" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerStartFromISR", "xTimerResetFromISR", "xTimerStopFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0044", "category": "compare_choose", "tags": [ "matrix", "ipc", "checklist" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xQueueSend", "xTaskNotify", "xEventGroupSetBits", "xSemaphoreTake", "xStreamBufferSend" ], "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": "patterns_0061", "category": "patterns", "tags": [ "work-queue", "defer" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "work_q...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0001", "category": "isr_critical", "tags": [ "FromISR", "rules" ], "difficulty": "beginner", "style": "compare", "apis": [ "xQueueSendFromISR", "xSemaphoreGiveFromISR", "vTaskNotifyGiveFromISR" ], "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": "queues_0038", "category": "queues", "tags": [ "overwrite", "latest-value" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueOverwrite", "xQueueOverwriteFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0016", "category": "isr_critical", "tags": [ "yield", "latency" ], "difficulty": "intermediate", "style": "debug", "apis": [ "portYIELD_FROM_ISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": true, "fact_item_id": "yield_from...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0008", "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_0049", "category": "semaphores_mutexes", "tags": [ "static-alloc", "mutex" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreCreateMutexStatic", "xSemaphoreCreateBinaryStatic", "xSemaphoreCreateCountingStatic" ], "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": "queues_0018", "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_0020", "category": "timers_freertos", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xTimerCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0056", "category": "patterns", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xTaskCreate", "xQueueSend" ], "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_0027", "category": "notifications", "tags": [ "FromISR", "notification" ], "difficulty": "intermediate", "style": "debug", "apis": [ "vTaskNotifyGiveFromISR", "xTaskNotifyFromISR" ], "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": "compare_choose_0042", "category": "compare_choose", "tags": [ "static-alloc", "dynamic" ], "difficulty": "beginner", "style": "qa", "apis": [ "xQueueCreateStatic", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "f...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0042", "category": "tasks_basic", "tags": [ "priority", "scheduling" ], "difficulty": "beginner", "style": "checklist", "apis": [ "vTaskPrioritySet", "uxTaskPriorityGet" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0010", "category": "event_groups", "tags": [ "compare", "notification" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xEventGroupSetBits", "xTaskNotify" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fa...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "hooks_tls_wdt_0023", "category": "hooks_tls_wdt", "tags": [ "tls", "thread-local" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "vTaskSetThreadLocalStoragePointer", "pvTaskGetThreadLocalStoragePointer" ], "esp_idf_version_note": "v5.x conceptual", "source":...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0065", "category": "tasks_basic", "tags": [ "vTaskDelete", "lifecycle" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "delete_self...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0101", "category": "tasks_basic", "tags": [ "vTaskDelete", "lifecycle" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "delete_self...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0017", "category": "patterns", "tags": [ "actor", "message-passing" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueSend", "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0022", "category": "event_groups", "tags": [ "compare", "notification" ], "difficulty": "intermediate", "style": "checklist", "apis": [ "xEventGroupSetBits", "xTaskNotify" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0065", "category": "patterns", "tags": [ "pubsub", "event-group" ], "difficulty": "intermediate", "style": "compare", "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": "memory_heap_0068", "category": "memory_heap", "tags": [ "pvPortMalloc", "malloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "pvPortMalloc", "vPortFree", "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": "debug_troubleshoot_0062", "category": "debug_troubleshoot", "tags": [ "timer", "daemon" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTimerStart", "xTimerCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0036", "category": "isr_critical", "tags": [ "deadlock", "portMUX" ], "difficulty": "advanced", "style": "qa", "apis": [ "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "nested_mux_de...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_freertos_0001", "category": "timers_freertos", "tags": [ "xTimerCreate", "callback" ], "difficulty": "beginner", "style": "qa", "apis": [ "xTimerCreate", "xTimerStart", "xTimerDelete" ], "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": "tasks_basic_0107", "category": "tasks_basic", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "compare", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "max_prioriti...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0002", "category": "notifications", "tags": [ "value", "eSetBits", "mailbox" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": fals...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "ringbuf_0028", "category": "ringbuf", "tags": [ "static-alloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xRingbufferCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "static_ringbuf" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "event_groups_0009", "category": "event_groups", "tags": [ "wait-any", "wait-all" ], "difficulty": "beginner", "style": "migrate", "apis": [ "xEventGroupWaitBits" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "wait_a...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0049", "category": "memory_heap", "tags": [ "calloc", "realloc" ], "difficulty": "intermediate", "style": "debug", "apis": [ "heap_caps_calloc", "heap_caps_realloc" ], "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_0092", "category": "queues", "tags": [ "debug", "queue-full" ], "difficulty": "intermediate", "style": "code_lab", "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": "timers_esp_0034", "category": "timers_esp", "tags": [ "compare", "choose" ], "difficulty": "intermediate", "style": "qa", "apis": [ "esp_timer_start_periodic", "xTimerStart" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0119", "category": "tasks_basic", "tags": [ "vTaskDelete", "lifecycle" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "delete_self...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0062", "category": "semaphores_mutexes", "tags": [ "FromISR", "semaphore" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateBinary" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "mu...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0029", "category": "isr_critical", "tags": [ "FromISR", "rules" ], "difficulty": "beginner", "style": "compare", "apis": [ "xQueueSendFromISR", "xSemaphoreGiveFromISR", "vTaskNotifyGiveFromISR" ], "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_0013", "category": "debug_troubleshoot", "tags": [ "smp", "race" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xSemaphoreTake", "taskENTER_CRITICAL" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_smp_0046", "category": "tasks_smp", "tags": [ "load-balance", "stats", "smp" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreatePinnedToCore", "xTaskCreate" ], "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_0001", "category": "tasks_smp", "tags": [ "pinToCore", "smp" ], "difficulty": "beginner", "style": "compare", "apis": [ "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "pinned_creat...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0035", "category": "tasks_basic", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "qa", "apis": [ "xTaskCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "max_priorities_de...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "isr_critical_0039", "category": "isr_critical", "tags": [ "hpw", "FromISR" ], "difficulty": "intermediate", "style": "migrate", "apis": [ "xQueueSendFromISR", "xSemaphoreGiveFromISR" ], "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": "memory_heap_0023", "category": "memory_heap", "tags": [ "calloc", "realloc" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "heap_caps_calloc", "heap_caps_realloc" ], "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_0078", "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_smp_0044", "category": "tasks_smp", "tags": [ "isr", "smp", "deferred" ], "difficulty": "advanced", "style": "migrate", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "isr_core...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0044", "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": "tasks_basic_0075", "category": "tasks_basic", "tags": [ "task", "static-alloc", "xTaskCreateStatic" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xTaskCreateStatic" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false,...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0051", "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": "memory_heap_0044", "category": "memory_heap", "tags": [ "OOM", "fragmentation" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_malloc", "heap_caps_get_largest_free_block" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0083", "category": "queues", "tags": [ "priority-message", "queue" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSendToFront", "xQueueSendToBack" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_ite...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "semaphores_mutexes_0048", "category": "semaphores_mutexes", "tags": [ "FromISR", "semaphore" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xSemaphoreGiveFromISR", "xSemaphoreCreateBinary" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated",...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "timers_esp_0044", "category": "timers_esp", "tags": [ "compare", "choose" ], "difficulty": "intermediate", "style": "checklist", "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": "queues_0058", "category": "queues", "tags": [ "pointer-queue", "ownership" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xQueueSend", "xQueueReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "q...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call 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_0093", "category": "queues", "tags": [ "zero-copy", "compare" ], "difficulty": "advanced", "style": "qa", "apis": [ "xQueueSend" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "zero_copy_patterns" }
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "patterns_0028", "category": "patterns", "tags": [ "priority", "architecture" ], "difficulty": "advanced", "style": "checklist", "apis": [ "xTaskCreate", "xQueueSend" ], "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_0080", "category": "queues", "tags": [ "isr", "tuning", "queue" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xQueueSendFromISR", "xQueueCreate" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "tasks_basic_0047", "category": "tasks_basic", "tags": [ "vTaskDelete", "lifecycle" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "vTaskDelete" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "delete_self...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "stream_msg_buffers_0002", "category": "stream_msg_buffers", "tags": [ "message-buffer" ], "difficulty": "intermediate", "style": "qa", "apis": [ "xMessageBufferCreate", "xMessageBufferSend", "xMessageBufferReceive" ], "esp_idf_version_note": "v5.x conceptual", "source": "gen...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "compare_choose_0046", "category": "compare_choose", "tags": [ "queue", "notification" ], "difficulty": "beginner", "style": "code_lab", "apis": [ "xQueueSend", "xTaskNotify" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_i...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0042", "category": "memory_heap", "tags": [ "pvPortMalloc", "malloc" ], "difficulty": "intermediate", "style": "qa", "apis": [ "pvPortMalloc", "vPortFree", "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": "patterns_0034", "category": "patterns", "tags": [ "backpressure", "flow-control" ], "difficulty": "advanced", "style": "debug", "apis": [ "xQueueSend", "uxQueueSpacesAvailable" ], "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_0025", "category": "queues", "tags": [ "backpressure", "overflow" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "xQueueSend", "uxQueueSpacesAvailable", "uxQueueMessagesWaiting" ], "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_0032", "category": "tasks_smp", "tags": [ "isr", "smp", "deferred" ], "difficulty": "advanced", "style": "code_lab", "apis": [ "xQueueSendFromISR" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, "fact_item_id": "isr_cor...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "memory_heap_0018", "category": "memory_heap", "tags": [ "OOM", "fragmentation" ], "difficulty": "intermediate", "style": "qa", "apis": [ "heap_caps_malloc", "heap_caps_get_largest_free_block" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn"...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "notifications_0046", "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_0025", "category": "patterns", "tags": [ "ownership", "bus", "i2c" ], "difficulty": "intermediate", "style": "compare", "apis": [ "xQueueSend", "xSemaphoreCreateMutex" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", "multi_turn": false, ...
[ { "role": "system", "content": "You are an expert embedded systems engineer specializing in ESP32, ESP-IDF, and FreeRTOS. You write clear, production-minded C for ESP-IDF projects, call out ISR vs task context, memory and real-time tradeoffs, and common pitfalls. Prefer ESP-IDF v5.x APIs and idioms. When va...
{ "id": "queues_0060", "category": "queues", "tags": [ "debug", "queue-full" ], "difficulty": "intermediate", "style": "code_lab", "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": "queues_0007", "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": "notifications_0029", "category": "notifications", "tags": [ "mailbox", "overwrite" ], "difficulty": "intermediate", "style": "debug", "apis": [ "xTaskNotify", "xTaskNotifyWait" ], "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": "hooks_tls_wdt_0035", "category": "hooks_tls_wdt", "tags": [ "idle", "starvation", "TWDT" ], "difficulty": "intermediate", "style": "code_lab", "apis": [ "esp_task_wdt_reset", "xTaskCreatePinnedToCore" ], "esp_idf_version_note": "v5.x conceptual", "source": "generated", ...