)]}'
{
  "commit": "1371c586d731a3cedbcae4bfdf0e2110fc4d735a",
  "tree": "fc71afb54cb46e30a5dbd91326a3c6d41eafd013",
  "parents": [
    "4cdec956f7c16108a77516298a4e8de65d052fef"
  ],
  "author": {
    "name": "HiFiPhile",
    "email": "admin@hifiphile.com",
    "time": "Thu Nov 19 19:40:31 2026 +0100"
  },
  "committer": {
    "name": "HiFiPhile",
    "email": "admin@hifiphile.com",
    "time": "Thu Nov 19 20:02:41 2026 +0100"
  },
  "message": "dwc2: keep class endpoint buffers when DMA may be selected at runtime\n\nWith both CFG_TUD_DWC2_DMA_ENABLE and CFG_TUD_DWC2_SLAVE_ENABLE set, the\ndriver picks Buffer DMA or Slave mode per controller at runtime (GHWCFG2),\nbut CFG_TUD_EDPT_DEDICATED_HWFIFO followed SLAVE_ENABLE alone. Classes then\ndropped their endpoint buffers and used usbd_edpt_xfer_fifo(), which leaves\nxfer-\u003ebuffer NULL: on a DMA-capable core the endpoint DMA address became 0,\nthe core raised AHBERR and the endpoint NAKed forever (CDC write hang on\nSTM32H7S3 OTG_HS).\n\n- CFG_TUD/TUH_EDPT_DEDICATED_HWFIFO \u003d SLAVE \u0026\u0026 !DMA: a fifo transfer is only\n  allowed when no runtime mode needs a linear buffer.\n- CFG_TUSB_FIFO_HWFIFO_API follows SLAVE_ENABLE directly, so the slave path\n  keeps its hwfifo helpers; tusb_fifo.h only defaults it.\n- dcd_edpt_xfer_fifo() asserts when the controller runs Buffer DMA.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f56fb53f991b97c3e473d3f0c30bc0321733563f",
      "old_mode": 33188,
      "old_path": "src/common/tusb_fifo.h",
      "new_id": "9248f2ac3c3bc5dcf1ad24acdf034568707cc42d",
      "new_mode": 33188,
      "new_path": "src/common/tusb_fifo.h"
    },
    {
      "type": "modify",
      "old_id": "2783c90e3bd8e0bfed5cae61a984527213e1cb77",
      "old_mode": 33188,
      "old_path": "src/portable/synopsys/dwc2/dcd_dwc2.c",
      "new_id": "58221d5adda11bc52cee7fd10b3a947557b1751b",
      "new_mode": 33188,
      "new_path": "src/portable/synopsys/dwc2/dcd_dwc2.c"
    },
    {
      "type": "modify",
      "old_id": "e531f4cdbb898d939ebfac8fa194243fe7175992",
      "old_mode": 33188,
      "old_path": "src/tusb_option.h",
      "new_id": "8a246f4a3b32c4f484d04140621ff009b8c66ab4",
      "new_mode": 33188,
      "new_path": "src/tusb_option.h"
    }
  ]
}
