Skip to content

Commit

Permalink
Fix Bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Dec 18, 2024
1 parent ddaaf95 commit 015faec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions lib/oofatfs/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],
)

0 comments on commit 015faec

Please sign in to comment.