arch/arm: fix undefined reference to arm_serialinit when RTT console used

This commit is contained in:
raiden00pl 2023-09-20 14:52:02 +02:00 committed by Xiang Xiao
parent 0b00a02f81
commit 3e79d21100
2 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,9 @@
# elif defined(CONFIG_CONSOLE_SYSLOG)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# elif defined(CONFIG_SERIAL_RTT_CONSOLE)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# else
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1

View File

@ -55,6 +55,9 @@
# elif defined(CONFIG_CONSOLE_SYSLOG)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# elif defined(CONFIG_SERIAL_RTT_CONSOLE)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# else
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1