blob: 173c683242612c7f44adc7d186b33564f46db9c4 [file] [log] [blame] [edit]
package(default_visibility = ["//visibility:public"])
cc_library(
name = "rename_exceptions",
hdrs = ["include/cmsis/rename_exceptions.h"],
includes = ["include"],
target_compatible_with = select({
"//bazel/constraint:rp2": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
)
cc_library(
name = "cmsis_core",
srcs = [
"stub/CMSIS/Device/RaspberryPi/RP2040/Source/system_RP2040.c",
],
hdrs = [
"stub/CMSIS/Core/Include/cmsis_armcc.h",
"stub/CMSIS/Core/Include/cmsis_armclang.h",
"stub/CMSIS/Core/Include/cmsis_armclang_ltm.h",
"stub/CMSIS/Core/Include/cmsis_compiler.h",
"stub/CMSIS/Core/Include/cmsis_gcc.h",
"stub/CMSIS/Core/Include/cmsis_iccarm.h",
"stub/CMSIS/Core/Include/cmsis_version.h",
"stub/CMSIS/Core/Include/core_cm0plus.h",
"stub/CMSIS/Core/Include/mpu_armv7.h",
"stub/CMSIS/Device/RaspberryPi/RP2040/Include/RP2040.h",
"stub/CMSIS/Device/RaspberryPi/RP2040/Include/system_RP2040.h",
],
includes = [
"stub/CMSIS/Core/Include",
"stub/CMSIS/Device/RaspberryPi/RP2040/Include",
],
target_compatible_with = select({
"//bazel/constraint:rp2": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
deps = [
"//src/rp2_common/hardware_clocks",
],
)