| load("@lowrisc_opentitan//rules:opentitan.bzl", "OPENTITAN_CPU") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| cc_library( |
| name = "spi_display", |
| srcs = [ |
| "LCD_Driver.cpp", |
| "font12.c", |
| "font16.c", |
| "font20.c", |
| "font24.c", |
| "font8.c", |
| "spi_display.c", |
| ], |
| hdrs = [ |
| "DEV_Config.h", |
| "LCD_Driver.h", |
| "fonts.h", |
| "spi_display.h", |
| ], |
| target_compatible_with = [OPENTITAN_CPU], |
| deps = [ |
| "//sw/device/lib:util", |
| "//sw/device/lib/dif:rv_plic_smc", |
| "//sw/device/lib/dif:tlul_mailbox", |
| "@lowrisc_opentitan//sw/device/lib/dif:spi_host", |
| "@lowrisc_opentitan//sw/device/lib/testing/test_framework:check", |
| ], |
| ) |