add the Board ID to boot_out.txt

This commit is contained in:
Neradoc 2021-08-08 19:01:44 +02:00
parent b36187102f
commit c70ec3fbbc
1 changed files with 3 additions and 0 deletions

3
main.c
View File

@ -691,6 +691,9 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
// Write version info to boot_out.txt. // Write version info to boot_out.txt.
mp_hal_stdout_tx_str(MICROPY_FULL_VERSION_INFO); 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"); mp_hal_stdout_tx_str("\r\n");
} }
#endif #endif