Skip to content

Commit acaba09

Browse files
committed
samples: hello_world: Change to full logging
Change this app to use full logging in Zephyr. This requires a larger stack, and at least for now, we disable the RTT logging, as the logging seems to get confused if more than one back end is present. Signed-off-by: David Brown <[email protected]>
1 parent 0242ede commit acaba09

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

samples/hello_world/prj.conf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# Copyright (c) 2024 Linaro LTD
22
# SPDX-License-Identifier: Apache-2.0
33

4+
# The default 1k stack isn't large enough for rust string formatting with logging.
5+
CONFIG_MAIN_STACK_SIZE=4096
6+
47
CONFIG_RUST=y
58

6-
# CONFIG_RUST_ALLOC=y
7-
# CONFIG_LOG=y
9+
CONFIG_RUST_ALLOC=y
10+
CONFIG_LOG=y
11+
12+
CONFIG_LOG_BACKEND_RTT=n

0 commit comments

Comments
 (0)