It might help if you describe the full set of steps that you carry out in an 
attempt to build OpenOCD. And on what OS variant and version.
________________________________
From: Bruno Pimenta de Oliveira <brnpime...@users.sourceforge.net>
Sent: Saturday, June 19, 2021 7:34:40 PM
To: openocd-devel@lists.sourceforge.net <openocd-devel@lists.sourceforge.net>
Subject: [openocd:tickets] #309 openocd src/svf/svf.c:663:7: error: this 
statement may fall through [-Werror=implicit-fallthrough=]

________________________________

[tickets:#309]<https://sourceforge.net/p/openocd/tickets/309/> openocd 
src/svf/svf.c:663:7: error: this statement may fall through 
[-Werror=implicit-fallthrough=]

Status: new
Milestone: 0.10.0
Created: Sat Jun 19, 2021 06:34 PM UTC by Bruno Pimenta de Oliveira
Last Updated: Sat Jun 19, 2021 06:34 PM UTC
Owner: nobody
Attachments:

  *   Sem 
título1.png<https://sourceforge.net/p/openocd/tickets/309/attachment/Sem%20t%C3%ADtulo1.png>
 (159.2 kB; image/png)

I'm trying to reprogram my hoverboard which has the AT32f403 and using st link 
with openocd and ubuntu. I started to do the steps presented in the video: 
https://www.youtube.com/watch?v=l0KIMjl1BoU&t=252s

After the make install in the openocd I got so many errors below, anyone knows 
what to do to?

rc/svf/svf.c: In function ‘svf_read_command_from_file’:
src/svf/svf.c:663:7: error: this statement may fall through
[-Werror=implicit-fallthrough=]
i = -1;
~~^~~~
src/svf/svf.c:664:4: note: here
case '\r':
^~~~
src/svf/svf.c:667:8: error: this statement may fall through
[-Werror=implicit-fallthrough=]
if (!cmd_pos)
^
src/svf/svf.c:669:4: note: here
default:
^~~~~~~

Regards,

Bruno Oliveira


________________________________

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to