move g_dwc2_udc into no cache ram

This commit is contained in:
sakumisu
2023-05-08 20:05:32 +08:00
parent b439be2475
commit f446a7e95b

View File

@@ -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 */