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..d2cc62a --- /dev/null +++ b/lib/oofatfs/BUILD.bazel @@ -0,0 +1,14 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "fatfs", + srcs = [ + "src/ff.c", + ], + hdrs = [ + "src/ff.h", + "src/ffconf.h", + "src/diskio.h", + ], + includes = ["src"], +)