Re: Replacing --enable-verbose-usb-comms in configure.ac

2025-08-12 Thread R. Diez
[...] But for all the new stuff, I would keep them at the same level while using different macros for easier code split in future. LOG_LVL_DEBUG_USB= 5,// new LOG_LVL_DEBUG_MALLOC= 5, // new LOG_LVL_DEBUG_...= 5, // new OK, that means that setting the debug level to 5 will add to the log out

Re: Replacing --enable-verbose-usb-comms in configure.ac

2025-08-11 Thread R. Diez
Today we have in OpenOCD enum log_levels { LOG_LVL_SILENT = -3, LOG_LVL_OUTPUT = -2, LOG_LVL_USER = -1, LOG_LVL_ERROR = 0, LOG_LVL_WARNING = 1, LOG_LVL_INFO = 2, LOG_LVL_DEBUG = 3, LOG_LVL_DEBUG_IO = 4, }; [...] My proposal

Replacing --enable-verbose-usb-comms in configure.ac

2025-08-03 Thread R. Diez
Hallo Antonio Borneo: I wanted to remove configuration option --enable-verbose-usb-comms from configure.ac and replace it with a new run-time option --verbose-usb-comms in the openocd executable. My first thought for options.c was (see HAVE_LIBUSB1 below): static const struct option long_opti

Options --help and --version write to stderr instead of stdout

2025-02-16 Thread R. Diez
Hi all: I have tried to change in Makefile.am: AUTOMAKE_OPTIONS = gnu 1.6 to AUTOMAKE_OPTIONS = gnu 1.6 std-options That Automake option just verifies that the executable supports options --help and --version, which OpenOCD already does. However, that simple change made "make distcheck" fai

Re: No notification e-mails from Gerrit

2024-11-16 Thread R. Diez
I fully agree! The relevant configuration knob found and tweaked, hope it works properly now. [...] Thank you for bringing this up! And thank you too for fixing it!

Re: No notification e-mails from Gerrit

2024-10-27 Thread R. Diez
I am not getting any notification e-mails from Gerrit, for example, when upload a patch and the build fails. But you're still getting notification e-mails for reviews, right? If not, please reply off-list and we'll go through all the parts of this. Yes, I just got one such review notification

No notification e-mails from Gerrit

2024-10-23 Thread R. Diez
Hi all: I am not getting any notification e-mails from Gerrit, for example, when upload a patch and the build fails. I already checked the junk mail folder. I added a new preferred e-mail address, and the confirmation e-mail did come through. Has Gerrit been configured to stop sending notific

Re: Dummy adapter not built by default

2024-06-02 Thread R. Diez
If I had to guess I would presume that the idea is that the Dummy Adapter is only really useful for debugging/diagnostic purposes so it's not enabled by default and if you hit a problem that needs it then you configure and build OpenOCD yourself with it enabled? I have had issues in the past

Re: Underfull warnings from openocd.texi

2024-06-02 Thread R. Diez
I had difficulty visualising this ;-) so had to capture a screenshot which I'm hoping the mailing list can cope with... If it can't then the screenshot is also here: * https://ibb.co/M53SjdM I guess that you mean this? The green box shows a URL fits on a single line an

Problematic usage of git2cl

2024-06-02 Thread R. Diez
Hi all: The OpenOCD build system is using script git2cl to generate the ChangeLog file for a distribution. This is the invocation in Makefile.am: git --git-dir $(srcdir)/.git log | PERL_UNICODE="IO" $(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog ; \ The upstream source code of git2cl is

Underfull warnings from openocd.texi

2024-06-01 Thread R. Diez
Hi all: OpenOCD's manual is written in Texinfo format, see file doc/openocd.texi . When generating the PDF, I get some warnings like these: Underfull \hbox (badness 1) in paragraph at lines 525--528 []@textrm Link: [][]@texttt https:// software-dl. ti. com/ ccs/ esd/ doc uments/ xds

Dummy adapter not built by default

2024-06-01 Thread R. Diez
Hi all: Some time ago I wanted to develop some generic JimTcl code for OpenOCD, and I didn't have a debug adapter connected, so I thought I would use the "dummy" adapter. But alas, it wasn't supported by my build of OpenOCD. This is strange, because file BUGS distributed with OpenOCD states:

Increasing required version of Automake

2024-04-21 Thread R. Diez
Hi all: I wanted to remove the usage of Automake macro AM_PROG_CC_C_O in configure.ac, which has been obsolete since Automake 1.14 released in June 2013 (around 11 years ago). That macro used to check whether the C compiler supports the -c and -o options, but the check is now included in AC_P

handler vs jim_handler

2022-11-05 Thread R. Diez
Hi all: In file src/helper/command.h , "struct command", there are these 2 members: command_handler_t handler; Jim_CmdProc *jim_handler; OpenOCD commands seem to use the one or the other. What is the difference? If one preferable? Thanks in advance, rdiez

Remove Yahoo OpenID from Gerrit Sign In page

2021-05-23 Thread R. Diez via OpenOCD-devel
Hallo Paul: The Gerrit project has confirmed that Yahoo OpenID no longer works, and has removed it from their default Sign In page: Issue 14330: Yahoo OpenID no longer works https://bugs.chromium.org/p/gerrit/issues/detail?id=14330 Could you please remove the Yahoo link from this page? http:/

[OpenOCD-devel] Cannot log into Gerrit with Yahoo OpenID

2021-03-29 Thread R. Diez via OpenOCD-devel
Hi all: I wanted to have another go at this patch: The "Bus Pirate" adapter was not listed in the "OpenOCD configuration summary". http://openocd.zylin.com/#/c/5637/ The trouble is, I cannot log into Gerrit anymore with my Yahoo OpenID. I think that Yahoo wants OpenID users (that would probabl