Commit ef390d6e authored by Alessandro Rubini's avatar Alessandro Rubini

for-ppsi: pass DIAG_PUTS to ppsi, and use new ppsi revision

With this commit, when you select both the hardware and software uart,
ppsi diagnostics (controlled  by the "verbose" command) got to
the software uart, not to the hardware one. In this way you can run
the shell in a clean tty.

Unfortunately, frame dumps still reach the hardware uart, if frame
verbosity is greater than 1.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 69c9b556
......@@ -115,7 +115,9 @@ all: tools $(OUTPUT).ram $(OUTPUT).vhd $(OUTPUT).mif
$(obj-ppsi):
$(MAKE) -C $(PPSI) ARCH=wrpc PROTO_EXT=whiterabbit \
CROSS_COMPILE=$(CROSS_COMPILE) CONFIG_NO_PRINTF=y
CROSS_COMPILE=$(CROSS_COMPILE) CONFIG_NO_PRINTF=y \
USER_CFLAGS="-DDIAG_PUTS=uart_sw_write_string"
$(OUTPUT).elf: $(LDS) $(AUTOCONF) gitmodules $(OUTPUT).o config.o
$(CC) $(CFLAGS) -DGIT_REVISION=\"$(REVISION)\" -c revision.c
......
ppsi @ feb5ed39
Subproject commit 70d8dbecf2a6cf72dbac93078c42dc8a83decfe1
Subproject commit feb5ed39ae9d6812b3cb1dc686de03c3a0082459
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