{
    "key": "esp32-s2-saola-1",
    "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": "No Bluetooth at all. If the design needs BLE provisioning, this is the wrong board and there is no workaround.",
            "tinyml": {
                "notes": "2MB of PSRAM on the WROVER module gives it room the plain ESP32 does not have.",
                "viable": true,
                "frameworks": [
                    "ESP-DL",
                    "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": "Xtensa single-core LX7 @ 240MHz",
        "ram": "320KB SRAM plus 2MB PSRAM",
        "name": "ESP32-S2-Saola-1",
        "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": 43,
        "board_type": "Microcontroller",
        "interfaces": [
            {
                "type": "Micro USB",
                "count": 2
            },
            {
                "type": "2.54mm header",
                "count": 2
            }
        ],
        "description": "Single core ESP32-S2 with native USB OTG and no Bluetooth radio.",
        "adc_channels": 20,
        "dac_channels": 2,
        "manufacturer": "Espressif",
        "model_number": "ESP32-S2-Saola-1",
        "pwm_channels": 8,
        "datasheet_url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html",
        "dimensions_mm": null,
        "serial_protocols": [
            {
                "count": 2,
                "protocol": "I2C"
            },
            {
                "count": 4,
                "protocol": "SPI"
            },
            {
                "count": 2,
                "protocol": "UART"
            },
            {
                "count": 1,
                "protocol": "I2S"
            }
        ],
        "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-S2"
            }
        ]
    },
    "revision": 1
}