From 8f2cc45e42a348bdf4cb668f7437f8b481e3ed5e Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Wed, 27 Nov 2024 17:15:32 +0000 Subject: [PATCH] Fix bazel build --- BUILD.bazel | 1 + lib/littlefs/BUILD.bazel | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 lib/littlefs/BUILD.bazel diff --git a/BUILD.bazel b/BUILD.bazel index d120f50..cfcab30 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -104,6 +104,7 @@ cc_binary( "//errors", "//lib/nlohmann_json:json", "//picoboot_connection", + "//lib/littlefs", "@libusb", "@pico-sdk//src/common/boot_picobin_headers", "@pico-sdk//src/common/boot_picoboot_headers", diff --git a/lib/littlefs/BUILD.bazel b/lib/littlefs/BUILD.bazel new file mode 100644 index 0000000..761ed21 --- /dev/null +++ b/lib/littlefs/BUILD.bazel @@ -0,0 +1,14 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "littlefs", + srcs = [ + "lfs.c", + "lfs_util.c", + ], + hdrs = [ + "lfs.h", + "lfs_util.h", + ], + includes = ["."], +)