Skip to content

Commit c70ec3f

Browse files
committed
add the Board ID to boot_out.txt
1 parent b361871 commit c70ec3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,9 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
691691

692692
// Write version info to boot_out.txt.
693693
mp_hal_stdout_tx_str(MICROPY_FULL_VERSION_INFO);
694+
// Write the board ID (board directory and ID on circuitpython.org)
695+
mp_hal_stdout_tx_str("\r\n" "Board ID:");
696+
mp_hal_stdout_tx_str(CIRCUITPY_BOARD_ID);
694697
mp_hal_stdout_tx_str("\r\n");
695698
}
696699
#endif

0 commit comments

Comments
 (0)