I dont like saying this, because I dont like it when folks say it to me, but I 
have the latest newt tool and the latest from develop (at least I think I do) 
and I have no issue with loading an arduino_zero board (either the bootloader 
or the image).

I need to look at the go code in more detail to provide a better answer, but 
CORE_PATH is set here: builder/load.go.

If you turn on debug when you load with -lDEBUG it shows the CORE_PATH setting. 
Not that that will help much, but at least it will show what it thinks it is.


> On Nov 9, 2016, at 7:46 AM, David G. Simmons <[email protected]> wrote:
> 
> 
> On the latest develop branch, there seems to be an issue with loading ... 
> 
> newt load arduino_boot
> Loading bootloader
> + . /hw/scripts/openocd.sh
> /Users/dsimmons/dev/myproj/repos/mynewt_arduino_zero/hw/bsp/arduino_zero/arduino_zero_download.sh:
>  line 31: /hw/scripts/openocd.sh: No such file or directory
> 
> It appears that $CORE_PATH is not properly set before 
> arduino_zero_download.sh is called. I've yet to discover where this is 
> supposed to be set in newt.
> 
> dg
> --
> David G. Simmons
> (919) 534-5099
> Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • 
> Linkedin <http://linkedin.com/in/davidgsimmons> • Twitter 
> <http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
> /** Message digitally signed for security and authenticity.  
> * If you cannot read the PGP.sig attachment, please go to 
> * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
> * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
> **/
> ♺ This email uses 100% recycled electrons. Don't blow it by printing!
> 
> There are only 2 hard things in computer science: Cache invalidation, naming 
> things, and off-by-one errors.
> 
> 

Reply via email to