Skip to content

Commit 30f81cd

Browse files
committed
print build dependencies on boot
1 parent 068cadb commit 30f81cd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/provisioning/littlefs/WipperSnapper_LittleFS.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
*/
2929
/**************************************************************************/
3030
WipperSnapper_LittleFS::WipperSnapper_LittleFS() {
31+
#if PRINT_DEPENDENCIES
32+
// Print project build dependencies
33+
WS_DEBUG_PRINTLN("Build Dependencies:");
34+
WS_DEBUG_PRINTLN("*********************");
35+
WS_DEBUG_PRINTLN(project_dependencies);
36+
WS_DEBUG_PRINTLN("*********************");
37+
#endif
38+
3139
// Attempt to initialize filesystem
3240
if (!LittleFS.begin()) {
3341
setStatusLEDColor(RED);

src/provisioning/tinyusb/Wippersnapper_FS.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ bool setVolumeLabel() {
9191
*/
9292
/**************************************************************************/
9393
Wippersnapper_FS::Wippersnapper_FS() {
94+
#if PRINT_DEPENDENCIES
95+
WS_DEBUG_PRINTLN("Build Dependencies:");
96+
WS_DEBUG_PRINTLN("*********************");
97+
WS_DEBUG_PRINTLN(project_dependencies);
98+
WS_DEBUG_PRINTLN("*********************");
99+
WS_PRINTER.flush();
100+
#endif
94101
// Detach USB device during init.
95102
TinyUSBDevice.detach();
96103
// Wait for detach

0 commit comments

Comments
 (0)