From c70ec3fbbca1d4711d595709bfc3861c3e8ba1b2 Mon Sep 17 00:00:00 2001 From: Neradoc Date: Sun, 8 Aug 2021 19:01:44 +0200 Subject: [PATCH] add the Board ID to boot_out.txt --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 2b4327ad93..1c39859f24 100755 --- a/main.c +++ b/main.c @@ -691,6 +691,9 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) { // Write version info to boot_out.txt. mp_hal_stdout_tx_str(MICROPY_FULL_VERSION_INFO); + // Write the board ID (board directory and ID on circuitpython.org) + mp_hal_stdout_tx_str("\r\n" "Board ID:"); + mp_hal_stdout_tx_str(CIRCUITPY_BOARD_ID); mp_hal_stdout_tx_str("\r\n"); } #endif