Hi Chris, Here are the commands outputs: *$ newt info* *Repository info:* * * apache-mynewt-core: eb1d3ec0f486d92887586f60d87f0bb916188515, 1.6.0 (dirty: local changes)* * * apache-mynewt-nimble: 223714cb16c255cfa701929c0de6d7579bfd2cdd, 1.1.0*
*$ 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* It sounds that we're not using the same release of the newt repos... Regards. /joseph Le ven. 3 mai 2019 à 23:21, Christopher Collins <ch...@runtime.io> a écrit : > 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 > > > >