blob: 204b54b349a48292fe78366b51702ba248c7f087 [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("//rules:matcha.bzl", "sec_flash_binary")
sec_flash_binary(
name = "spi_passthrough",
srcs = [
"spi_passthrough.c",
],
copts = [
"-nostdlib",
"-ffreestanding",
],
deps = [
"//sw/device/tests:test_lib",
"@lowrisc_opentitan//sw/device/lib/dif:spi_host",
],
)