Skip to content

Commit 8045322

Browse files
committed
Add printing of project dependencies to boot_out.txt
1 parent 65be13a commit 8045322

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/provisioning/tinyusb/Wippersnapper_FS.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Adafruit_FlashTransport_RP2040 flashTransport;
5151
#error No QSPI/SPI flash are defined on your board variant.h!
5252
#endif
5353

54+
#if defined(PRINT_DEPENDENCIES)
55+
#include "print_dependencies.h"
56+
#endif
57+
58+
5459
Adafruit_SPIFlash flash(&flashTransport); ///< SPIFlash object
5560
FatVolume wipperFatFs; ///< File system object from Adafruit SDFat
5661

@@ -279,6 +284,11 @@ bool Wippersnapper_FS::createBootFile() {
279284
bootFile.print("MAC Address: ");
280285
bootFile.println(sMAC);
281286

287+
#ifdef PRINT_DEPENDENCIES
288+
bootFile.println("Build Dependencies:");
289+
bootFile.println(project_dependencies);
290+
#endif
291+
282292
bootFile.flush();
283293
bootFile.close();
284294
is_success = true;

0 commit comments

Comments
 (0)