summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3525v2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h
index caae57e..b983ad7 100644
--- a/firmware/export/as3525v2.h
+++ b/firmware/export/as3525v2.h
@@ -38,7 +38,12 @@
#undef USB_NUM_ENDPOINTS
#endif
+#ifdef USB_DEVBSS_ATTR
+#undef USB_DEVBSS_ATTR
+#endif
+
#define USB_NUM_ENDPOINTS 6
+#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20))