Skip to content

Commit a9e3bcb

Browse files
gmarullcarlescufi
authored andcommitted
boards: custom_plank: tweak defconfig with UART console
To improve the default user experience. However, explain this may not be the best choice on production boards. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent bca5475 commit a9e3bcb

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

app/debug.conf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
# compiler
88
CONFIG_DEBUG_OPTIMIZATIONS=y
99

10-
# console
11-
CONFIG_CONSOLE=y
12-
13-
# UART console
14-
CONFIG_SERIAL=y
15-
CONFIG_UART_CONSOLE=y
16-
1710
# logging
1811
CONFIG_LOG=y
1912
CONFIG_APP_LOG_LEVEL_DBG=y

boards/vendor/custom_plank/custom_plank_defconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
CONFIG_ARM_MPU=y
55
CONFIG_HW_STACK_PROTECTION=y
66

7-
CONFIG_GPIO=y
7+
# Enable UART console on all configurations for convenience. This is usually
8+
# done at board level upstream so that all samples output printed messages to
9+
# the configured #zephyr,console. In production boards, this may be enabled at
10+
# application level or in a debug configuration overlay.
11+
CONFIG_SERIAL=y
12+
CONFIG_CONSOLE=y
13+
CONFIG_UART_CONSOLE=y
814

915
CONFIG_PINCTRL=y

0 commit comments

Comments
 (0)