Xiaofan, do you have any FTDI based adapter to test if the generated openocd.exe binary works fine? I have checked with ST-Link CMSIS-DAP and it was OK
(you can download the binary from https://github.com/tarek-bochkati/openocd/actions/runs/2409477180 ) Le lun. 30 mai 2022 à 15:21, Xiaofan Chen <xiaof...@gmail.com> a écrit : > Great. That looks promising. > > I understand the reason for using Cross Build. No problems with that. > > Best regards, > Xiaofan > > On Mon, May 30, 2022 at 10:17 PM Tarek BOCHKATI > <tarekbouchk...@gmail.com> wrote: > > > > digging into libftdi situation I identified an issue in: > ${LIBFTDI_SRC}/cmake/Toolchain-${HOST_TRIPLET}.cmake > > where CMAKE_FIND_ROOT_PATH is hardcoded > > > > I'm trying a workaround in: #6992 : [WIP] github workflow: use libusb > 1.0.26 and hidapi 0.11.2 > > => github action finished without issues, but I need to test further > > (please refer to > https://github.com/tarek-bochkati/openocd/actions/runs/2409477180 ) > > > > Regarding native MYS2 mingw32, I avoided that due to build time and > because in > > it introduces more dll dependencies. > > >