| # Copyright 2023 Google contributors. |
| |
| load("//rules:matcha.bzl", "bin_to_c_file") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| filegroup( |
| name = "all_files", |
| srcs = glob(["**"]), |
| ) |
| |
| # This is a binary running on Kelvin core. It is built from repo |
| # experimental-hw/kelvin/sw/checksum |
| # TODO(b/268228671): Remove binary kelvin_checksum.bin. |
| bin_to_c_file( |
| name = "kelvin_checksum_ml_bin", |
| srcs = ["kelvin_checksum.bin"], |
| var_name = "kelvin_bin", |
| ) |
| |
| # Binary is built from repo experimental-hw/kelvin/sw/hps-c-port |
| # Only contain the binary's byte length and checksum. |
| # TODO(b/268228671): Remove binary kelvin_model.bin. |
| bin_to_c_file( |
| name = "kelvin_model_ml_bin", |
| srcs = ["kelvin_model.bin"], |
| var_name = "kelvin_bin", |
| ) |