atsam: Use enumerations for buses and reserve pins
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "board/irq.h" // irq_disable
|
||||
#include "board/usb_cdc.h" // usb_notify_ep0
|
||||
#include "board/usb_cdc_ep.h" // USB_CDC_EP_BULK_IN
|
||||
#include "command.h" // DECL_CONSTANT_STR
|
||||
#include "internal.h" // UDP
|
||||
#include "sched.h" // DECL_INIT
|
||||
|
||||
@@ -159,6 +160,8 @@ usb_set_configure(void)
|
||||
UDP->UDP_GLB_STAT |= UDP_GLB_STAT_CONFG;
|
||||
}
|
||||
|
||||
DECL_CONSTANT_STR("RESERVE_PINS_USB", "PB10,PB11");
|
||||
|
||||
void
|
||||
usbserial_init(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user