diff options
| author | sakumisu <[email protected]> | 2023-05-08 20:05:32 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2023-05-08 20:05:32 +0800 |
| commit | f446a7e95bb3d1e3544890a39fba4f41066654e9 (patch) | |
| tree | a11a9d09f0dba9a010ff2585e205ad8adb589e38 | |
| parent | b439be24756a30b70cb4cb13c145432d71a69571 (diff) | |
move g_dwc2_udc into no cache ram
| -rw-r--r-- | port/dwc2/usb_dc_dwc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/port/dwc2/usb_dc_dwc2.c b/port/dwc2/usb_dc_dwc2.c index 458550e3..e7d3feab 100644 --- a/port/dwc2/usb_dc_dwc2.c +++ b/port/dwc2/usb_dc_dwc2.c @@ -183,7 +183,7 @@ struct dwc2_ep_state { }; /* Driver state */ -struct dwc2_udc { +USB_NOCACHE_RAM_SECTION struct dwc2_udc { __attribute__((aligned(32))) struct usb_setup_packet setup; struct dwc2_ep_state in_ep[USB_NUM_BIDIR_ENDPOINTS]; /*!< IN endpoint parameters*/ struct dwc2_ep_state out_ep[USB_NUM_BIDIR_ENDPOINTS]; /*!< OUT endpoint parameters */ |
