summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/mcxa/boards/frdmmcxa153/board.h10
-rw-r--r--hw/bsp/mcxa/family.c3
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