blob: 4ecae8730af3d6da1f56d4fc8221fffae8362dea [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
load("@ot_python_deps//:requirements.bzl", "requirement")
load("@rules_python//python:defs.bzl", "py_binary")
package(default_visibility = ["//visibility:public"])
py_library(
name = "prince",
srcs = ["prince.py"],
)
py_library(
name = "secded_gen",
srcs = ["secded_gen.py"],
data = ["//util/design/data:secded_cfg.hjson"],
deps = [requirement("hjson")],
)
py_binary(
name = "gen-flash-img",
srcs = ["gen-flash-img.py"],
deps = [
":secded_gen",
requirement("pyfinite"),
],
)
py_binary(
name = "gen-otp-img",
srcs = ["gen-otp-img.py"],
imports = ["."],
deps = [
"//util/design/lib:common",
"//util/design/lib:otp_mem_img",
requirement("hjson"),
],
)