Hi Oyvind.

Would you be able to provide some guidance on how to resolve the
issues with the lpc2478.cpu and others that are setting TARGETNAME
from the init_target path and board files like the ea board file that
use TARGETNAME when sourced and before the init code is called?

Chris


On Feb 2, 2012, at 1:10 PM, Peter Stuge <[email protected]> wrote:

> Freddie Chopin wrote:
>>> Do you know who came up with the init_target idea? That's the
>>> person that would probably best help decide what to do.
>>
>> Øyvind? I don't remember, probably it would be best to see the
>> commits around year ago or list archives...
>
> $ git log --grep ' init_targets '
> commit b46231669928bf4edb48c50b327cb68b0d01a27e
> Author: Spencer Oliver <[email protected]>
> Date:   Wed Nov 23 23:39:57 2011 +0000
>
>    target: fix init_targets script handling
>
>    This fixes an issue when init is called before init_targets has been
>    executed.
>
>    Make sure init_targets is called before init.
>
>    Change-Id: Icd5bd4c2a8eea2e399d9de4e331a77560e9672ac
>    Signed-off-by: Spencer Oliver <[email protected]>
>    Reviewed-on: http://openocd.zylin.com/235
>    Tested-by: jenkins
>    Reviewed-by: Peter Stuge <[email protected]>
>
> commit e03f45f6996ca9b646c228cad8431dea73054818
> Author: Øyvind Harboe <[email protected]>
> Date:   Sun Dec 19 11:24:51 2010 +0100
>
>    config: add init_targets proc that is executed just before init
>
>    this allows configuration scripts to export a init_targets proc
>    rather than setting up the target directly.
>
>    This allows for new conventions in how to set up target vs. board
>    script and how to transfer default settings between board and
>    target scripts.
>
>    Signed-off-by: Øyvind Harboe <[email protected]>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to