gdbstub: Add custom backend choice

By default `GDBSTUB_SERIAL_BACKEND` will be selected as it's the only
option here. This can cause problems for code that wants to provide its
own custom backend. Add a choice for a custom backend.

Signed-off-by: Robert Zieba <robertzieba@google.com>
This commit is contained in:
Robert Zieba 2024-02-28 10:32:53 -07:00 committed by Anas Nashif
parent e61e6a4092
commit dca836b9b1

View file

@ -414,6 +414,11 @@ config GDBSTUB_SERIAL_BACKEND
help
Use serial as backend for GDB
config GDBSTUB_CUSTOM_BACKEND
bool "Use a custom backend"
help
Use a custom backend for GDB
endchoice
config GDBSTUB_BUF_SZ