Skip to content

Commit 3916ec7

Browse files
boards: tenstorrent: tt_grendel_smc: enable logging
Enable logging with virtual console on the grendel SMC Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
1 parent 99e41e1 commit 3916ec7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

boards/tenstorrent/tt_grendel_smc/Kconfig.defconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,18 @@ config SYS_CLOCK_TICKS_PER_SEC
99
config SYS_CLOCK_HW_CYCLES_PER_SEC
1010
default 1000000
1111

12+
if LOG
13+
14+
# Use Tenstorrent virtual logging backend by default on Grendel SMC
15+
config LOG_BACKEND_TT_VIRT
16+
bool
17+
default y
18+
19+
# Use immediate logging mode, otherwise logs will often be lost in simulation
20+
choice LOG_MODE
21+
default LOG_MODE_IMMEDIATE
22+
endchoice
23+
24+
endif
25+
1226
endif # BOARD_TT_GRENDEL_SMC

0 commit comments

Comments
 (0)