mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-14 04:18:56 +00:00
Button modification
This commit is contained in:
parent
7e0100408d
commit
7b780c068c
@ -37,11 +37,11 @@
|
||||
#define LED_PIN 12 // red
|
||||
#define LED_STATE_ON 0
|
||||
|
||||
// WAKE button (Dummy, use unused pin
|
||||
// #define BUTTON_GPIO GPIO1
|
||||
// #define BUTTON_CLK kCLOCK_GateGPIO1
|
||||
// #define BUTTON_PIN 7 //sw3
|
||||
// #define BUTTON_STATE_ACTIVE 0
|
||||
// ISP button (Dummy, use unused pin
|
||||
#define BUTTON_GPIO GPIO3
|
||||
#define BUTTON_CLK kCLOCK_GateGPIO3
|
||||
#define BUTTON_PIN 29 //sw2
|
||||
#define BUTTON_STATE_ACTIVE 0
|
||||
|
||||
// UART
|
||||
#define UART_DEV LPUART0
|
||||
|
@ -105,9 +105,6 @@ void board_init(void)
|
||||
/* PORT0 PIN22 configured as USB0_VBUS */
|
||||
|
||||
#if PORT_SUPPORT_DEVICE(0)
|
||||
// Port0 is Full Speed
|
||||
//CLOCK_EnableClock(kCLOCK_Usb0Ram);
|
||||
//CLOCK_EnableClock(kCLOCK_Usb0Fs);
|
||||
RESET_PeripheralReset(kUSB0_RST_SHIFT_RSTn);
|
||||
CLOCK_EnableUsbfsClock();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user