{
    "key": "lilygo-t-display-s3",
    "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": null,
            "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": [
                "arduino-cli board list",
                "arduino-cli board details --fqbn <fqbn>"
            ],
            "model_file": null,
            "overlay_file": null
        },
        "runtime": {
            "python3": false,
            "os_family": null,
            "package_manager": null,
            "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": [
            "Arduino IDE",
            "Arduino CLI",
            "PlatformIO",
            "ESP-IDF",
            "MicroPython"
        ],
        "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 display is driven over a parallel 8080 bus, not SPI, which rules out most generic ST7789 drivers. Use the vendor library.",
            "tinyml": {
                "notes": "S3 silicon with 8MB PSRAM, so the same models the DevKitC-1 handles.",
                "viable": true,
                "frameworks": [
                    "ESP-DL",
                    "TensorFlow Lite Micro"
                ]
            },
            "viable": true,
            "accelerator": "dsp",
            "usable_memory_gb": null
        },
        "provisioning_model": "arduino-sketch",
        "component_attachment": "gpio-header",
        "supported_provisioning_models": [
            "arduino-sketch",
            "micropython",
            "vendor-firmware"
        ]
    },
    "platform": {
        "cpu": "Xtensa dual-core LX7 @ 240MHz",
        "ram": "512KB SRAM plus 8MB PSRAM",
        "name": "LilyGO T-Display-S3",
        "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": "16MB Flash",
        "weight_g": null,
        "gpio_pins": 16,
        "board_type": "Microcontroller",
        "interfaces": [
            {
                "type": "USB-C",
                "count": 1
            },
            {
                "type": "ST7789 LCD 170x320",
                "count": 1
            },
            {
                "type": "JST battery",
                "count": 1
            },
            {
                "type": "2.54mm header",
                "count": 2
            }
        ],
        "description": "ESP32-S3 with a 1.9 inch 170x320 colour LCD, USB-C and a battery connector, in a board narrow enough for a handheld enclosure.",
        "adc_channels": 6,
        "dac_channels": 0,
        "manufacturer": "LilyGO",
        "model_number": "T-Display-S3",
        "pwm_channels": 8,
        "datasheet_url": "https://github.com/Xinyuan-LilyGO/T-Display-S3",
        "dimensions_mm": null,
        "serial_protocols": [
            {
                "count": 1,
                "protocol": "I2C"
            },
            {
                "count": 2,
                "protocol": "SPI"
            },
            {
                "count": 2,
                "protocol": "UART"
            }
        ],
        "operating_systems": [
            {
                "name": "Arduino Core"
            },
            {
                "name": "ESP-IDF"
            },
            {
                "name": "MicroPython"
            }
        ],
        "operating_voltage": "3.3V",
        "communication_chips": [
            {
                "protocol": "Wi-Fi",
                "standard": "802.11b/g/n",
                "chip_model": "ESP32-S3"
            },
            {
                "protocol": "Bluetooth",
                "standard": "5.0 LE",
                "chip_model": "ESP32-S3"
            }
        ]
    },
    "revision": 1
}