{
    "key": "seeed-xiao-esp32c3",
    "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": 921600,
            "tool": "esptool.py",
            "notes": "The SoC exposes USB Serial/JTAG directly, so no bridge chip is involved. A firmware that reconfigures those pins loses the port until the board is put back into download mode by holding BOOT while tapping RESET.",
            "method": "usb-native",
            "port_hint": "/dev/ttyACM0"
        },
        "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 external antenna connector is the reason to pick this over a bare C3 devkit. Range through a wall is not comparable.",
            "tinyml": {
                "notes": "C3 limits apply. Very small models only.",
                "viable": true,
                "frameworks": [
                    "TensorFlow Lite Micro"
                ]
            },
            "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": "RISC-V single-core 32-bit @ 160MHz",
        "ram": "400KB SRAM",
        "name": "Seeed XIAO ESP32C3",
        "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": 2,
        "gpio_pins": 11,
        "board_type": "Microcontroller",
        "interfaces": [
            {
                "type": "USB-C",
                "count": 1
            },
            {
                "type": "U.FL antenna",
                "count": 1
            },
            {
                "type": "Battery pads",
                "count": 1
            }
        ],
        "description": "ESP32-C3 on a thumbnail-sized board with a U.FL connector for an external antenna and on-board battery charging.",
        "adc_channels": 4,
        "dac_channels": 0,
        "manufacturer": "Seeed Studio",
        "model_number": "XIAO ESP32C3",
        "pwm_channels": 6,
        "datasheet_url": "https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/",
        "dimensions_mm": "21 x 17.5",
        "serial_protocols": [
            {
                "count": 1,
                "protocol": "I2C"
            },
            {
                "count": 1,
                "protocol": "SPI"
            },
            {
                "count": 1,
                "protocol": "UART"
            }
        ],
        "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-C3"
            },
            {
                "protocol": "Bluetooth",
                "standard": "5.0 LE",
                "chip_model": "ESP32-C3"
            }
        ]
    },
    "revision": 1
}