From 1c95a841b8e05df680fcb06c81ff80044dfb26f0 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Wed, 18 Dec 2024 15:59:42 +0000 Subject: [PATCH] Fix Bazel build --- BUILD.bazel | 1 + lib/oofatfs/BUILD.bazel | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 lib/oofatfs/BUILD.bazel diff --git a/BUILD.bazel b/BUILD.bazel index cfcab30..8f0b368 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -105,6 +105,7 @@ cc_binary( "//lib/nlohmann_json:json", "//picoboot_connection", "//lib/littlefs", + "//lib/oofatfs:fatfs", "@libusb", "@pico-sdk//src/common/boot_picobin_headers", "@pico-sdk//src/common/boot_picoboot_headers", diff --git a/lib/oofatfs/BUILD.bazel b/lib/oofatfs/BUILD.bazel new file mode 100644 index 0000000..17376b4 --- /dev/null +++ b/lib/oofatfs/BUILD.bazel @@ -0,0 +1,13 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "fatfs", + srcs = [ + "src/ff.c", + ], + hdrs = [ + "src/ff.h", + "src/ffconf.h", + ], + includes = ["src"], +)