From 41ffb2dee645834c71b8ebda4cacf9187b3fe686 Mon Sep 17 00:00:00 2001 From: Kevin Mills <43148204+sifivekevin@users.noreply.github.com> Date: Tue, 14 Sep 2021 08:31:53 -0700 Subject: [PATCH] Support more socket connections on Windows (#644) * rename and cleanup, add tiny-h-cjtag - rename and cleanup to arm-usb-ocd-h-cjtag file to be consistent - add copy of olimex-arm-jtag-cjtag.cfg as arm-usb-tiny-h-cjtag.cfg - did not remove olimex-arm-jtag-cjtag.cfg (should be deprecated) * lets try this... Revert "let's try this..." This reverts commit a9326e4493405356984e8681c577eb5bd476dd89. Tell Windows/winsock2 to use up to 128 sockets. --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index f63bbe51e..5c625de17 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,14 +31,16 @@ DIST_SUBDIRS += jimtcl endif # common flags used in openocd build -AM_CFLAGS = $(GCC_WARNINGS) +AM_CFLAGS = $(GCC_WARNINGS)\ + -DFD_SETSIZE=128 AM_CPPFLAGS = $(HOST_CPPFLAGS)\ -I$(top_srcdir)/src \ -I$(top_builddir)/src \ -I$(top_srcdir)/src/helper \ -DPKGDATADIR=\"$(pkgdatadir)\" \ - -DBINDIR=\"$(bindir)\" + -DBINDIR=\"$(bindir)\"\ + -DFD_SETSIZE=128 if INTERNAL_JIMTCL AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \