blob: e65206977d2184ca83020e5461580c86e7ec39c4 [file] [log] [blame]
load('//motors:macros.bzl', 'hex_from_elf')
load("//tools:environments.bzl", "mcu_cpus")
cc_binary(
name = 'medium_salsa.elf',
srcs = [
'medium_salsa.cc',
],
deps = [
':util',
'//motors/core',
'//motors/usb:legacy',
],
restricted_to = mcu_cpus,
)
hex_from_elf(
name = 'medium_salsa',
restricted_to = mcu_cpus,
)
cc_library(
name = 'util',
visibility = ['//visibility:public'],
hdrs = [
'util.h',
],
restricted_to = mcu_cpus,
)