)]}'
{
  "commit": "42ca6d9a507a7811a45210e8c2f3166ccde31205",
  "tree": "5e0d6d7c15200c3447fc53714181a6f281484582",
  "parents": [
    "4c6ea0cd98a9be6e4c057444dd2f6c41588f1a70"
  ],
  "author": {
    "name": "Andrii Anoshyn",
    "email": "116808454+anoshyn@users.noreply.github.com",
    "time": "Thu May 21 13:41:42 2026 +0300"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu May 21 11:41:42 2026 +0100"
  },
  "message": "pico_btstack: include GATT basename in custom-target name so the same target can consume multiple .gatt files (#2951)\n\npico_btstack_make_gatt_header() built its internal custom-target name as\n\"${TARGET_LIB}_gatt_header\", which collides on the second call with the\nsame TARGET_LIB. Configure fails with:\n\n    add_custom_target cannot create target \"${TARGET_LIB}_gatt_header\"\n    because another target with the same name already exists.\n\nThis prevents a single executable / library from owning more than one\n.gatt file - exactly the use case in #2829.\n\nDisambiguate the per-invocation target name by including the .gatt\nfile\u0027s base name (already extracted into GATT_NAME a few lines above).\nGATT_BINARY_DIR and the include directory added via\ntarget_include_directories are derived from TARGET_GATT, so each .gatt\nfile also gets its own output directory.\n\nVerified by an out-of-tree consumer that calls\npico_btstack_make_gatt_header(target PRIVATE a.gatt) and again with\nb.gatt. On origin/develop, configure fails with the duplicate-target\nmessage above; on this branch, both gatt_double_a_gatt_header and\ngatt_double_b_gatt_header build successfully and produce distinct\ntest.h files containing the respective .gatt content.\n\nFixes #2829.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ce348e06c5a26cfb1e2e12cf2db1d65250448a7a",
      "old_mode": 33188,
      "old_path": "src/rp2_common/pico_btstack/CMakeLists.txt",
      "new_id": "9aa8e5ebeae44b7ee2bc62d9065134a4e6a9d37c",
      "new_mode": 33188,
      "new_path": "src/rp2_common/pico_btstack/CMakeLists.txt"
    }
  ]
}
