From a5d85518c99259fe3597be3c03bfd1e35d084313 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 8 Mar 2023 13:03:11 +0100 Subject: [PATCH] jtagremote: Add to Makefile and fix build Signed-off-by: gatecat --- litex/build/sim/core/modules/Makefile | 2 +- litex/build/sim/core/modules/jtagremote/jtagremote.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/build/sim/core/modules/Makefile b/litex/build/sim/core/modules/Makefile index d300e2367..d5bb16658 100644 --- a/litex/build/sim/core/modules/Makefile +++ b/litex/build/sim/core/modules/Makefile @@ -1,5 +1,5 @@ include ../variables.mak -MODULES = xgmii_ethernet ethernet serial2console serial2tcp clocker spdeeprom gmii_ethernet $(if $(VIDEO), video) +MODULES = xgmii_ethernet ethernet serial2console serial2tcp clocker spdeeprom gmii_ethernet jtagremote $(if $(VIDEO), video) .PHONY: $(MODULES) $(EXTRA_MOD_LIST) all: $(MODULES) $(EXTRA_MOD_LIST) diff --git a/litex/build/sim/core/modules/jtagremote/jtagremote.c b/litex/build/sim/core/modules/jtagremote/jtagremote.c index 0eb032da4..1b0fa4e25 100644 --- a/litex/build/sim/core/modules/jtagremote/jtagremote.c +++ b/litex/build/sim/core/modules/jtagremote/jtagremote.c @@ -61,7 +61,7 @@ out: static int litex_sim_module_pads_get( struct pad_s *pads, char *name, void **signal) { - int ret; + int ret = RC_OK; void *sig = NULL; int i;