add the Board ID to boot_out.txt
This commit is contained in:
parent
b36187102f
commit
c70ec3fbbc
3
main.c
3
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.
|
// 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
|
||||||
|
|
Loading…
Reference in New Issue