John <[email protected]> writes:

> On Wed, Jan 25, 2012 at 06:50:19PM +0100, Freddie Chopin wrote:
>> W dniu 2012-01-25 15:34, John Devereux pisze:
>> > In recent openocd the LPC target files do not seem to export the
>> > _TARGETNAME variable, contrary to the manual.
>> >
>> > As a consequence the board scripts do not work (neither the built-in
>> > ones nor my custom ones).
>> 
>> Maybe that has something to do with recent change of script handling and 
>> making all variables global?
>> 
>> Does 0.5.0 work fine?
>
> An LPC2129 & LPC2919 both work for me, as their cfg files source
> lpc2xxx.cfg or lpc2900.cfg, which set _TARGETNAME

Yes but do they actually export that name outside the file? The files
themselves work. But for me it seems because _TARGETNAME appears not
exported the *board* files do not work, and I am unable to configure
e.g. the reset event.

So in my board file

$_TARGETNAME configure -event reset-init {...

results in the error message.

Are you able to use _TARGETNAME in your own config file? (Or use a board
file which does this)?


-- 

John Devereux

------------------------------------------------------------------------------
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