# 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", | |
], | |
) |