{
    "key": "esp32-devkitc-v4",
    "kind": "board",
    "source": "authored",
    "status": "draft",
    "harness": {
        "gpio": {
            "notes": "Almost every pin is routable to almost any peripheral through the GPIO matrix, so a driver binds to a pin number chosen at deploy time rather than to a fixed function. The strapping pins and the pins bonded to on-package flash are the exceptions and must not be used.",
            "library": "machine",
            "pin_scheme": "gpio"
        },
        "flash": {
            "baud": 460800,
            "tool": "esptool.py",
            "notes": "Flashes through an on-board USB to UART bridge. esptool drives the reset and boot lines automatically, so the boot button is not normally needed.",
            "method": "usb-serial",
            "port_hint": "/dev/ttyUSB0"
        },
        "probe": {
            "commands": [
                "import sys; print(sys.implementation)",
                "import os; print(os.uname())",
                "import machine; print(machine.freq())",
                "import gc; gc.collect(); print(gc.mem_free())",
                "from machine import I2C, Pin; print(I2C(0).scan())"
            ],
            "model_file": null,
            "overlay_file": null
        },
        "runtime": {
            "python3": true,
            "os_family": null,
            "package_manager": "mip",
            "service_manager": null
        },
        "verified": {
            "by": null,
            "os": null,
            "date": null,
            "reviewed_by": null,
            "evidence_url": null
        },
        "transport": {
            "ota": true,
            "tls": true,
            "notes": "Connects to the broker directly over Wi-Fi. TLS works but the handshake is the largest memory spike in a typical device program, so size the heap around it rather than around steady state.",
            "network": [
                "wifi",
                "bluetooth"
            ],
            "mqtt_client": "umqtt.simple"
        },
        "toolchains": [
            "MicroPython",
            "ESP-IDF",
            "Arduino IDE",
            "Arduino CLI",
            "PlatformIO"
        ],
        "local_inference": {
            "llm": {
                "notes": "Kilobytes of RAM. A general language model does not run here and never will. Send the reading to something that can.",
                "viable": false,
                "runtimes": [],
                "max_params_b": null,
                "quantisation": [],
                "max_model_size_gb": null
            },
            "notes": "The two DACs make this the only ESP32 variant here that can output an analogue waveform without extra hardware.",
            "tinyml": {
                "notes": "ESP-DL is tuned for this core. Wake word and simple classification are realistic; anything involving images is not, without external PSRAM.",
                "viable": true,
                "frameworks": [
                    "ESP-DL",
                    "TensorFlow Lite Micro",
                    "Edge Impulse"
                ]
            },
            "viable": true,
            "accelerator": null,
            "usable_memory_gb": null
        },
        "provisioning_model": "micropython",
        "component_attachment": "gpio-header",
        "supported_provisioning_models": [
            "micropython",
            "arduino-sketch",
            "vendor-firmware"
        ]
    },
    "platform": {
        "cpu": "Xtensa dual-core LX6 @ 240MHz",
        "ram": "520KB SRAM",
        "name": "ESP32-DevKitC-V4",
        "power": [
            {
                "source": "USB",
                "voltage_max": 5,
                "voltage_min": 5
            },
            {
                "source": "5V pin",
                "voltage_max": 5,
                "voltage_min": 5
            },
            {
                "source": "3V3 pin",
                "voltage_max": 3.3,
                "voltage_min": 3.3
            }
        ],
        "has_gpu": false,
        "has_npu": false,
        "has_tpu": false,
        "storage": "4MB Flash",
        "weight_g": null,
        "gpio_pins": 34,
        "board_type": "Microcontroller",
        "interfaces": [
            {
                "type": "Micro USB",
                "count": 1
            },
            {
                "type": "2.54mm header",
                "count": 2
            }
        ],
        "description": "The reference ESP32 development board. Xtensa dual core with Wi-Fi and classic Bluetooth on an ESP32-WROOM-32E module.",
        "adc_channels": 18,
        "dac_channels": 2,
        "manufacturer": "Espressif",
        "model_number": "ESP32-DevKitC-V4",
        "pwm_channels": 16,
        "datasheet_url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html",
        "dimensions_mm": null,
        "serial_protocols": [
            {
                "count": 2,
                "protocol": "I2C"
            },
            {
                "count": 4,
                "protocol": "SPI"
            },
            {
                "count": 3,
                "protocol": "UART"
            },
            {
                "count": 2,
                "protocol": "I2S"
            },
            {
                "count": 1,
                "protocol": "CAN"
            }
        ],
        "operating_systems": [
            {
                "name": "ESP-IDF"
            },
            {
                "name": "Arduino Core"
            },
            {
                "name": "MicroPython"
            }
        ],
        "operating_voltage": "3.3V",
        "communication_chips": [
            {
                "protocol": "Wi-Fi",
                "standard": "802.11b/g/n",
                "chip_model": "ESP32-D0WD-V3"
            },
            {
                "protocol": "Bluetooth",
                "standard": "4.2 BR/EDR and BLE",
                "chip_model": "ESP32-D0WD-V3"
            }
        ]
    },
    "revision": 1
}