Commit 9bc9c10f authored by Aurelio Colosimo's avatar Aurelio Colosimo

Kconfig: select pp_printf automatically if ppsi engine is set

Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 035595d9
......@@ -17,9 +17,37 @@ config STACKSIZE
The linker complains if the code doesn't fit into RAM, but
we must also consider the stack, or the program will crash
badly at run time.
choice
prompt "Choose your preferred ptp engine"
default PTP_NOPOSIX
config PTP_NOPOSIX
boolean "ptp-noposix"
help
Select this option for the ptp-noposix engine
config PPSI
boolean "ppsi"
help
Select this option for the ppsi engine. Warning: this option is
work in progress, may not work or not compile at all.
endchoice
config PPSI_VERBOSITY
depends on PPSI
int "Default verbosity for PPSI"
help
This option makes you select the verbosity of PPSI at startup:
0 means silent
1 means normal verbosity messages
2 means more verbose messages
default 0
range 0 2
config MPRINTF
boolean "Use the old mprintf implementation for printf"
depends on !PPSI
default y
help
wrpc-sw has traditionally used mprintf as its printf engine.
......@@ -97,30 +125,4 @@ config DETERMINISTIC_BINARY
If in doubt, say No.
choice
prompt "Choose your preferred ptp engine"
default PTP_NOPOSIX
config PTP_NOPOSIX
boolean "ptp-noposix"
help
Select this option for the ptp-noposix engine
config PPSI
boolean "ppsi - not recommended: not fully supported yet"
help
Select this option for the ppsi engine. Warning: this option is
work in progress, may not work or not compile at all.
config PPSI_VERBOSITY
depends on PPSI
int "Default verbosity for PPSI"
help
This option makes you select the verbosity of PPSI at startup:
0 means silent
1 means normal verbosity messages
2 means more verbose messages
default 0
range 0 2
endchoice
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment