From 2245296c3948de8961802aa558eaadb855d11abe Mon Sep 17 00:00:00 2001 From: Alex Maclean Date: Fri, 13 Oct 2023 02:02:26 +0100 Subject: [PATCH] atsam: Remove USB endpoint header (#6365) The atsam USB hardware only requires that the ACM endpoint be endpoint 3. As of commit 11828387 the atsam chips can therefore use the default USB endpoints. This will allow CAN bridge support for the SAME70 to function (upstream host driver has hardcoded endpoints). Signed-off-by: Alex Maclean --- src/atsam/usb_cdc_ep.h | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/atsam/usb_cdc_ep.h diff --git a/src/atsam/usb_cdc_ep.h b/src/atsam/usb_cdc_ep.h deleted file mode 100644 index bcf1d3e38..000000000 --- a/src/atsam/usb_cdc_ep.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef __SAM3_USB_CDC_EP_H -#define __SAM3_USB_CDC_EP_H - -enum { - USB_CDC_EP_ACM = 3, - USB_CDC_EP_BULK_OUT = 1, - USB_CDC_EP_BULK_IN = 2, -}; - -#endif // usb_cdc_ep.h