Newer
Older
mainmenu "WR PTP Core software configuration"
boolean "Use the old mprintf implementation for printf
help
wrpc-sw has traditionally used mprintf as its printf engine.
Unfortunately, the code base has unclear copyright status,
and we are now able to run pp_printf instead. Such implementation
however has had little testing in wrpc-sw by now. Mprintf
is scheduled to be removed in the future, as soon as pp_printf
is more tested on the field.
If unsure, say y for the time being.
config PP_PRINTF
boolean
default !MPRINTF
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
choice
prompt "Implementation of pp_printf"
depends on PP_PRINTF
default PRINTF_XINT
config PRINTF_FULL
bool "full"
help
This selects an implementation that supports all standard
formats with modifiers, like "%08X" and "%.5s". It costs
around 2k of compiled code more than XINT.
See pp_printf/README for details.
config PRINTF_XINT
bool "hex-and-int"
help
This selects a printf that can only print decimal and hex
numbers, without obeying the format modifiers. %c and %s are
supported too, and %p is equivalente to %x.
See pp_printf/README for details.
config PRINTF_MINI
bool "minimal"
help
This selects a printf that prints all integers as hex,
without obeying the format modifiers. %c and %s are
supported too. See pp_printf/README for details.
This is not probably what you want for wrpc-sw.
config PRINTF_NONE
bool "empty"
help
This selects a printf that prints the format string
alone and ignores all further arguments. Minimal size,
but not suited for wrpc-sw. See pp_printf/README for details.
endchoice
config PRINT_BUFSIZE
depends on PP_PRINTF
int "Size for the temporary output string of pp_printf"
default 128
config ETHERBONE
boolean "Compile Etherbone support in wrpc-sw"
help
This allows to run LM32 code that is aware of Etherbone.
You need to run a gateware file that includes Etherbone support.
If in doubt, say No.
config DETERMINISTIC_BINARY
boolean "Build a binary that is the same every time"
help
This option is used to #ifdef __DATE__ and __TIME__ strings
out of the compiled WRC binary. If you set it you'll get the
same binary bit-by-bit at each rebuild. I am using this
option to hack the build procedure and use a simple "diff"
between the old and new output to verify I didn't introduce
changes.
If in doubt, say No.
# The following will soon become a choice with ppsi
config PTP_NOPOSIX
boolean
default y