Skip to content

Commit 019656b

Browse files
committed
zephyr/prj.conf: Use UART for console as default, not CONSOLE_SUBSYS.
Most boards enable the UART console because it's needed for USB (where USB CDC creates a virtual UART), and for ctrl-C to work. The `prj_minimal.conf` settings still use CONSOLE_SUBSYS. Fixes issue #17608. Signed-off-by: Damien George <damien@micropython.org>
1 parent ecd8db5 commit 019656b

File tree

7 files changed

+0
-21
lines changed

7 files changed

+0
-21
lines changed

ports/zephyr/boards/bbc_microbit_v2.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CONFIG_CONSOLE_SUBSYS=n
21
CONFIG_NETWORKING=n
32
CONFIG_BT=y
43
CONFIG_BT_DEVICE_NAME_DYNAMIC=y

ports/zephyr/boards/nucleo_h743zi.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# disable console subsys to get REPL working
2-
CONFIG_CONSOLE_SUBSYS=n
3-
41
# flash config
52
CONFIG_FLASH=y
63
CONFIG_FLASH_MAP=y

ports/zephyr/boards/nucleo_wb55rg.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CONFIG_CONSOLE_SUBSYS=n
21
CONFIG_NETWORKING=n
32
CONFIG_BT=y
43
CONFIG_BT_DEVICE_NAME_DYNAMIC=y

ports/zephyr/boards/qemu_cortex_m3.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Interrupt-driven UART console has emulation artifacts under QEMU,
2-
# disable it
3-
CONFIG_CONSOLE_SUBSYS=n
4-
51
# This QEMU target only has 256k ROM and 64k RAM, so disable networking
62
CONFIG_NETWORKING=n
73

ports/zephyr/boards/qemu_x86.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Interrupt-driven UART console has emulation artifacts under QEMU,
2-
# disable it
3-
CONFIG_CONSOLE_SUBSYS=n
4-
51
# Networking drivers
62
# SLIP driver for QEMU
73
CONFIG_NET_SLIP_TAP=y

ports/zephyr/prj.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ CONFIG_STDOUT_CONSOLE=y
66
CONFIG_CONSOLE_HANDLER=y
77
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
88

9-
CONFIG_CONSOLE_SUBSYS=y
10-
CONFIG_CONSOLE_GETCHAR=y
11-
CONFIG_CONSOLE_GETCHAR_BUFSIZE=258
12-
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=128
13-
149
CONFIG_NEWLIB_LIBC=y
1510
CONFIG_FPU=y
1611
CONFIG_MAIN_STACK_SIZE=4736

ports/zephyr/prj_minimal.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@ CONFIG_CONSOLE_SUBSYS=y
88
CONFIG_CONSOLE_GETCHAR=y
99
CONFIG_CONSOLE_GETCHAR_BUFSIZE=258
1010
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=32
11-
# TODO: Disable once https://github.com/zephyrproject-rtos/zephyr/pull/13731 is merged
12-
#CONFIG_CONSOLE=n
13-
#CONFIG_UART_CONSOLE=n
1411

1512
CONFIG_MICROPY_HEAP_SIZE=16384

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy