On Thu, May 02, 2019 at 11:05:11AM +0200, joseph reveane wrote:
> Hi Chris,
> 
> I've just tried your latest fix and I still get the same error:
> 
> *Error: Two app packages in build: apps/splitty, apps/bleprph*

Huh... I am really not sure.  I believe I am using the same target as
you.  Using the two newt fixes I mentioned earlier (since merged to
master), I am able to build this target.  Here is my output:

    [ccollins@ccollins:~/proj/myproj]$ newt info
    Repository info:
        * apache-mynewt-core: 77f75d4bd389d38c3022b815e8684ff49a35ff2f, 0.0.0
        * apache-mynewt-nimble: 976bb8f84bf9547efdea444ae79a62d5a355a613, 0.0.0

    [ccollins@ccollins:~/proj/myproj]$ newt target show splitty-nrf52dk
    targets/splitty-nrf52dk
        app=@apache-mynewt-core/apps/splitty
        bsp=@apache-mynewt-core/hw/bsp/nordic_pca20020
        build_profile=optimized
        loader=@apache-mynewt-nimble/apps/bleprph
        syscfg=BLE_LL_CFG_FEAT_LE_ENCRYPTION=0:BLE_SM_LEGACY=0

    [ccollins@ccollins:~/proj/myproj]$ newt build splitty-nrf52dk
    Building target targets/splitty-nrf52dk
    [...]
    Target successfully built: targets/splitty-nrf52dk

Could you please execute the following two commands and send the output?

    newt info
    newt target show <target-name>

Thanks,
Chris

> 
> Regards.
> 
> /joseph
> 
> Le mer. 1 mai 2019 à 20:35, Christopher Collins <ch...@runtime.io> a écrit :
> 
> > Hi Joseph,
> >
> > On Mon, Apr 29, 2019 at 04:39:50PM +0200, joseph reveane wrote:
> > > Hi Chris,
> > >
> > > I've modified my app setup to point to the  nimble repo:
> > >
> > > *$ newt target show split-apptargets/split-app
> > > app=@apache-mynewt-core/apps/splitty
> > > bsp=@apache-mynewt-core/hw/bsp/nordic_pca20020
> > > build_profile=optimized    loader=@apache-mynewt-nimble/apps/bleprph
> > > syscfg=BLE_LL_CFG_FEAT_LE_ENCRYPTION=0:BLE_SM_LEGACY=0*
> > >
> > > Then I've treid to build it:
> >
> > [...]
> >
> > It seems split image support is indeed broken.  I still cannot get the
> > same error message as you, but I encountered a different error when I
> > tried using your target.
> >
> > I believe I have fixed this second issue.  The PR is here:
> > https://github.com/apache/mynewt-newt/pull/295.  Could you please give
> > it a shot and let me know if it works?
> >
> > Thanks,
> > Chris
> >

Reply via email to