diff options
| author | Jerry Palacios <[email protected]> | 2024-02-12 09:29:10 -0600 |
|---|---|---|
| committer | Jerry Palacios <[email protected]> | 2024-02-12 09:29:10 -0600 |
| commit | 7b780c068cb7eadafd316e142bcb8e7baf0511f9 (patch) | |
| tree | a3c27200e56c0f46d633782b4916889e6429f4aa | |
| parent | 7e0100408d9ea1b0f3e8c46d69b925a66694d66a (diff) | |
Button modification
| -rw-r--r-- | hw/bsp/mcxa/boards/frdmmcxa153/board.h | 10 | ||||
| -rw-r--r-- | hw/bsp/mcxa/family.c | 3 |
2 files changed, 5 insertions, 8 deletions
diff --git a/hw/bsp/mcxa/boards/frdmmcxa153/board.h b/hw/bsp/mcxa/boards/frdmmcxa153/board.h index 8ebabb328..02a452da5 100644 --- a/hw/bsp/mcxa/boards/frdmmcxa153/board.h +++ b/hw/bsp/mcxa/boards/frdmmcxa153/board.h @@ -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 diff --git a/hw/bsp/mcxa/family.c b/hw/bsp/mcxa/family.c index 1aa364e8a..d2bc35f8c 100644 --- a/hw/bsp/mcxa/family.c +++ b/hw/bsp/mcxa/family.c @@ -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 |
