On Sat, Oct 18, 2025 at 7:38 AM Agnelo Dcosta <[email protected]> wrote: > > Thanks for your response, Antonio and Tommy > > > Can the driver be upstream in the OpenOCD code directly? > > What's the license of the driver's code? > > Yes, The EUD Source code is available at https://github.com/quic/eud under > licenses GPL-2.0 OR BSD-3 > > We did deliberate internally some time ago, regarding upstreaming the Code > into OpenOCD directly. > The EUD library, however, is used by multiple other tools and utilities which > is why we decided that EUD code should exist as a separate independent entity. > If submodule support is being deprecated, we are ok to switch to link time > external library mode - in fact that is how we had originally done it. > Just to be certain, we should have a configure option like > "--enable-external-eud" isn't it?
Cool! There are helpers in configure.ac so you don't need to explicitly add the option. The library should be packaged within "pkg-config" to be easily used in the configuration script. Probably the closest match is by looking at LINUXGPIOD.It's a driver that has an external dependency from the library 'libgpiod'. There is some extra code due to incompatibility between version 1 and 2 of the library that you should ignore, that's easy to spot. Just search case-insensitive for the string 'gpiod' in configure.ac and you get the 6 places to update (I suppose you don't need to enable bitbanging). Regards Antonio
