version: 1
kind: HwlabHwpodPreinstallConfig
metadata:
  name: constart-71freq-c
  spec: PJ2026-01010305
  implementationRef: draft-2026-06-26-71freq-v03-hwpod-preinstall

hwpodPreinstall:
  hwpodId: constart-71freq-c
  sourceRef:
    spec: config/hwlab-hwpod-preinstalls/constart-71freq-c.yaml#hwpodPreinstall.specDocument
    metadata: config/hwlab-hwpod-preinstalls/constart-71freq-c.yaml#hwpodPreinstall.metadataSidecar
  metadataRef: config/hwlab-hwpod-preinstalls/constart-71freq-c.yaml#hwpodPreinstall.metadataSidecar
  targetDevice:
    board: ConStart 71-FREQ Controller
    mcu: STM32H723ZGTx
    flashBase: "0x08000000"
  nodeBinding:
    hwlabNode: D601
    lane: v03
    nodeId: node-d601-f103-v2
    nodeType: pc-host
  workspaceRootRef: "F:\\Work\\ConStart"
  projectRoot: projects/71-00075-11-FREQ
  toolchain:
    name: keil-mdk
    keilProject: projects/71-00075-11-FREQ/FirmWare/MDK-ARM/FREQ_Controller_FW.uvprojx
    keilTarget: FREQ_Controller_FW
    hexPath: projects/71-00075-11-FREQ/FirmWare/MDK-ARM/FREQ_Controller_FW/FREQ_Controller_FW.hex
    mapPath: projects/71-00075-11-FREQ/FirmWare/MDK-ARM/FREQ_Controller_FW/FREQ_Controller_FW.map
    keilCliPath: "C:\\Users\\liang\\.agents\\skills\\keil\\keil-cli.py"
    uv4Path: "C:\\Keil_v5\\UV4\\UV4.exe"
  debugProbe:
    id: debug-probe
    type: cmsis-dap
    adapter: keil
    probeUid: 3FD750C63E342E24
    probeName: MicroLink CMSIS-DAP
    programBackend: keil-headless
    autoBindUvoptx: true
  uart:
    id: uart/1
    scope: external
    port: COM4
    baudRate: 921600
    backend: pyserial
    encoding: utf8
  boardComm:
    endpoints:
      - id: hwpod-node-ops
        kind: hwpod-node-ops
        endpointRef: config/hwlab-gateway/constart-71freq.yaml#gateway.profile.nodeOps.publicUrl
      - id: freq71
        kind: jsonrpc-tcp
        host: 192.168.0.154
        port: 8000
        role: frequency-controller
      - id: main41
        kind: jsonrpc-tcp
        host: 192.168.0.151
        port: 8000
        role: main-controller
  ioProbe:
    uart:
      id: uart/1
      port: COM4
      baudrate: 921600
      backend: pyserial
    probes:
      - id: main41.ai0.current
        endpointRef: main41
        quantity: current
        unit: mA
        path: hardware/ai/0
        valuePath: ai_current_mA
  runtimeMount:
    namespace: hwlab-v03
    configMapName: hwlab-v03-hwpod-preinstalled-specs
    specKey: constart-71freq-c.yaml
    metadataKey: constart-71freq-c.meta.json
    mountPath: /etc/hwlab/hwpod-specs
    envKey: HWLAB_HWPOD_SPEC_REGISTRY_DIRS
    rolloutTarget:
      kind: Deployment
      name: hwlab-cloud-api
      container: hwlab-cloud-api
  specDocument:
    apiVersion: hwlab.dev/v0alpha1
    kind: Hwpod
    metadata:
      uid: CONSTART-71FREQ-C
      name: constart-71freq-c
    spec:
      targetDevice:
        board: ConStart 71-FREQ Controller
        mcu: STM32H723ZGTx
        flashBase: "0x08000000"
      workspace:
        path: "F:\\Work\\ConStart"
        toolchain: keil-mdk
        projectRoot: projects/71-00075-11-FREQ
        keilProject: projects/71-00075-11-FREQ/FirmWare/MDK-ARM/FREQ_Controller_FW.uvprojx
        keilTarget: FREQ_Controller_FW
        hexPath: projects/71-00075-11-FREQ/FirmWare/MDK-ARM/FREQ_Controller_FW/FREQ_Controller_FW.hex
        mapPath: projects/71-00075-11-FREQ/FirmWare/MDK-ARM/FREQ_Controller_FW/FREQ_Controller_FW.map
        keilCliPath: "C:\\Users\\liang\\.agents\\skills\\keil\\keil-cli.py"
      debugProbe:
        type: cmsis-dap
        adapter: keil
        probeUid: 3FD750C63E342E24
        probeName: MicroLink CMSIS-DAP
        programBackend: keil-headless
        autoBindUvoptx: true
      boardComm:
        endpoints:
          hwpod-node-ops:
            kind: hwpod-node-ops
            endpointRef: config/hwlab-gateway/constart-71freq.yaml#gateway.profile.nodeOps.publicUrl
          freq71:
            kind: jsonrpc-tcp
            host: 192.168.0.154
            port: 8000
            role: frequency-controller
          main41:
            kind: jsonrpc-tcp
            host: 192.168.0.151
            port: 8000
            role: main-controller
      ioProbe:
        uart:
          id: uart/1
          port: COM4
          baudrate: 921600
          backend: pyserial
        probes:
          main41.ai0.current:
            endpointRef: main41
            quantity: current
            unit: mA
            path: hardware/ai/0
            valuePath: ai_current_mA
      nodeBinding:
        nodeId: node-d601-f103-v2
        nodeType: pc-host
  metadataSidecar:
    contractVersion: hwpod-spec-registry-v1
    source:
      kind: preinstalled-yaml-first-spec
      migratedFrom:
        - "F:\\Work\\ConStart\\.device-pod\\.runtime\\D601-71-FREQ.json"
        - "F:\\Work\\ConStart\\projects\\71-00075-11\\.device-pod\\device-pod-71-00075-11.json"
      workspaceRoot: "F:\\Work\\ConStart"
      projectRoot: projects/71-00075-11-FREQ
      verificationIssue: pikasTech/HWLAB#2183
      verifiedAt: 2026-06-26
