Re: [Openocd-development] pointers modification within functions

2011-11-02 Thread Andreas Fritiofson
On Thu, Nov 3, 2011 at 1:43 AM, Tomek CEDRO wrote: > Hello Andreas :-) > > On Thu, Nov 3, 2011 at 12:36 AM, Andreas Fritiofson > wrote: > > This won't even compile. You pass a pointer-to-int, but swd_bus_read_ack > > expects a pointer-to-pointer-to-char. > > naah this is only typo in mind-shortc

Re: [Openocd-development] pointers modification within functions

2011-11-02 Thread Tomek CEDRO
Hello Andreas :-) On Thu, Nov 3, 2011 at 12:36 AM, Andreas Fritiofson wrote: > This won't even compile. You pass a pointer-to-int, but swd_bus_read_ack > expects a pointer-to-pointer-to-char. naah this is only typo in mind-shortcut, code builds well, but i dont get it why i cannot use single poi

Re: [Openocd-development] pointers modification within functions

2011-11-02 Thread Andreas Fritiofson
On Thu, Nov 3, 2011 at 12:41 AM, Tomek CEDRO wrote: > Hey, > > I have some problems with pointers and need some support plz ;-) > I'm not sure I understand what the problem is, but I can give some general hints. int swd_bus_read_ack(swd_ctx_t *swdctx, swd_operation_t operation, char > **ack){ >

[Openocd-development] pointers modification within functions

2011-11-02 Thread Tomek CEDRO
Hey, I have some problems with pointers and need some support plz ;-) int swd_bus_read_ack(swd_ctx_t *swdctx, swd_operation_t operation, char **ack){ swd_cmd_enqueue_miso_ack(swdctx, ack); } int swd_cmd_enqueue_miso_ack(swd_ctx_t *swdctx, char **ack){ if (swdctx==NULL) return SWD_ERROR_NULLCO

Re: [Openocd-development] openocd patch: 96c3cbf cortex_m: add missing error checking

2011-11-02 Thread Andreas Fritiofson
On Tue, Nov 1, 2011 at 11:16 PM, Tomek CEDRO wrote: > Hey does this code is related anyhow to arm_adi_v5 or this is totally > alternative solution? > > Yes, it *uses* arm_adi_v5. /Andreas ___ Openocd-development mailing list Openocd-development@lists.b

Re: [Openocd-development] include linux/scripts in OpenOCD project?

2011-11-02 Thread Tomek CEDRO
On Wed, Nov 2, 2011 at 8:09 PM, Øyvind Harboe wrote: > On Wed, Nov 2, 2011 at 9:06 PM, Tomek CEDRO wrote: >> On Wed, Nov 2, 2011 at 8:03 PM, Øyvind Harboe >> wrote: >>> Should we? >> >> What does these scripts do? Will they work on FreeBSD? :-P :-) > > They allow you to check patches for coding

Re: [Openocd-development] include linux/scripts in OpenOCD project?

2011-11-02 Thread Øyvind Harboe
On Wed, Nov 2, 2011 at 9:06 PM, Tomek CEDRO wrote: > On Wed, Nov 2, 2011 at 8:03 PM, Øyvind Harboe wrote: >> Should we? > > What does these scripts do? Will they work on FreeBSD? :-P :-) They allow you to check patches for coding style, remove whitespace, automatically indent, etc. Don't know a

Re: [Openocd-development] include linux/scripts in OpenOCD project?

2011-11-02 Thread Tomek CEDRO
On Wed, Nov 2, 2011 at 8:03 PM, Øyvind Harboe wrote: > Should we? What does these scripts do? Will they work on FreeBSD? :-P :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ Openocd-development mailing list Openocd-development@lists.berlios.de

[Openocd-development] include linux/scripts in OpenOCD project?

2011-11-02 Thread Øyvind Harboe
Should we? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 http://www.zylin.com/ ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-develo

[Openocd-development] openocd patch: 2fb67e0 tx27stk5: add board init support for KaRo TX27 CPU module

2011-11-02 Thread gerrit
This is an automated email from Gerrit. Mark Vels (mark.v...@team-embedded.nl) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/158 -- gerrit commit 2fb67e0d442b3e00e81df5fadd4eedc930e3bd6d Author: Mark Vels Date: Tue Nov 1 13:29:11 2011 +0100 tx27

[Openocd-development] openocd patch: aa9bc05 HACKING: all you need is http access

2011-11-02 Thread gerrit
This is an automated email from Gerrit. ?yvind Harboe (oyvindhar...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/157 -- gerrit commit aa9bc05890f74e51599e38d5ad195bb7af848261 Author: Øyvind Harboe Date: Wed Nov 2 10:48:44 2011 +0100

Re: [Openocd-development] Gerrit with http only

2011-11-02 Thread Spencer Oliver
On 2 November 2011 09:24, Øyvind Harboe wrote: > Setting up the commit-msg hook isn't possible using http only: > >        scp -p -P 29418 usern...@openocd.zylin.com:hooks/commit-msg .git/hooks/ > > http://repo.or.cz/w/openocd.git/blame?f=HACKING > > Any suggestions? > http://openocd.zylin.com/to

[Openocd-development] Gerrit with http only

2011-11-02 Thread Øyvind Harboe
Setting up the commit-msg hook isn't possible using http only: scp -p -P 29418 usern...@openocd.zylin.com:hooks/commit-msg .git/hooks/ http://repo.or.cz/w/openocd.git/blame?f=HACKING Any suggestions? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-98