Hi Kevin, On Wed, May 11, 2016 at 01:32:14PM +0200, Kevin Townsend wrote: > I'm trying to document the process of creating a custom BSP based on an > existing model from apache-newt-core, and copied the model into the > local `projectroot/hw/bsp/boardname` folder, updated the `pkg.yml` file, > and modified the filenames/content accordingly. I then referenced this > BSP in the bootloader and main application target via newt. > > When I reference the local `hw/bsp/boardname` instance and then try to > build I get the following error, though: > > $ newt -v build nrf51_boot > Building target targets/nrf51_boot > panic: interface conversion: interfaces.PackageInterface is nil, not > *pkg.LocalPackage [...]
Ouch... there is clearly a bug in the newt tool. There should be no problem with creating a BSP package in the local repo. Could you send the output of 'newt target show'? I would like to see what specifically triggered this crash. I'll also look see if I have the same issues with local BSPs. Thanks, Chris
