from __future__ import annotations

from typing import Optional

from .discovery import configure


def configure_board(
    revision: Optional[str],
    features_wanted: list[str],
    env: dict,
    defines: list[str | tuple[str, str]],
    sources: list[str],
    paths: list[str],
):

    defines += (("MODEL_HEADER", '"D001/model_D001.h"'),)
    defines += (("VERSIONS_HEADER", '"D001/versions.h"'),)
    return configure(env, features_wanted, defines, sources, paths)


def get_model_ui() -> str:
    return "bolt"


def get_model_ui_conf() -> list[str]:
    return []
