Fixed ... GIT is some serious black-magic. I was somehow on branch 0.10.0-dev, so I reset my HEAD to origin/develop and it all worked. Can now biuild and load ble_tiny.
dg > On Oct 25, 2016, at 6:50 PM, Adam <[email protected]> wrote: > > Strangely, that specific error: "Compiler Package not specified by BSP" was > deleted from targetbuild.go in this commit: > >> git log -S"Compiler package" > commit dd715c24b20d18fd77e52c02cab1a9f860ed329f > Author: Christopher Collins <[email protected]> > Date: Wed Sep 28 16:29:24 2016 -0700 > > It had been moved from build.go earlier. That error message shouldn't even > be possible with latest develop. Very curious. > > Adam > > > On Tue, Oct 25, 2016 at 2:16 PM, David G. Simmons <[email protected]> wrote: > >> >>> On Oct 25, 2016, at 4:52 PM, Christopher Collins <[email protected]> >> wrote: >>> >>> Hi David, >>> >>> On Tue, Oct 25, 2016 at 09:41:04AM -0400, David G. Simmons wrote: >>> [...] >>>> DSimmons-Pro:newt dsimmons$ ./build.sh >>>> Building newt. This may take a minute... >>>> Successfully built executable: /Users/dsimmons/dev/go/src/myn >> ewt.apache.org/newt/newt/newt >>>> DSimmons-Pro:newt dsimmons$ /Users/dsimmons/dev/go/src/myn >> ewt.apache.org/newt/newt/newt version >>>> Apache Newt (incubating) version: 0.9.0 >>>> DSimmons-Pro:newt dsimmons$ which newt >>>> /Users/dsimmons/dev/go/bin/newt >>> >>> I think this might be the issue. The build.sh script doesn't copy the >>> newt binary to your $GOPATH/bin directory. Instead, it builds it in >>> your current directory. I would recomment not using the build.sh script >>> at all. Instead, just run "go install" from the newt/newt directory. >>> This command will put the built executable at $GOPATH/bin/newt >> >> DSimmons-Pro:mynewt.apache.org dsimmons$ cd newt/ >> DSimmons-Pro:newt dsimmons$ git branch >> * develop >> master >> >> So I'm definitely on the develop branch. >> >> I edited newtutil.go and changed >> var NewtVersionStr string = "Apache Newt (incubating) version: 1.0.0-dev" >> >> and then >> DSimmons-Pro:newt dsimmons$ go clean >> DSimmons-Pro:newt dsimmons$ go install >> DSimmons-Pro:newt dsimmons$ which newt >> /Users/dsimmons/dev/go/bin/newt >> DSimmons-Pro:newt dsimmons$ newt version >> Apache Newt (incubating) version: 1.0.0-dev >> >> So I have what should be the most recent version of newt installed. >> >> Now, from the repo in the project: >> >> DSimmons-Pro:apache-mynewt-core dsimmons$ git branch >> * develop >> master >> DSimmons-Pro:apache-mynewt-core dsimmons$ git checkout >> Your branch is up-to-date with 'origin/develop'. >> DSimmons-Pro:apache-mynewt-core dsimmons$ >> >> So my repo in the project is up to date on the develop branch. >> >> DSimmons-Pro:nrf52dk dsimmons$ newt clean nrf52_boot >> DSimmons-Pro:nrf52dk dsimmons$ newt build nrf52_boot >> Building target targets/nrf52_boot >> Error: Compiler package not specified by BSP >> DSimmons-Pro:nrf52dk dsimmons$ >> >> So there is some failure somewhere. Could be a PEBKAC, and I'm happy to >> have it pointed out to me if so. :-) >> >> dg >> >>> >>>> DSimmons-Pro:newt dsimmons$ newt version >>>> Apache Newt (incubating) version: 0.9.0 >>> >>> Yikes, this is indeed a problem. We should have updated the version >>> string immediately after releasing 0.9.0. >>> >>> Thanks, >>> Chris >> >> -- >> 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. >> >> >> -- 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.
