File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 57
57
# elif defined(CONFIG_SERIAL_RTT_CONSOLE )
58
58
# undef USE_SERIALDRIVER
59
59
# undef USE_EARLYSERIALINIT
60
+ # elif defined(CONFIG_RPMSG_UART_CONSOLE )
61
+ # undef USE_SERIALDRIVER
62
+ # undef USE_EARLYSERIALINIT
60
63
# else
61
64
# define USE_SERIALDRIVER 1
62
65
# define USE_EARLYSERIALINIT 1
Original file line number Diff line number Diff line change 58
58
# elif defined(CONFIG_SERIAL_RTT_CONSOLE )
59
59
# undef USE_SERIALDRIVER
60
60
# undef USE_EARLYSERIALINIT
61
+ # elif defined(CONFIG_RPMSG_UART_CONSOLE )
62
+ # undef USE_SERIALDRIVER
63
+ # undef USE_EARLYSERIALINIT
61
64
# else
62
65
# define USE_SERIALDRIVER 1
63
66
# define USE_EARLYSERIALINIT 1
Original file line number Diff line number Diff line change @@ -81,6 +81,16 @@ config RPMSG_UART
81
81
select SERIAL_REMOVABLE
82
82
select SERIAL_IFLOWCONTROL
83
83
84
+ config RPMSG_UART_CONSOLE
85
+ bool "UART rpmsg console support"
86
+ default n
87
+ depends on RPMSG_UART
88
+ ---help---
89
+ Register the UART rpmsg device as /dev/console so that is will be used
90
+ as the console device.
91
+ NOTE: support for this option must be implemented in the board logic by
92
+ setting the \"isconsole\" argument in the uart_rpmsg_init() function to true.
93
+
84
94
#
85
95
# Standard serial driver configuration
86
96
#
You can’t perform that action at this time.
0 commit comments