{"action":"closed","issue":{"url":"https://api.github.com/repos/apache/mynewt-core/issues/801","repository_url":"https://api.github.com/repos/apache/mynewt-core","labels_url":"https://api.github.com/repos/apache/mynewt-core/issues/801/labels{/name}","comments_url":"https://api.github.com/repos/apache/mynewt-core/issues/801/comments","events_url":"https://api.github.com/repos/apache/mynewt-core/issues/801/events","html_url":"https://github.com/apache/mynewt-core/issues/801","id":295754868,"number":801,"title":"Split status: non-matching (1) when (near?) out of memory","user":{"login":"jacobrosenthal","id":455796,"avatar_url":"https://avatars0.githubusercontent.com/u/455796?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobrosenthal","html_url":"https://github.com/jacobrosenthal","followers_url":"https://api.github.com/users/jacobrosenthal/followers","following_url":"https://api.github.com/users/jacobrosenthal/following{/other_user}","gists_url":"https://api.github.com/users/jacobrosenthal/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobrosenthal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobrosenthal/subscriptions","organizations_url":"https://api.github.com/users/jacobrosenthal/orgs","repos_url":"https://api.github.com/users/jacobrosenthal/repos","events_url":"https://api.github.com/users/jacobrosenthal/events{/privacy}","received_events_url":"https://api.github.com/users/jacobrosenthal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-09T04:55:44Z","updated_at":"2018-02-19T19:37:48Z","closed_at":"2018-02-19T19:37:48Z","author_association":"CONTRIBUTOR","body":"\r\nI keep randomly running into this and just figurd it out. When split targets are low memory on one or the other image, they can show as Split status: non-matching (1) after you test into the app\r\n\r\n```\r\n$ newt target show split-microbit\r\ntargets/split-microbit\r\n    app=@apache-mynewt-core/apps/blesplit\r\n    bsp=@apache-mynewt-core/hw/bsp/bbc_microbit\r\n    build_profile=optimized\r\n    loader=@apache-mynewt-core/apps/bleprph\r\n    syscfg=BLE_LL_CFG_FEAT_LE_ENCRYPTION=0:BLE_SM_LEGACY=0:BLE_SM_SC=0:LOG_LEVEL=255:MSYS_1_BLOCK_COUNT=19\r\n```\r\n\r\n\r\n```\r\n$ newtmgr -cnimble_blesplit image list\r\nImages:\r\n slot=0\r\n    version: 0.0.0.1\r\n    bootable: true\r\n    flags: active confirmed\r\n    hash: dced80ca9c6c18500c8035d31afb3d41c900e4de7defeaa1c27c083f13125d7c\r\n slot=1\r\n    version: 0.0.0.1\r\n    bootable: false\r\n    flags: active confirmed\r\n    hash: d04aae5bf5bc8ae495e1d59b6211600a9de983ab851be2cbe6d9c759b86d68d7\r\nSplit status: non-matching (1)\r\n```\r\n\r\nClearly it 'runs' enough to respond to an image list command, but it also doesnt think its matchin. But if I decrease block count and give some more breathing room:\r\n\r\n```\r\n$ newt target show split-microbit\r\ntargets/split-microbit\r\n    app=@apache-mynewt-core/apps/blesplit\r\n    bsp=@apache-mynewt-core/hw/bsp/bbc_microbit\r\n    build_profile=optimized\r\n    loader=@apache-mynewt-core/apps/bleprph\r\n    syscfg=BLE_LL_CFG_FEAT_LE_ENCRYPTION=0:BLE_SM_LEGACY=0:BLE_SM_SC=0:LOG_LEVEL=255:MSYS_1_BLOCK_COUNT=18\r\n```\r\n\r\n\r\n\r\n```\r\n$ newtmgr -cnimble_blesplit image list\r\nImages:\r\n slot=0\r\n    version: 0.0.0.1\r\n    bootable: true\r\n    flags: active confirmed\r\n    hash: 9ed01981c27d6aa45003a322ec4091ebcc62173a1a84e79bdbc803e5c1d9a219\r\n slot=1\r\n    version: 0.0.0.1\r\n    bootable: false\r\n    flags: active\r\n    hash: 3e74b1cd8f2e76629160cfd6f91e9ce6726f4ca289f9c8707718873911a5d148\r\nSplit status: matching (2)\r\n```\r\n\r\n\r\nMaybe a feature not a bug? Documenting here either way.\r\n"}}
{"actor":{"display_login":"jacobrosenthal"}}