Commit 469e7076 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Grzegorz Daniluk

ppsi: use new version, adapt wrpc-sw build

The ppsi subproject now builds pp_printf by default, so the Makefile here
passes ~CONFIG_NO_PRINTF=y". Also, assign_TimeInternal() is not there
any more because it is just an assignment.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 35eca7da
......@@ -117,8 +117,8 @@ all: tools $(OUTPUT).ram $(OUTPUT).vhd $(OUTPUT).mif
.PHONY: all tools clean gitmodules $(PPSI)/ppsi.o
$(PPSI)/ppsi.o:
$(MAKE) -C $(PPSI) ARCH=spec PROTO_EXT=whiterabbit HAS_FULL_DIAG=y \
CROSS_COMPILE=$(CROSS_COMPILE)
$(MAKE) -C $(PPSI) ARCH=spec PROTO_EXT=whiterabbit \
CROSS_COMPILE=$(CROSS_COMPILE) CONFIG_NO_PRINTF=y
$(OUTPUT).elf: $(LDS) $(AUTOCONF) gitmodules $(OUTPUT).o
$(CC) $(CFLAGS) -DGIT_REVISION=\"$(REVISION)\" -c revision.c
......
ppsi @ 7d2d9d92
Subproject commit d3b860f2d0ca04cd041f08858d0fd1c5ad0f4835
Subproject commit 7d2d9d92d7f739e61bdd3d149accccff16560f20
......@@ -85,7 +85,7 @@ static int meas_phase_range(wr_socket_t * sock, int phase_min, int phase_max,
if (n > 0) {
msg_unpack_header(ppi, buf);
if (mhdr->messageType == 0)
assign_TimeInternal(&ts_sync, &ts_rx);
ts_sync = ts_rx;
else if (mhdr->messageType == 8 && ts_sync.correct) {
MsgFollowUp fup;
msg_unpack_follow_up(buf, &fup);
......
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