Raspberry as JTAG dongle: openocd-esp32 branch does not compile on gcc8

wmauss
Posts: 2
Joined: Sun Dec 22, 2019 7:52 am

Raspberry as JTAG dongle: openocd-esp32 branch does not compile on gcc8

Postby wmauss » Sun Dec 22, 2019 8:17 am

All,

I would like to use a Raspberry Zero (Raspbian 10, "Buster") as JTAG dongle to debug ESP32 code.
Unfortunately make fails with a "cast between incompatible function types" error message, see https://github.com/espressif/openocd-esp32/issues/86.

In the issues section on Github for openocd-esp32 as linked above, there is a hint that disabling -Werror and -Wall might serve as a temporary work around.
After some trials I found these options allowed me to compile and install (through ignoring the Compiler warning):

Code: Select all

./configure --enable-sysfsgpio --enable-bcm2835gpio --disable-Werror -–disable-Wall
sudo make install CFLAGS=“-w”
The issue with the incompatible function types still remains, of course. The bug has been reported first time in September by others but nothing has happened since then.

Thanks!

Regards
Werner

Who is online

Users browsing this forum: Google [Bot] and 420 guests