Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-21 Thread Marc Schink
I would need some argumentation, why "speed" and not "khz" or "rate" or "freq". Well, why not "khz"? It's the worst command name I can think of. It's an unit and not an adapter action or property. (Un)fortunately, we don't have a similar command to make fun of but what about "adapter ms" inst

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-21 Thread Oleksij Rempel
Am 20.11.18 um 17:21 schrieb Antonio Borneo: > On Tue, Nov 20, 2018 at 1:43 PM Oleksij Rempel wrote: >> >> Hi all, >> >> i started this discussion on the irc #openocd. As PaulFertser suggested, >> lets move it to the mailing list. >> >> To make at least some of the commands more consistent, i deci

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-21 Thread Oleksij Rempel
Am 20.11.18 um 21:38 schrieb Marc Schink: >> Hi all, >> >> i started this discussion on the irc #openocd. As PaulFertser suggested, >> lets move it to the mailing list. >> >> To make at least some of the commands more consistent, i decided to >> rework adapter related part. Initial patch is here: >

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Marc Schink
Hi all, i started this discussion on the irc #openocd. As PaulFertser suggested, lets move it to the mailing list. To make at least some of the commands more consistent, i decided to rework adapter related part. Initial patch is here: http://openocd.zylin.com/4774 Awesome, thanks for the (radi

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Antonio Borneo
On Tue, Nov 20, 2018 at 1:43 PM Oleksij Rempel wrote: > > Hi all, > > i started this discussion on the irc #openocd. As PaulFertser suggested, > lets move it to the mailing list. > > To make at least some of the commands more consistent, i decided to > rework adapter related part. Initial patch is

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Oleksij Rempel
Am 20.11.18 um 17:05 schrieb Steven Stallion: > On Tue, Nov 20, 2018 at 9:46 AM, Oleksij Rempel > wrote: > > > Apart from the mechanical aspects of having a shared command context > > across multiple modules, this is a rather radical departure from how >

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Steven Stallion via OpenOCD-devel
On Tue, Nov 20, 2018 at 9:46 AM, Oleksij Rempel wrote: > > Apart from the mechanical aspects of having a shared command context > > across multiple modules, this is a rather radical departure from how > > targets are configured today and could have wide-ranging consequences. > > For example? > T

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Oleksij Rempel
Hi Tomas, Am 20.11.18 um 13:41 schrieb Oleksij Rempel: > Hi all, > > i started this discussion on the irc #openocd. As PaulFertser suggested, > lets move it to the mailing list. > > To make at least some of the commands more consistent, i decided to > rework adapter related part. Initial patch i

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Oleksij Rempel
Hi Steven, Am 20.11.18 um 16:14 schrieb Steven Stallion: > Hi Oleksij, > > On Tue, Nov 20, 2018 at 6:41 AM, Oleksij Rempel > wrote: > > Hi all, > > i started this discussion on the irc #openocd. As PaulFertser suggested, > lets move it to the mailing

Re: [OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Steven Stallion via OpenOCD-devel
Hi Oleksij, On Tue, Nov 20, 2018 at 6:41 AM, Oleksij Rempel wrote: > Hi all, > > i started this discussion on the irc #openocd. As PaulFertser suggested, > lets move it to the mailing list. > > To make at least some of the commands more consistent, i decided to > rework adapter related part. Ini

[OpenOCD-devel] adapter related commands refactoring

2018-11-20 Thread Oleksij Rempel
Hi all, i started this discussion on the irc #openocd. As PaulFertser suggested, lets move it to the mailing list. To make at least some of the commands more consistent, i decided to rework adapter related part. Initial patch is here: http://openocd.zylin.com/4774 Here are the old variants of ad